Re: Setting the bounds of a QuarkXPress picture box
Re: Setting the bounds of a QuarkXPress picture box
- Subject: Re: Setting the bounds of a QuarkXPress picture box
- From: MÁTYÁS Ferenc Farkas <email@hidden>
- Date: Mon, 27 Jun 2005 13:25:55 +0200
bounds of the image, but I do not see how to resize the image box
based on
that info.
afaik quark needs the measurements as string, so "10 cm" and not 10
there a horizontal and vertical measurement property in document
class to set also.
you can find the Apple Events Scripting pdf in Document folder of app
folder. here is an example from the pdf:
—-CREATE FIRST PICTURE BOX
tell page 1 of layout 1
make picture box at beginning with properties
{bounds:{“10.386 cm”, “20.758 cm”, “27.636 cm”, “33.508 cm”},
color:”None”}
tell picture box 1
set rotation to -25
try
set image 1 to alias (thepath & “Shirts.TIFF”)
on error
set image 1 to (choose file with prompt "Please select the
file"\”Shirts.TIFF.\”” of type {“TIFF”})
end try
tell image 1
set scale to {115, 115}
end tell
end tell
end tell
Script Writing Sample
--
Regards,
MÁTYÁS Ferenc Farkas
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden