Re: how can an application's AS dictionary be wrong ?
Re: how can an application's AS dictionary be wrong ?
- Subject: Re: how can an application's AS dictionary be wrong ?
- From: Jon Pugh <email@hidden>
- Date: Fri, 07 May 2004 15:19:27 -0700
At 4:18 PM -0400 5/7/04, Steven Majewski wrote:
>
The question is when there is a mismatch between the syntax that the Script Editor shows as the
>
dictionary ( and what 'check syntax' checks ) and the syntax that the application actually accepts --
>
where *IS* this mismatch?
>
>
Is this a mismatch between comments/documentation and the raw dictionary data structs,
>
or is it a mismatch between the static data structs and how they are used in the program ?
You can't tell. Errors come from mismatches, where things aren't described as implemented, or aren't implemented as described. All you know is that the dictionary is wrong.
The dictionary is used by AppleScript to define terms and codes. You don't see the codes, but they're another potential source of error, as they have to match the implementation. For wrong codes, you can often use the chevron notation to use the correct codes, if you know what they are.
Trying to deduce ways around the error is a guessing game. It is only really workable if you have access to the source or a developer.
Good luck.
Jon
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.