Page 1 of 1

Scripting command to turn syrchnonized browsing ON?

Posted: 20 Feb 2015 15:49
by aliteralmind
Is there a command for turning synchronized browsing on or off--not toggling?

Re: Scripting command to turn syrchnonized browsing ON?

Posted: 20 Feb 2015 16:19
by Filehero
I need that too.

Re: Scripting command to turn syrchnonized browsing ON?

Posted: 20 Feb 2015 17:23
by TheQwerty
Some toggle CIDs can have their current state retrieved using Get('#cid'), fortunately Sync Browse (and Sync Scroll) are already supported meaning you just have to add a tiny bit of logic to have on and off instead of toggle.

Code: Select all

"Enable Sync Browse : syncBrowseOn"
  if (! Get('#814')) {
    #814;
  }

"Disable Sync Browse : syncBrowseOff"
  if (Get('#814')) {
    #814;
  }