Copy Last 10 Modified or Created Macros

Is there a way to get the names of the last 10 created or modified macros? I would like to display these in a window to make sure I am working from the latest version of macros that I have worked on. I sync macros through dropbox (was using icloud but it didn't update very fast) and sometimes it doesn't update and I want to quickly be reminded of the latest macros I have worked on and if I don't see the last date these were worked on then I will know they haven't been updated. I'll make one macro to grab this information and store it in a Global Variable and then another macro to display the results from the global variable. That way I can see that it was yesterday's date and time and know I am up to date.

If someone has a better suggestion for this I am all ears. I have just lost too much work with syncing, not realizing I wasn't up to date, though Keyboard Maestro has saved my tail so many times with all the options of reverting and restoring, so thank you very much for that!

You may want to read this page which seems to give the answer.

Thanks @Airy I am trying to pull the names of the last 10 created macros to display in a separate window. I do use that sort fuction all the time. I don't see any info that shows when those macros were created so that data is hidden away somewhere behind the scenes or I am just not seeing it.

I thought you just wanted to know the names of the 10 most recently edited macros (you said, "Is there a way to get the names of the last 10 created or modified macros?") But now that I've re-read your message, you also want to see the exact dates/times that these macros were edited.

I can't see any way to display that information from within the KM Editor, but KM is a powerful language that will let you import its own plist file containing all your macros and then you can fetch the name and data for each macro, sort them, and display the ten most recent ones with their dates.

There are people on this forum who are very skilled at reading the KM plist file, so I hope one of them chimes in, because I've never done that. In fact, it might already have been done. You may want to search this site for an existing macro solution.

Thanks for pointing the ship in the right direction.