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

Re: Scripting Quark 5.01 from Jaguar


  • Subject: Re: Scripting Quark 5.01 from Jaguar
  • From: Dave Glass <email@hidden>
  • Date: Thu, 05 Sep 2002 13:29:29 -0700

On 9/5/02 12:06, "Kevin Dolan" <email@hidden> wrote:

> Hello everyone,
>
> I am trying to create a script that runs in OS X (10.2) and accesses
> "Classic" applications. The script is started by dropping a folder into a
> folder which has an "on adding folder items" action attached. I've found a
> way of dealing with the fonts for the classic environment but in getting the
> properties from a Quark document I receive what appears to be class
> problems. For example, if I say:
>
> tell document 1
> set docWidth to {page width}
> end tell
>
> it will return: {<<data FXHM03060000>>}
>
> Does anyone know what the problem may be or is anyone trying to script
> classic apps in X?
>

I believe you have to explicitly coerce these measurements. From an earlier
post by Shane Stanley:

QuarkXPress's built-in coercions don't work properly in OS X; you have to
explicitly coerce using the coerce command:

set x to bounds
set x to coerce x to list
set theTop to coerce (item 1 of x) to real

Dave Glass
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: 
 >Scripting Quark 5.01 from Jaguar (From: Kevin Dolan <email@hidden>)

  • Prev by Date: Re: (no subject)
  • Next by Date: Problem saving stay-open applet
  • Previous by thread: Scripting Quark 5.01 from Jaguar
  • Next by thread: Re: Scripting Quark 5.01 from Jaguar
  • Index(es):
    • Date
    • Thread