• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag
 

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Change Character
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >Re: Change Character (From: Kim Hunter <email@hidden>)

  • Prev by Date: Classic environment startup/shutdown
  • Next by Date: Re: Classic environment startup/shutdown
  • Previous by thread: Re: Change Character
  • Next by thread: Re: Change Character
  • Index(es):
    • Date
    • Thread