Re: a little puzzled, quark script
Re: a little puzzled, quark script
- Subject: Re: a little puzzled, quark script
- From: Hans Haesler <email@hidden>
- Date: Sun, 16 Feb 2003 12:08:14 +0100
On Sat, 15 Feb 2003, Vince Jelenic wrote:
>
I am just a little puzzled by these results.
[snip]
>
can anyone verify this to be the case on their system also?
Hi Vince,
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"}
However, while this shortened (you don't need: 'get', 'the', 'as list')
command for vertical guides works fine...
---
name of every vertical guide
---
... it throws an error when you change 'vertical' to 'horizontal'.
Getting the positions works fine:
---
position of every horizontal guide
-->{"256.95 pt", "262.35 pt"}
BTW, what are you naming the guides for? Have you ever tried to _use_
this name property?
---
tell document 1 of application "QuarkXPress 5.01"
tell page 1
tell vertical guide "VGr2"
position
end tell
end tell
end tell
--> error message
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.
---
Hans Haesler <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.