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
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