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.
[solved] Where is the script help documentation ?
-
lian00
- Posts: 429
- Joined: 09 Jul 2014 17:12
[solved] Where is the script help documentation ?
Last edited by lian00 on 21 Sep 2015 16:15, edited 1 time in total.
Windows 10 64 bits
-
LittleBiG
- Posts: 1848
- Joined: 08 Apr 2011 12:57
- Location: Win10x64
Re: Where is the script help documentation ?
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";-
admin
- Site Admin
- Posts: 66631
- Joined: 22 May 2004 16:48
- Location: Win8.1, Win10, Win11, all @100%
- Contact:
Re: Where is the script help documentation ?
This is the gateway to online documentation:
http://www.xyplorer.com/features.php
http://www.xyplorer.com/features.php
FAQ | XY News RSS | XY X
-
FluxTorpedoe
- Posts: 906
- Joined: 05 Oct 2011 13:15
Re: Where is the script help documentation ?
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:
This method works with pretty much everything that can be accessed via scripting in XYplorer! (with a few exceptions)
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;• Scripts: Session Manager
| SlideShow | Collection Manager | Power Launcher | Akelpad syntax highlighting | ...
-
lian00
- Posts: 429
- Joined: 09 Jul 2014 17:12
Re: Where is the script help documentation ?
Thanks for all answers ! Specially to Flux Torpedoes: the commands list will be very useful and I did not know the trick.
Windows 10 64 bits
XYplorer Beta Club