Hi all,
I often use visual filter to search files in big folders, but once I have seen if the files are there or not, I don't need the filter anymore.
So, is it possible to make a Catalog script that would prompt and activate a Visual Filter for, say, 5 seconds and automatically switch it off?
Visual Filter with Timeout
Re: Visual Filter with Timeout
I can give you the draft, and you can boost it for your need.
Code: Select all
"Quick VF"
//quicksearch by visualfilter
filter input("Enter the search string");
$c=get("CountItems");
wait 5000;
filter;
status $c . " item(s) has been found.";
-
- Posts: 91
- Joined: 19 Mar 2008 18:15
Re: Visual Filter with Timeout
Thank you!
For some reasons I often find it hard starting scripts from scratch, but I usually manage to tweak existing ones.
Here's a modified version that remember what tab to unfilter (if we change tab in the meantime):
For some reasons I often find it hard starting scripts from scratch, but I usually manage to tweak existing ones.
Here's a modified version that remember what tab to unfilter (if we change tab in the meantime):
Code: Select all
"Quick VF"
//quicksearch by visualfilter
$t = tab( "filter", input("Enter: ") );
wait 5000;
tab( "filter",,$t );