About those Quark coercion bugs (was Need to script tracking inmultiple Quark files-correction)
About those Quark coercion bugs (was Need to script tracking inmultiple Quark files-correction)
- Subject: About those Quark coercion bugs (was Need to script tracking inmultiple Quark files-correction)
- From: "Ethan Rips" <email@hidden>
- Date: Wed, 29 Oct 2003 12:31:15 -0500
- Priority: normal
Bill<
At long last, I got an activation code from Quark. I can run your script
examples with Quark 6, no problem (sound of sweat being wiped from brow).
For more about the raw apple events, see Ray Robertson's comments in the
thread "Quark 6 coercion bugs in Panther" on macscripter.net. Here are some
workarounds suggested by Ray:
For Quark 6, the workaround is use of Quark's own "coerce" command
explicitly as follows:
set boxTop to coerce boxTop to real
-->>240.405349731445
set boxTop to coerce boxTop to string
-->>"240.405 pt"
For Quark 4 & 5, the solution is to (a) launch one's script editor in
Classic & save scripts as Classic scripts, or (b) the workaround above. I'll
start trying these after lunch.
What a planet...
Thank you very much for your help.
Ethan
On 10/27/03 8:59 PM, "Bill Metzinger" <email@hidden> wrote:
>
Ethan,
>
This just in. I hope some of it will end your madness (and mine).
>
>
from Script Editor 2.0b in 10.2.6:
>
return size of story 1 of text box 1 of page 1 of document 1
>
--> +data F_FN000C0000;
>
>
from Script Editor 1.7 in classic:
>
return size of story 1 of text box 1 of page 1 of document 1
>
--> "12 pt"
>
>
from Script Editor 2.0b in 10.2.6:
>
return size of story 1 of text box 1 of page 1 of document 1 as text
>
--> "12 pt"
>
>
Don't ask.
>
Get out of classic and move on, even if you have to drag your boss with
>
you.
>
Bill
DISCLAIMER:
The information contained in this e-mail may be confidential and is intended solely for the use of the named addressee. Access, copying or re-use of the e-mail or any information contained therein by any other person is not authorized. If you are not the intended recipient please notify us immediately by returning the e-mail to the originator.(A)
_______________________________________________
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.