Skip to main content
Inspiring
April 29, 2013
Answered

Clear all filters set in Filters panel. Scriptable?

  • April 29, 2013
  • 1 reply
  • 670 views

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

This topic has been closed for replies.
Correct answer Paul Riggott

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;

1 reply

Paul Riggott
Paul RiggottCorrect answer
Inspiring
April 29, 2013

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;

Inspiring
April 30, 2013

Thank you Paul (as ever)

This would solve the problem.

Best Regards

Gustavo.