Call a handler from applescript
Call a handler from applescript
- Subject: Call a handler from applescript
- From: Yan Wong <email@hidden>
- Date: Fri, 30 Jan 2004 13:05:59 +0000
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.
Thanks
Yan
_______________________________________________
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.