Sunday, November 27, 2022

#1 2003-04-13 04:04:34 pm

Ray Barber
Site Admin
From:: Lake Dallas, Texas
Registered: 2002-11-20
Posts: 352

Who's on first?

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

Ray Barber
Admin | MacScripter

Filed under: System



Board footer

Powered by FluxBB

RSS (new topics) RSS (active topics)