• 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
Name of Active Process
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Name of Active Process


  • Subject: Name of Active Process
  • From: David Andrews <email@hidden>
  • Date: Tue, 15 Jun 2004 23:32:29 -0400

I have a script that runs in the background, but needs to activate
another background process and then return to whatever was running
before the interruption.

How do I get the name of an active Process?

...
set myProcess to ... --> the name of the process to be interrupted
tell application "RealOne Player" to activate -- got to activate this
for System Events to work
tell application "System Events"
tell process "RealOne Player"
click menu item "Zoom Window" of menu "Window" of menu bar item
"Window" of menu bar 1
end tell
end tell
tell application myProcess to activate -- return to the process that
was interrupted
...

Thanks

David
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.


  • Follow-Ups:
    • Re: Name of Active Process
      • From: Joseph Weaks <email@hidden>
    • Re: Name of Active Process
      • From: Graff <email@hidden>
  • Prev by Date: Can't make remote AppleEvents work
  • Next by Date: Re: Can't make remote AppleEvents work
  • Previous by thread: Re: Can't make remote AppleEvents work
  • Next by thread: Re: Name of Active Process
  • Index(es):
    • Date
    • Thread