Page 1 of 1

Script to toggle "visual filter by selection" ON/OFF?

Posted: 13 Sep 2013 07:24
by ghost zero
Can anyone make me a script to toggle "visual filter by selection" ON/OFF? I want to make a toolbar button for it.

Re: Script to toggle "visual filter by selection" ON/OFF?

Posted: 13 Sep 2013 12:34
by highend

Code: Select all

#359;

Re: Script to toggle "visual filter by selection" ON/OFF?

Posted: 14 Sep 2013 10:19
by kiwichick
Or if you'd rather have an actual script for it:

Code: Select all

"View selected items (toggle)"
//Toggle between Selected items and All items
   $tab= tab("get","term");
   IF($tab Like "*|*") {
   filter;
   }
   ELSE{
   filter '"' . getinfo("SelectedItemsNames", """|""") . '"';
   }