• 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
Trying to mount a list of images in quark...
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Trying to mount a list of images in quark...


  • Subject: Trying to mount a list of images in quark...
  • From: Stefan Eriksson <email@hidden>
  • Date: Fri, 6 May 2005 22:11:37 +0200

Hello !

Trying to figuring out how to mount a series of images (as a list) into Quark 6.1, got a bit on the way but can figure out why this script fails... when running the script with one image it works just fine, when adding one more to the list it returns an error and unmount the image on the first page...(?!)

Anyone got a clue ?

Best regards, Stefan

-- set completepath to {"PB G4 Ster:Users:stefan:Pictures:050502:IMG_6965.JPG"} -- Works fine with one image
set completepath to {"PB G4 Ster:Users:stefan:Pictures:050502:IMG_6965.JPG", "PB G4 Ster:Users:stefan:Pictures:050502:IMG_6966.JPG"} -- Does not work so fine.... =(

repeat with i from 1 to (length of completepath)


set pathen to item i of completepath


pathen, i)


end repeat

to thePath, exportnumber)


-- First picture ? If yes create a new document
if exportnumber = 1 then
tell application "QuarkXPress Passport"
activate
make document with properties {bounds:{0.0, 0.0, 210, 297}}
end tell
end if


-- Mount the images...
tell application "QuarkXPress Passport"


activate
tell document 1
set lastPage to count of pages
show page lastPage
make picture box at beginning with properties {bounds:{12.7, 12.7, 136, 195}}
tell picture box 1 of page lastPage
set image 1 to (thePath) as alias
set bounds of image 1 to proportional fit
end tell
make page at end
end tell
end tell


end MountImage


 _______________________________________________
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

  • Follow-Ups:
    • Re: Trying to mount a list of images in quark...
      • From: Hans Haesler <email@hidden>
  • Prev by Date: Re: How to use the "Find" command in Tiger Finder?
  • Next by Date: Re: move all files also with no extension via shell command
  • Previous by thread: Re: Use of 'path to ... folder creation
  • Next by thread: Re: Trying to mount a list of images in quark...
  • Index(es):
    • Date
    • Thread