• 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: tell to a process by id
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: tell to a process by id


  • Subject: Re: tell to a process by id
  • From: Christopher Nebel <email@hidden>
  • Date: Fri, 20 May 2011 13:36:49 -0700

On May 20, 2011, at 5:34 AM, Leonid Bogdanov wrote:

> Can I send AppleEvents not to an app by its name ("Finder", "System Events", etc.), but to an app process by its ID?  So, for example, I can have two different instance of one app (launched via "open") and I can talk to them independently.

Bundle identifier (or even four-byte signature), yes, but process ID, no.  Scripting Bridge can do that, though, if you don't mind using Python or Ruby instead of AppleScript.


--Chris Nebel
AppleScript Engineering

 _______________________________________________
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/archives/applescript-users

This email sent to email@hidden

References: 
 >tell to a process by id (From: Leonid Bogdanov <email@hidden>)

  • Prev by Date: Re: tell app, name in string var
  • Next by Date: Re: tell app, name in string var
  • Previous by thread: tell to a process by id
  • Next by thread: Re: tell to a process by id
  • Index(es):
    • Date
    • Thread