Dynamically change opening app according to file folder When I double-click, for example, a pdf file which is in the Desktop folder, I'd like it to be opened with Acrobat Reader.

However, if the file is in any other folder, e.g. Downloads, I'd like it to be opened with Preview.

Is that possible? Perhaps through an Automator script?
I created the following APP with Automator and select it as the default APP to open PDF files.