Re: Strange "on open" error
Re: Strange "on open" error
- Subject: Re: Strange "on open" error
- From: Shane Stanley <email@hidden>
- Date: Mon, 12 Jan 2009 09:16:36 +1100
- Thread-topic: Strange "on open" error
On 11/1/09 10:14 PM, "Ken Tozier" <email@hidden> wrote:
> It is perfectly reasonable to expect scripts to be able to query an
> application and know how to handle any result data.
>
I'm not sure what "reasonableness" has to do with things -- it just doesn't
happen.
> If they can't handle the results, they should load any required dictionaries
> so that they do know how to handle them.
>
But they can handle the results; you've just misinterpreted the error in
this case.
Your problem with «data FXHM00000C00» in QuarkXPress is an entirely
different issue -- it's an issue with an internal QXP coercion failing.
Forcing a dictionary load would make no difference. It's actually to do with
mixing processor environments, hence using a bundle solved it.
Not loading dictionaries does have one side-effect: you need to avoid trying
to coerce an application's terminology to text. But that's not the issue
here.
--
Shane Stanley <email@hidden>
AppleScript Pro Florida, April 2009 <http://scriptingmatters.com/aspro>
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden