Re: Quark 6 affects on AppleScript
Re: Quark 6 affects on AppleScript
- Subject: Re: Quark 6 affects on AppleScript
- From: Ethan Rips <email@hidden>
- Date: Tue, 04 Nov 2003 13:51:44 -0500
Marc
Since several (mis)behaviors are described in the thread, I'll try to
address the ones I know about.
1. Having Quark 6 open still seems to cause a reversal of the horizontal &
vertical bounds of Tex-Edit Plus documents on my Mac (G4/800GHz/80GB HD/OS
10.2.8/1 GB RAM). This occurred with Tex-Edit Plus 4.5.1 & now with 4.5.2.
2. Attempts to access text properties in Quark 5 or 6 result in weird
characters in chevrons as mentioned below. Ray Robertson has provided a
workaround in a thread on macscripter.net from which I'll quote:
***
>
The coercion bugs scripting Quark from OSX to Classic,
>
which were fixed in Quark 6/Jaguar, are now back with
>
Quark 6/Panther. As before, the workaround is to
>
explicitly use Quark's own "coerce" command.
>
>
Code:
>
>
tell application "QuarkXPress"
>
tell front document
>
>
set boxBounds to bounds of current box as list
>
-->>{+data FXVM00F067C5;, +data FXHM00480000;,
>
+data FXVM0190A01A;, +data FXHM00EFEDC8;}
>
>
set boxTop to top of bounds of current box
>
-->>+data FXVM00F067C5;
>
>
set boxTop to top of bounds as real
>
-->>errors
>
>
set boxTop to top of bounds as point units
>
-->>errors
>
>
------------------
>
--examples of what works
>
>
set boxTop to coerce boxTop to real
>
-->>240.405349731445
>
>
set boxTop to coerce boxTop to string
>
-->>"240.405 pt"
>
>
end tell
>
end tell
>
>
>
Quark is aware of the problem, which has broken some of
>
the bundled scripts.
***
I'm not sure how to answer your question as to the seriousness of these
bugsI imagine that depends on what any given scripter is trying to do.
There's a workaround for the second, but I've seen no information whatever
about the first. I find them annoying, but not show stoppers.
[Going off topic for a moment] Far more serious in my mind, as a manager of
typesetters, is another Quark 6 bug which causes a document to jump out of
view when a user switches between 100% & 200% views. For typesetters, that
is a show stopper.
HTH,
Ethan
On 11/4/03 1:17 PM, "Marc Rubin" <email@hidden> wrote:
>
>
this astonishing thread just went away.
>
i believe this is the last post.
>
>
does this behavior exist?
>
if so, why isn't it a serious problem,
>
and what's to do about it?
>
>
>
>
>
>
"Ethan Rips"
>
<email@hidden> To:
>
<email@hidden>
>
Sent by: cc:
>
applescript-users-admin@lists Subject: Re: Quark
>
6 affects on AppleScript
>
.apple.com
>
>
>
10/27/2003 09:50 AM
>
>
>
>
>
>
>
On 10/26/03 12:39 PM, Buzz Hill <email@hidden> wrote:
>
>
> This is a simple script to tile my windows 2-up vertically in the Finder
>
>
>
[SNIP]
>
>
> It works correctly, but when I have Quark 6 running, the bounds
>
> parameters get rearranged and the windows tile horizontally.
>
>
>
[SNIP]
>
>
> This suggest to me, that Quark 6 is altering the System at some low
>
> level, which, I believe, would be a violation of Apple's programming
>
> guidelines.
>
>
>
> I am wondering if others are experiencing this problem.
>
>
Buzz<
>
>
I'm not seeing this in Quark (although I am getting weird characters in
>
chevrons when trying to access text properties via a script), but I've
>
noticed that having Quark 6 open seems to cause documents in Tex-Edit Plus
>
to swap their horizontal & vertical bounds. More fun...
>
>
So adding another query to yours, has anyone seen this effect on Tex-Edit
>
Plus (or other apps)?
>
>
Thanks.
>
>
Ethan
>
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.
_______________________________________________
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.