Re: Call a handler from applescript
Re: Call a handler from applescript
- Subject: Re: Call a handler from applescript
- From: John Adam Bloom <email@hidden>
- Date: Fri, 30 Jan 2004 20:43:38 -0600
From: Yan Won
1) created a new applescript studio application in XCode called
"test2".
2) placed the following code in test2.applescript:
on my_signal(txt)
display dialog txt
return 0
end my_signal
Dontcha need to:
on my_signal(txt)
tell application "System Events"
display dialog txt
return 0
end tell
end my_signal
???
Or you could make your "test2.app" capable of displaying dialogs/sheets
;-)
HTH,
JB
John Adam Bloom
Systems Consultant
Apple Certified Technical Coordinator
Certified Member- Apple Consultants Network
Member- Project Management Institute
email@hidden
homepage.mac.com/jambomac
SMS: email@hidden
(847) 668-2221
_______________________________________________
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.