Scripting command to turn syrchnonized browsing ON?

Please check the FAQ (https://www.xyplorer.com/faq.php) before posting a question...
Post Reply
aliteralmind
Posts: 261
Joined: 02 Dec 2014 16:49

Scripting command to turn syrchnonized browsing ON?

Post by aliteralmind »

Is there a command for turning synchronized browsing on or off--not toggling?
Windows 8.1, 64-bit

Filehero
Posts: 2645
Joined: 27 Feb 2012 18:50
Location: Windows 10 Pro x64

Re: Scripting command to turn syrchnonized browsing ON?

Post by Filehero »

I need that too.

TheQwerty
Posts: 4373
Joined: 03 Aug 2007 22:30

Re: Scripting command to turn syrchnonized browsing ON?

Post 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;
  }

Post Reply