Copy link to clipboard
Copied
Hi
I´m looking for app events but did not find any method that is able to reset the filters set in the Filters panel.
Suppose the Filters panel has checked some options (like to see only green label photos and 2 stars). I want to clear all filters and see all files in the folder. So I can continue my scripts task.
Can you confirm if this kind of "reset Filters panel" can scriptable??
Thank you a lot
Gustavo
I don't know of a direct way of resting the filters, but as a work-around you could go up a folder then back to the original folder, this will reset the filters I.E.
var existingPath = Folder(app.document.presentationPath);
app.document.thumbnail = Folder(app.document.presentationPath).parent;
app.document.thumbnail = existingPath;
Copy link to clipboard
Copied
I don't know of a direct way of resting the filters, but as a work-around you could go up a folder then back to the original folder, this will reset the filters I.E.
var existingPath = Folder(app.document.presentationPath);
app.document.thumbnail = Folder(app.document.presentationPath).parent;
app.document.thumbnail = existingPath;
Copy link to clipboard
Copied
Thank you Paul (as ever)
This would solve the problem.
Best Regards
Gustavo.