• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag
 

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: System Events (was Re: Frontmost)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

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>)
 >Re: 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>)

  • Prev by Date: Re: Nice Automator article on O'Reilly
  • Next by Date: Re: Nice Automator article on O'Reilly
  • Previous by thread: Re: System Events (was Re: Frontmost)
  • Next by thread: Re: System Events (was Re: Frontmost)
  • Index(es):
    • Date
    • Thread