Re: ScriptEditor thinks my command is a variable
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