How to select the last file in selected folder?

Hello, i'm new user of keyboeard maestro and i need your help please. I would like to select the last file in selected folder and copy the tittle of this file, someone can help me ? Thank's

This macro will copy the name of the alphabetically last file in the Finder-selected folder to the clipboard:

[demo] Copy Name of “Last” File in Selected Folder to Clipboard.kmmacros (3.6 KB)

If you rather want to get the last file by modification date (or any other criterion), you can set this in the popup menu of the second action:


Thank's a lot for your help, i will try this now :slight_smile: