I'm looking for a way to get a list that contains the title of the frontmost window and the time it became the frontmost window in OSX. I guess applescript won't be able to listen for the event that a different window became the frontmost window. How could I tackle this problem?
Asked
Active
Viewed 248 times
1
-
Across all applications? – jscs Feb 09 '13 at 20:17
-
Yes, do you think that is doable? – Blasmo Feb 09 '13 at 20:28
-
possible duplicate of [Get a list of opened windows cocoa](http://stackoverflow.com/questions/2134605/get-a-list-of-opened-windows-cocoa). See Peter Hosey's answer, – CodaFi Feb 09 '13 at 21:19
-
At best, this would be a hack on top of the Accessibility APIs. – ipmcc Feb 10 '13 at 17:38