Re: Change Character
Re: Change Character
- Subject: Re: Change Character
- From: Neil Faiman <email@hidden>
- Date: Sun, 5 Jun 2005 07:38:48 -0400
On Jun 5, 2005, at 6:16 AM, Kim Hunter wrote:
Thankyou \
Solved every thing
What is the deal with the My bit
When you call a handler in a TELL block, AppleScript tries to send
the call to the TELL target, which doesn't know anything about your
handlers. Saying "my RemoveColons" (or "tell me to set FinalSTR to
RemoveColons") sends the call to your script, which does know what to
do with it.
(It's easy to remember that only the Finder knows about Finder
commands, so they need a 'tell app "Finder"', and that only PhotoShop
knows about PhotoShop commands, so they need to be in a 'tell app
"PhotoShop"'; it's harder to remember that within a TELL block,
commands go *only* to the told application, and that our script's
handlers are also commands that only it knows.)
Regards,
Neil Faiman
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden