The native app switcher orders the apps based on chronological focus. This ordering is useful to me for a script, but I'm not sure where this ordering information is stored.
Is there a way to get the app switcher list or something similar directly from terminal or applescript? Or a way to investigate where it might be?
I tried to search for this, but all of the results were about hiding apps from the switcher.