• 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: Error Scripting Quark 4.11 in Jaguar
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Error Scripting Quark 4.11 in Jaguar


  • Subject: Re: Error Scripting Quark 4.11 in Jaguar
  • From: Shane Stanley <email@hidden>
  • Date: Wed, 14 Jan 2004 21:25:07 +1100

On Jan 14, 2004, at 8:00 PM, Rick Gordon wrote:

I am getting a strange error when putting together a script for QuarkXPress 4.11, using Script Editor 1.9 in OS 10.2.6.

When I try to reference the scale of an image (for instance, as shown below) using SE 1.9, an error is generated, and the result for scale is listed as "current application". If I run the same script from 9.2.2 Classic, using SE 1.7, there is no error, and the scale is properly represented as a list of two percentages.

tell picture box 1
copy ((scale of image 1) as list) to theScale
end tell

What's up here?

The coercions don't wrk automatically when scripting Classic QXP from OS X. Either use a Classic script editor and save as classic applets, or be explicit about your coercions:

tell picture box 1
set theScale to scale of image 1
set theScale to coerce theScale to list
end tell

--
Shane Stanley <email@hidden>
_______________________________________________
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.

References: 
 >Error Scripting Quark 4.11 in Jaguar (From: Rick Gordon <email@hidden>)

  • Prev by Date: UI Scripting - Pastor.app
  • Next by Date: Re: Acrobat bounds...
  • Previous by thread: Error Scripting Quark 4.11 in Jaguar
  • Next by thread: RE: Error Scripting Quark 4.11 in Jaguar
  • Index(es):
    • Date
    • Thread