Search found 32 matches

by fogg
07 Jul 2017 17:48
Forum: Tips & Tricks, Questions & Answers
Topic: Toggle floating preview script help
Replies: 21
Views: 4147

Re: Toggle floating preview script help

Thank you!!! My script is now like this - It's works beautifully!!! $ITEMS = quicksearch("/nf /types=png;jpg", , "|"); foreach ($ITEM, $ITEMS) { // walk thru each item on the $ITEMS list selectitems($ITEM, 2); // select $ITEM. unlike sel, selectitems can select by full path if (g...
by fogg
07 Jul 2017 14:58
Forum: Tips & Tricks, Questions & Answers
Topic: Toggle floating preview script help
Replies: 21
Views: 4147

Re: Toggle floating preview script help

Hello, what is pattern for includeing *.jpg scans for floating preview?
by fogg
06 Jul 2017 11:56
Forum: Tips & Tricks, Questions & Answers
Topic: Toggle floating preview script help
Replies: 21
Views: 4147

Re: Toggle floating preview script help

$ITEMS = listpane(, "*.png", 1); // |-separated list of only pdf files in list. foreach ($ITEM, $ITEMS) { // walk thru each item on the $ITEMS list selectitems($ITEM, 2); // select $ITEM. unlike sel, selectitems can select by full path if (get("#178")==0) { #178; } // open FP. g...
by fogg
06 Jul 2017 11:28
Forum: Tips & Tricks, Questions & Answers
Topic: Toggle floating preview script help
Replies: 21
Views: 4147

Re: Toggle floating preview script help

Thank you everyone!! Well, select one file and floating preview and open this file in notepad. I'm not exactly sure what's the purpose of the script: opening the same file in the FP and notepad? What does this accomplish? :eh: Actually script is not full complete. I am wanting to view 1 png and open...
by fogg
06 Jul 2017 08:26
Forum: Tips & Tricks, Questions & Answers
Topic: Toggle floating preview script help
Replies: 21
Views: 4147

Re: Toggle floating preview script help

Also i want help to automactic count number of files? Now I write $NUMBER=56 when 56 files and other number for other files. I wish like this:

Code: Select all

$NUMBER=count("files");
???
by fogg
06 Jul 2017 08:21
Forum: Tips & Tricks, Questions & Answers
Topic: Toggle floating preview script help
Replies: 21
Views: 4147

Re: Toggle floating preview script help

Thank you too!!! :kidding: :kidding: :kidding: This script also work. I use your script now.
SammaySarkar wrote: I've moved the topic...

got me mildly panicking a bit there! I was typing a response and submitted only to get ~"the topic does not exist".
BUt i didnot move the topic!
by fogg
05 Jul 2017 16:12
Forum: Tips & Tricks, Questions & Answers
Topic: Toggle floating preview script help
Replies: 21
Views: 4147

Re: Toggle floating preview script help

Thankyou!!! :biggrin: :biggrin: Now it is my script. All ok! $state = get("#178"); if($state==1){ #178; // it is floating preview code at help | list all commands} $NUMBER = 56; $LOOP = 0; while($LOOP < $NUMBER){ $LOOP++; sel $LOOP; run "notepad <curitem>",,1,1; } $state = get(&q...
by fogg
05 Jul 2017 15:53
Forum: Tips & Tricks, Questions & Answers
Topic: Toggle floating preview script help
Replies: 21
Views: 4147

Re: scripting floating preview bug

It is my script

Code: Select all

$NUMBER = 56;
 $LOOP = 0;
 while($LOOP < $NUMBER){
  $LOOP++;
  sel  $LOOP;
  #178; // it is floating preview code at help | list all commands
  run "notepad <curitem>",,1,1;
 }
I run script with Menu >Script >Run Script
by fogg
05 Jul 2017 15:44
Forum: Tips & Tricks, Questions & Answers
Topic: Toggle floating preview script help
Replies: 21
Views: 4147

Toggle floating preview script help

Hello! I am running the floating preview in my script but floating preview closes after each one time!

My script is select one file and floating preview and open this file in notepad. And again select the next file when I exit the notepad.
by fogg
24 Feb 2016 12:29
Forum: Wishes
Topic: change variable with step
Replies: 24
Views: 3875

Re: change variable with step

Thanks you all for suggestions. But it is annoying and i Still wish this works!
PeterH wrote: I'm sure that both would make life better for "Scripters in Debugging Mode" :ugeek:
Its my opinion also. :D
by fogg
22 Feb 2016 20:11
Forum: Wishes
Topic: change variable with step
Replies: 24
Views: 3875

Re: change variable with step

You actually can change global and permanent variables while the stepping dialog is active but the new value will not be used in the command that is currently being stepped. ::global $a = 'hello';step;echo $a;echo $a; While the stepping dialog is waiting on you start XY again but use the /script pa...
by fogg
22 Feb 2016 20:06
Forum: Wishes
Topic: change variable with step
Replies: 24
Views: 3875

Re: change variable with step

Thank to TheQwerty. I did not see your text. I will try your advise.
by fogg
22 Feb 2016 20:04
Forum: Wishes
Topic: change variable with step
Replies: 24
Views: 3875

Re: change variable with step

But I see little trouble in very large script. And if changing a variable this time allows me to keep running this script. Other wise I have to again start at the beginnning again. ?
by fogg
22 Feb 2016 19:39
Forum: Wishes
Topic: change variable with step
Replies: 24
Views: 3875

change variable with step

Hello ! :kidding: I am trying to write some scripts in xyplorer and when I use "Try Script" option and see mistakes. But I cannot fix variables by editing in "Variables On Stack" . I hope xyplorer has this ability. Thank you! :idea:
by fogg
22 Feb 2016 19:32
Forum: Wishes
Topic: feature request: Favorites hierarchy
Replies: 14
Views: 5270

Re: feature request: Favorites hierarchy

I will also like to see this function! :o