Re: Quark conflicting properties
Re: Quark conflicting properties
- Subject: Re: Quark conflicting properties
- From: Bill Metzinger <email@hidden>
- Date: Sun, 14 Dec 2003 18:46:24 -0500
Well, I guess I just joined the ranks of the unsubscribable if that's a
word.
I hadn't received any digest for a while so I caught up to this thread
on the web archive.
Then I resubscribed.
Begin forwarded message:
>
> ... in the case of bounds, [they] are mostly useless
>
>
Shane,
>
What do you have against image bounds?
>
They're just another yeoman property making a living.
>
I guess you don't care about polygon points of picture boxes either?
Besides for trying to be funny, I was hinting at doing things like this
with the image bounds.
tell application "QuarkXPress"
tell document 1
set horizontal measure to points
set vertical measure to points
tell page 1
set border to 50
set px to bounds of image 1 of picture box 1
set bd to bounds of picture box 1 as list
set x to (item 4 of bd) as text
set x to (characters 1 thru -4 of x) as text
set y to (item 2 of bd) as text
set y to (characters 1 thru -4 of y) as text
set z to (item 3 of px)
set myscale to ((x) - (y) - 2 * border) / (z) * 100
set scale of image 1 of picture box 1 to {myscale, myscale}
set offset of image 1 of picture box 1 to {0, border}
end tell
end tell
end tell
} He is not pining, he's passed on...
_______________________________________________
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.