Weeeeellll, think of it as your own application's public API or AppleScript Dictionary.
FYI, when doing this between macs, it can be a SERIOUS PAIN figuring out the right syntax and having to authenticate to each machine on a compile.
This fixes that:
tell application "Finder" of machine myMac using terms from application "Finder" -- or your AS app restart end using terms from end tell
If you do not use a "using terms from" clause, the command you are trying to execute will generate a syntax error.
Will experiment with bonjour and DNS entries next.
On Nov 22, 2010, at 4:24 PM, Robert Poland wrote: Hi,
This makes me wonder if there is any advantage to;
Make an application consisting of only handlers. With the idea of using these handlers by many other applications?
On Nov 22, 2010, at 3:10 PM, Luther Fuller wrote: On Nov 22, 2010, at 2:31 PM, Alex Zavatone wrote: Well, well,
tell application "Hi()" Hi() end tell
Sometimes AppleScript is way too easy.
You should also be aware of doing it this way ...
launch application someAppl tell application someAppl to someHandler()
where someAppl is the path to an AppleScripted application as colon delimited text. The application does not need to be running and 'launch application' does not run it.
Robert Poland - Fort Collins, CO
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
|