Re: Call a handler from applescript
Re: Call a handler from applescript
- Subject: Re: Call a handler from applescript
- From: Walter Ian Kaye <email@hidden>
- Date: Fri, 30 Jan 2004 05:27:07 -0800
At 01:05p +0000 01/30/2004, Yan Wong didst inscribe upon an electronic papyrus:
A pretty basic question, but I'm new to applescript programming.
How, from the outside, can I call a handler in an scriptable AS
Studio application.
In other words, I have an Applescript application called "Signal" containing
on my_signal(txt)
display dialog txt
end my_signal
Which I place in /Applications. I wish to run another applescript
that does something like
tell application "Signal"
my_signal("hello")
end tell
I imagined that this was what the "call method" function did, but
that doesn't work either. I'm sure I'm just missing something
obvious.
Hmm. It works for "regular" applets made by Script Editor.
Maybe AS Studio apps require a different technique?
-boo
who finds PB about 3 orders of magnitude too unfriendly to bother with.
_______________________________________________
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.