Re: quarkxpress
Re: quarkxpress
- Subject: Re: quarkxpress
- From: Rick Norman <email@hidden>
- Date: Fri, 24 May 2002 15:18:05 -0500
This is how I import the pix. I'm sure that one of the gurus out there can
do it with less, which I would be very interested in seeing. (I've got to
figure out how to keep the lines from wrapping incorrectly so that it
appears as it should in the editor.)
tell application "QuarkXPress 4.1"
activate
set properties of default document 1 to {page height:"11\"", page
width:"8.5\"", facing pages:false}
set properties of default document 1 to {top margin:"0\"", left
margin:"0\"", bottom margin:"0\"", right margin:"0\""}
set properties of default document 1 to {column count:1, gutter
width:"0.167\"", automatic text box:false}
make new document at beginning
tell document 1
set view scale to fit page in window
end tell
tell page 1 of document 1
make picture box at beginning with properties {bounds:{"-0.125\"",
"-0.125\"", "4.403\"", "6.153\""}}
set color to "none"
try
import file "Hard Drive Name:Folder Name:File Name.tif" to
picture box 1 of spread 1 of document 1
on error
set image 1 to (choose file with prompt "Select file")
end try
set angle of image 1 of picture box 1 of spread 1 of document 1 to
"00"
set scale of image 1 of picture box 1 of spread 1 of document 1 to
{"100%", "100%"}
set offset of image 1 of picture box 1 of spread 1 of document 1 to
{"-0.125\"", "-0.125\""}
end tell
end tell
>
From: "Marichal, Patrick" <email@hidden>
>
Date: Fri, 24 May 2002 15:12:03 -0400
>
To: "AppleScript List
>
(email@hidden)"<email@hidden>
>
Subject: quarkxpress
>
>
Excellent, I like AppleScript, but I'm a novice.
>
Now, I want to put 4 pictures in the 4 pictures boxes that I create in my
>
document 1
>
How do I?
>
>
Is there an Quark Xtension, that can help me to do some script, and where
>
can I download it, if it's exist
>
THANKS
>
>
TT
>
-------oooo-- \:/ --oooo------
>
Patrick Marichal
>
Tech. Support Informatique
>
La Presse Ltie.
>
@: 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.
_______________________________________________
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.
References: | |
| >quarkxpress (From: "Maréchal, Patrick" <email@hidden>) |