How to select the next file using script

Please check the FAQ (https://www.xyplorer.com/faq.php) before posting a question...
Post Reply
huhiha
Posts: 26
Joined: 11 Oct 2018 04:35

How to select the next file using script

Post by huhiha »

How to select the next file in the pane using script?
i.e. Do the same thing as pressing the down arrow.

klownboy
Posts: 4139
Joined: 28 Feb 2012 19:27

Re: How to select the next file using script

Post by klownboy »

try sel "+1" Select item 1 position after current; note the quotes (else +1 evaluates to 1)! For information go to SC "sel" in the Help under scripting commands.
Windows 11, 22H2 Build 22621.1555 at 100% 2560x1440

huhiha
Posts: 26
Joined: 11 Oct 2018 04:35

Re: How to select the next file using script

Post by huhiha »

Thanks! That's what I'm looking for.

Post Reply