Re: Handler trouble
Re: Handler trouble
- Subject: Re: Handler trouble
- From: Ben Waldie <email@hidden>
- Date: Tue, 20 May 2003 08:12:30 -0400
Matayas,
On Tuesday, May 20, 2003, at 04:37 AM, Matyas Ferenc Farkas wrote:
I have a problem with handlers, when put a tell app "" in there.
--
tell application "Finder"
set x to 2
set y to 3
theHandler(x, y)
end tell
to theHandler(x, y)
display dialog (x as string) & y as string
end theHandler
--
What modification has to be done to work correctly?
Try adding an "of me" when you call a handler from within an
application tell block.
theHandler(x, y) of me
- Ben
Benjamin S. Waldie
Automated Workflows, LLC
=============================================
AppleScript and Workflow Automation
Consulting - <
http://www.automatedworkflows.com>
AppleScript Info - <
http://www.applescriptguru.com>
AppleScript Training - <
http://www.applescripttraining.com>
=============================================
_______________________________________________
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.