Mailing Lists: Apple Mailing Lists
Image of Mac OS face in stamp
Re: System Events (was Re: Frontmost)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: System Events (was Re: Frontmost)



OK, you win. But the following does not work from the Script Menu. Note that I'm in MacOS X 10.3.9.


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

H.
_______________________________________________
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


References: 
 >XMLRPC Apple Event --- Sending base64 data (From: Rajeev Kumar <email@hidden>)
 >Frontmost (From: Hudson Barton <email@hidden>)
 >Re: Frontmost (From: Hudson Barton <email@hidden>)
 >System Events (was Re: Frontmost) (From: Hudson Barton <email@hidden>)
 >Re: System Events (was Re: Frontmost) (From: Daniel Jalkut <email@hidden>)
 >Re: System Events (was Re: Frontmost) (From: Hudson Barton <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2011 Apple Inc. All rights reserved.