Re: a little puzzled, quark script
Re: a little puzzled, quark script
- Subject: Re: a little puzzled, quark script
- From: "Vince Jelenic" <email@hidden>
- Date: Sun, 16 Feb 2003 19:30:53 -0500
>
From: Hans Haesler <email@hidden>
>
Subject: Re: a little puzzled, quark script
>
>
>
>
this isn't an OS issue. I verified it under Mac OS 9.2.1. and got
>
the same result:
>
-->{name of every horizontal guide of page 1 of document 1 of page 1 of
>
document 1 of application "QuarkXPress 5.01"}
thanks muchly for the confirmation.
kinda awkward to have to still shuffle between os's and applescript
versions to find if there might be causes for errors beyond the normal.
>
>
>
BTW, what are you naming the guides for? Have you ever tried to _use_
>
this name property?
yes have, as in create grid of 16 items on quark page, 4 by 4 grid, with
special spacing between gridlines, using guides to user guidance when
making modifications to the page later.
i then use the names of the guides to indicate positions and sizes for
generic boxes which will fit .
i find it sometimes quicker to create a named guide grid on a page and
then populate page with say 100 boxes using the guide names, rather than
carrying around references to page size calculations required to determine
placement of boxes.
i.e. snap together a quick grid, call your guides by special names.
now you can easily get the "position" of your guides to populate bounds
for boxes.
it has also come in handy when modifying pages in auto mode (ie.e you can
easily let a user delete all your 'named" boxes in one swoop, and
re-calculate a page grid given a different number of items.
in general, comes in very handy when utilizing any form of grid where you
have hundreds of boxes on a quark page (as in many catalogue pages i have
flowed from databases in past) .
In fact, doing that right now. cheers.
>
>
Last tip: look at the properties. The names show up as 'object
>
reference'(!)
>
when you address the vertical guides...
>
---
>
tell document 1 of application "QuarkXPress 5.01"
>
tell page 1
>
set vGuideProps to properties of every vertical guide
>
end tell
>
end tell
>
---
>
... but are missing in the properties of horizontal guides.
>
nice detective work, guess i hadn't dug far enough.....
quark aete dictionary bug, simple as that.
not the first time that the quark aete has been found incomplete.
Quark 4.0 had a mess on it's hands, and I initially fixed this for our
office by simply copying/pasting the AETE resources from
quark 3.32r into quark 4 until quark finally fixed it in version 4.1.
(scary weeks that one...... a very "unsupported" move.)
_______________________________________________
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.