Jump to content

Opening newest file in a folder

Recommended Posts

I'm a little perplexed at the best way (or any way actually) to do this. I'd like to have a workflow that opens the newest file in a set folder automatically. I have a workflow that opens said folder, but the reality is 99.9% of the time when I go to this folder (multiple times a day), what I am looking for is the newest file. How can I open a specific file if I don't know the file name in advance?

Link to post

You can grab RecentDownloads (disclaimer: I wrote it) and go into the top Script Filter and change the directory listed on the second line of code. Instead of ${HOME}/Downloads, change to whatever your target directory is. That still won’t automatically open the most recent file, but it’ll list everything on that directory with the newest thing on top.

Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Create New...