Sunday, December 4, 2022

#1 2007-03-03 11:41:20 pm

Kevin Bradley
From:: Independence, MO
Registered: 2006-03-13
Posts: 548

Getting the name of the front application

3 little lines to return the frontmost running app in 10.2.5 From the AppleScript Users List

OS version: OS X


tell application "System Events"
item 1 of (get name of processes whose frontmost is true)
end tell

Nitewing '98
I distrust morning people, largely because I suspect them of getting together early one day while the rest of us were asleep and setting up the rules of civilization.

Filed under: System



Board footer

Powered by FluxBB

RSS (new topics) RSS (active topics)