Getting front app
Getting front app
- Subject: Getting front app
- From: Phil Calvert <email@hidden>
- Date: Tue, 31 Jul 2001 08:05:12 -0700
Hi List,
I'm trying to get the finder to tell me what application is at the front
(and is not a faceless background app). This is what I came up with.
tell application "Finder"
set ActiveApp to name of front application process whose visible is true
end tell
I'm launching it from a F-key. At first, I thought this was working but I
now notice that it only works with some applications but not others. Is
there a better way I can tell the faceless background apps from the regular
ones?
TIA,
Phil
(Using and ibook and system 9.1)