• 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: Kevin Dolan <email@hidden>
  • Date: Fri, 06 Sep 2002 08:47:53 -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?



>>On 9/5/02 1:30,"Dave Glass" <email@hidden> wrote:

>>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

Thank you for your response, it seems to work great (many extra lines of
code just to get the data, but I'll take it any way I can). Can't wait for
Quark to get with the future and create at least a carbon compliant app
(hopefully it won't take them another couple of years).
I try to read all of the posts, but must have missed that one. I do
wonder about the list etiquette or rules for responding to questions. I
often see a question that sounds interesting but never see a response. Is
that because responses go directly to the individuals and not posted to the
list for everyone to share?

Kevin Dolan
IT/R&D Dept.
Pixxon Imaging Studios
2055 Bryant Street
San Francisco, CA 94110


Jaguar--Live the dream!!!
_______________________________________________
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.

  • Follow-Ups:
    • Re: Scripting Quark 5.01 from Jaguar
      • From: Dave Balderstone <email@hidden>
    • Re: Scripting Quark 5.01 from Jaguar
      • From: email@hidden (Michael Sullivan)
  • Prev by Date: Re: Path to system folder
  • Next by Date: Re: Script Editor 1.9 issues
  • Previous by thread: Re: Scripting Quark 5.01 from Jaguar
  • Next by thread: Re: Scripting Quark 5.01 from Jaguar
  • Index(es):
    • Date
    • Thread