Re: System Events (was Re: Frontmost)
Re: System Events (was Re: Frontmost)
- Subject: Re: System Events (was Re: Frontmost)
- From: Hudson Barton <email@hidden>
- Date: Thu, 5 May 2005 14:19:14 -0400
Title: Re: System Events (was Re:
Frontmost)
OK. Here's more info.
I have now discovered that it is the idle handler of a stay-open
script application that makes the "frontmost"
work. In the absence of that specific condition,
"frontmost" will not work from the script menu.
Weird.
Thanks in advance for helping me with this debugging
process.
H.
At 10:46 AM -0700 5/5/05, Daniel Jalkut wrote:
I'm not sure why the other script would
work if run by a different script. Is the other script a
compiled application script?
Daniel
On May 5, 2005, at 9:10 AM, Hudson Barton
wrote:
tell
application "System Events"
set devant to (name of every process whose frontmost is true and
visible is true and name is not "System Events") as
string
end
tell
tell
application "Finder" to activate application
"iCal"
tell
application "System Events"
set frontmost of process devant to true
end
tell
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden