Re: so what's going on here?
Re: so what's going on here?
- Subject: Re: so what's going on here?
- From: Bill Briggs <email@hidden>
- Date: Tue, 20 Feb 2007 06:58:09 -0400
Title: Re: so what's going on here?
At 6:38 PM -0800 2/19/07, Paul Berkowitz wrote:
On 2/19/07 6:23 PM,
"Bill Briggs" <email@hidden> wrote:
And it gets more strange. If you exclude System Events
specifically by filtering to get application processes whose
background only is false (and System Events has a background only that
is true), then Script Editor pops up as the frontmost application, no
matter what application is frontmost.
What exactly was your code for that test? I can't replicate
that.
tell application "System Events"
set testList to the name
of every application
process
whose background
only
is false
-- the above line filters out
System Events
repeat
with i from 1 to
count
of
testList
set apName to
(get item i
of
testList)
if frontmost of
application process
apName
is true then
set fMost to
apName
else
end if
end
repeat
end
tell
display dialog fMost
This tells me Script Editor is the frontmost application when,
for example, Eudora is frontmost. But only from the Scripts menu. Not
from TypeIt4Me or FastScripts. FastScripts gets it right, whether it's
iCal, Eudora, whatever.
- web
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/mailman//archives/applescript-users
This email sent to email@hidden