Page 1 of 1

[solved] Where is the script help documentation ?

Posted: 21 Sep 2015 14:27
by lian00
Hello,
with the new site, I'm not able to find simple newbie documentation about scripting in XYplorer. Where is is now - and same for the forum, could not find it.

And what I'm looking for: I use goto ?*test* to show list of files in a directory and I wanted to list them automatically in thumbnail view - ooch, I have some idea but just waiting for the answers before.

Re: Where is the script help documentation ?

Posted: 21 Sep 2015 14:52
by LittleBiG
lian00 wrote:And what I'm looking for: I use goto ?*test* to show list of files in a directory and I wanted to list them automatically in thumbnail view - ooch, I have some idea but just waiting for the answers before.

Code: Select all

goto ?test; button "viewthumbs";

Re: Where is the script help documentation ?

Posted: 21 Sep 2015 15:12
by admin
This is the gateway to online documentation:
http://www.xyplorer.com/features.php

Re: Where is the script help documentation ?

Posted: 21 Sep 2015 15:12
by FluxTorpedoe
Another approach —a little more complex but more versatile— is to use the command #number of the view you’d like to use.

E.g. to switch to middle-size Thumbnails:
Menu "Help" > "List All Commands…" > Type "thumb" in the bottom-left filter bar, which will filter the list to all entries containing "thumb" > Notice that e.g. "Thumbnails #2" can be called by number #307. So you just write it in your script:

Code: Select all

goto ?test; #307;
This method works with pretty much everything that can be accessed via scripting in XYplorer! (with a few exceptions)

Re: Where is the script help documentation ?

Posted: 21 Sep 2015 16:14
by lian00
Thanks for all answers ! Specially to Flux Torpedoes: the commands list will be very useful and I did not know the trick.