I have an "on the Web" folder on my Desktop where I collect links (actually .webloc files) to specific web pages. When I drag a URL from my Safari window onto the folder, Safari automatically creates a webloc file with a filename of its choosing (often the page title).
Most of the time, I want to modify or replace Safari's automatic file name. So I've created a Keyboard Maestro keyboard shortcut to open my "on the Web" folder.
To avoid having to press the Keyboard Maestro trigger key each time, I'd like to have Hazel to respond to a new webloc file by (1) opening the "on the Web" folder and (2) selecting the new file. After several failed attempts (including a Hazel rule opening 2000+ webpages in Safari), I'm here asking for advice.
The main problem is finding a Hazel condition that detects the newly created webloc file.
If I can do that, Hazel can "Do the following to the matched file or folder:"
"Show in Finder" + "Bring to front"
-- Ward