Simple script for Sync select

Please check the FAQ (https://www.xyplorer.com/faq.php) before posting a question...
Post Reply
Flora_RMC
Posts: 296
Joined: 28 Dec 2012 09:50
Location: Windows 10 home 1909 - monitor 100% standard (1366x768)

Simple script for Sync select

Post by Flora_RMC »

I found help in the Help :wink: for my first basic script with the 'sync' command (it's for an UB). All works well, but I am unable to find a way to 'select items on both panes' (just like the check box in the Sync Select dialog).

At the moment I reach my goal repeting the same script twice, with different argument:

Code: Select all

sync( , , 1, , ); sync( , , 1, , 1);
This, however, switchs the original focus to the other Pane. Is there a better way to achive the both-panes selection?

highend
Posts: 15016
Joined: 06 Feb 2011 00:33
Location: Win Server 2022 @100%

Re: Simple script for Sync select

Post by highend »

Just add a
focus "PI";
to your list of commands?
One of my scripts helped you out? Please donate via Paypal

Marco
Posts: 2354
Joined: 27 Jun 2011 15:20

Re: Simple script for Sync select

Post by Marco »

Flora_RMC wrote:This, however, switchs the original focus to the other Pane. Is there a better way to achive the both-panes selection?
This is the same behaviour of "select item on both panes" in Sync Select, btw.
Tag Backup - SimpleUpdater - XYplorer Messenger - The Unofficial XYplorer Archive - Everything in XYplorer
Don sees all [cit. from viewtopic.php?p=124094#p124094]

Flora_RMC
Posts: 296
Joined: 28 Dec 2012 09:50
Location: Windows 10 home 1909 - monitor 100% standard (1366x768)

Re: Simple script for Sync select

Post by Flora_RMC »

Oh, thank you Highend! I'll try this :kidding:
Marco wrote:This is the same behaviour of "select item on both panes" in Sync Select, btw.
OMG, you're absolutely right! Can you believe I didn't notice it? Sorry... :oops:

Post Reply