• 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: Strange "on open" error
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

References: 
 >Re: Strange "on open" error (From: Ken Tozier <email@hidden>)

  • Prev by Date: Re: Numbers '08
  • Next by Date: Re: Script to remove AUGD from Subject
  • Previous by thread: Re: Strange "on open" error
  • Next by thread: Script works in Script Editor but crashed when run stand alone
  • Index(es):
    • Date
    • Thread