• 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: Thomas Engelmeier <email@hidden>
  • Date: Fri, 13 Apr 2007 13:13:02 +0200


Am 13.04.2007 um 00:29 schrieb Lee Ann Rucker:

Maybe I'm missing something obvious here - I've googled every variation of AppleScript and Cocoa I can think of - but if it's some kind of caching issue I have no idea how to clear it.

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.
- There is already a "standard" term that pretty much expresses your command: "run" - just make sure you use the same FourCC like (e.g.) ScriptEditor
- Try the applescript-implementors list, there are many brave souls who managed to get their app scriptable (against many odds ;-)


And speaking of AETE / sdef Applescript caching issues - deleting all application instances with the obsolete sdef and then a logout / relogin seems to be the only way to get the ScriptEditor cache nuked. I'd also recommend ScriptDebugger, it's "Object Model Explorer" is an invaluable timesaver to see if you got an complete complex object model right...
_______________________________________________


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


  • Follow-Ups:
    • Re: ScriptEditor thinks my command is a variable
      • From: Lee Ann Rucker <email@hidden>
References: 
 >ScriptEditor thinks my command is a variable (From: Lee Ann Rucker <email@hidden>)

  • Prev by Date: Re: hey, who's enabling my window's close button?
  • Next by Date: Re: Getting the context of a context menu
  • Previous by thread: ScriptEditor thinks my command is a variable
  • Next by thread: Re: ScriptEditor thinks my command is a variable
  • Index(es):
    • Date
    • Thread