Re: tell to a process by id
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