Friday, July 20, 2018

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

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

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

Applescript:

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


Ray Barber
Admin | MacScripter


Filed under: System

Offline

 

Board footer

Powered by FluxBB

RSS (new topics) RSS (active topics)