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: 4481
Joined: 28 Feb 2012 19:27
Location: Windows 11, 25H2 Build 26200.8737 at 100% 2560x1440

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.

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