• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: quarkxpress
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

  • Follow-Ups:
    • Re: quarkxpress
      • From: Hans Haesler <email@hidden>
References: 
 >quarkxpress (From: "Maréchal, Patrick" <email@hidden>)

  • Prev by Date: Re: Checking whether a website has loaded completely
  • Next by Date: fanning out
  • Previous by thread: quarkxpress
  • Next by thread: Re: quarkxpress
  • Index(es):
    • Date
    • Thread