Page 1 of 1

Simple script for Sync select

Posted: 01 Mar 2013 16:36
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?

Re: Simple script for Sync select

Posted: 01 Mar 2013 16:49
by highend
Just add a
focus "PI";
to your list of commands?

Re: Simple script for Sync select

Posted: 01 Mar 2013 16:54
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.

Re: Simple script for Sync select

Posted: 01 Mar 2013 17:12
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: