Thursday, February 23, 2017

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

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

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

Applescript:

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

Offline

 

Board footer

Powered by FluxBB

[ Generated in 0.109 seconds, 11 queries executed ]

RSS (new topics) RSS (active topics)