I am trying to get a list of recently applied applications. NSWorkspacereturns a list of active applications, and I can sort them by several parameters with NSRunningApplication. see list below:
- launchDate
- finishedLaunching
- processIdentifier
I do not need a launch date, but the most recent "active" date (for example, path cmd- tab). Does anyone know a solution for this?
source
share