Re: How do you get two scripts to communicate?
Re: How do you get two scripts to communicate?
- Subject: Re: How do you get two scripts to communicate?
- From: Christopher Nebel <email@hidden>
- Date: Thu, 1 Jan 2004 16:43:37 -0800
On Jan 1, 2004, at 3:07 PM, Andrew Oliver wrote:
The primary issue is that AppleScript doesn't save application
references by name but by application signature. This is how you can
write a script that targets, say, "BBEdit" and it will still work on
someone else's machine whether the actual installed app is called
"BBEdit 7", "BBEdit 7.0", or "BBEdit" - the script is storing a
reference to the application's signature
so the name isn't needed.
Right, sort of. It actually stores an alias *and* the application
signature; the signature is used as a fallback if the alias won't
resolve.
Unfortunately for you, all AppleScript applications will have the same
signature (unless you've taken steps to use your own application
signature), so your comm.scpt will actually target any (almost random)
AppleScript application on your machine.
Wrong. AppleScript knows about this case, and won't use the signature,
just the alias and the name.
--Chris Nebel
AppleScript Engineering
_______________________________________________
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.