• 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: ScriptEditor thinks my command is a variable
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: ScriptEditor thinks my command is a variable


  • Subject: Re: ScriptEditor thinks my command is a variable
  • From: Steve Evangelou <email@hidden>
  • Date: Fri, 13 Apr 2007 14:28:24 -0700

"Scripting Interface Guidelines" contains a list of AppleScript's reserved words:

http://developer.apple.com/technotes/tn2002/tn2106.html

"AppleScript Terminology and Apple Event Codes Reference" lists many scripting terms that are currently in use, along with their four- character codes:

http://developer.apple.com/releasenotes/AppleScript/ ASTerminology_AppleEventCodes/TermsAndCodes.html

Steve

On Apr 13, 2007, at 12:02 PM, Lee Ann Rucker wrote:

The three obviousities are:
- IIRC 'start' is already used for the first item of a collection
("set insertion mark to start of first paragraph"). AppleScript is
chronically incapable of resolving ambiguous terms correctly.

I did try giving it a different name that was unlikely to be used elsewhere but that didn't help. Though what would help would be a simple list somewhere in the doc of words that, if not actually reserved, are inadvisable to use.

_______________________________________________

Cocoa-dev mailing list (email@hidden)

Do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Prev by Date: Re: Sorting Array Alphabetically
  • Next by Date: Re: Sorting Array Alphabetically
  • Previous by thread: Re: ScriptEditor thinks my command is a variable
  • Next by thread: initWithWindowNibName returns null window
  • Index(es):
    • Date
    • Thread