recentpopularlog in

handcoding : focused   3

How can I get the active (focused) window in OSX? - Stack Overflow
(This looks potentially promising for getting the current window title?)
“I'm not exactly sure how I would approach this, but I did a small amount of research and it seems that you can use AppleScript to get the current window title and then compare that to the expected window title of Terminal.”
applescript  stackoverflow  mac  focused  osx  macos  2019 
march 2019 by handcoding
AppleScript get active Application - Ask Different
It’s hard to say whether the AppleScript here will work to detect windows of menubar apps, but perhaps it might?
applescript  mac  osx  macos  2019  focused 
march 2019 by handcoding
Applescript - Get status of windows ( Visible or in the dock ) - Stack Overflow
While the advice here doesn’t necessarily seem directly actionable, perhaps this may offer some leads for detecting the process of the focused window?
applescript  stackoverflow  2019  focused 
march 2019 by handcoding

Copy this bookmark:

to read