Open the Most Recently Added File in Finder Folder

Is there a way to have Keyboard Maestro look at the most recently added file in a specific folder in the Finder and open that file?

Sure is:

Open Most Recently Added File in Specified Folder.kmmacros (1.9 KB)
image

Just change the ~/Downloads directory path to the one you want and you should be good to go.

2 Likes

This is awesome, I should have asked this a long time ago. There are a couple places I can think of that I will use this daily. I have been making an alias and as of Mojave it breaks alias across multiple machines.

tell application "Finder"
  activate
  open file "Planning" of folder "Dropbox" of folder "myuser" of folder "Users" of startup disk
end tell

Thank you!

2 Likes