• 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: script QXP
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: script QXP


  • Subject: Re: script QXP
  • From: Hans Haesler <email@hidden>
  • Date: Tue, 26 Dec 2000 20:55:03 +0100

On Tue, 26 Dec 2000, Helmut Pfeiffer wrote:

>But my great problem is: how can i place the 32 EPS-files (named "Seite_01"
>to "Seite-32", the 32 EPS-files are stored in one Folder on a Server) with
>the same script automatically on the right place (on Page 1 i have to place
>"Seite_01" and "Seite_32", on Page 2 "Seite_02" and "Seite_31" and so on)???
>
>I have no idea, how to get this in the repeat with n

Hello Helmut,

try to insert the following ideas in your loop:
---
tell document 1 of application "QuarkXPress 4.11"
set numPict to 33
repeat with n from 1 to 16
if n < 10 then
set img1 to "Bildserver:EPS_Ordner:Seite_0" & n
else
set img1 to "Bildserver:EPS_Ordner:Seite_" & n
end if
set img2 to "Bildserver:EPS_Ordner:Seite_" & (numPict - n)
tell page n
set image 1 of picture box 2 to alias img1
set image 1 of picture box 1 to alias img2
end tell
end repeat
end tell
---

HTH,

Hans

---
Hans Haesler | email@hidden


References: 
 >script QXP (From: Helmut Pfeiffer <email@hidden>)

  • Prev by Date: Re: applescript-users digest, Vol 2 #162 - 15 msgs
  • Next by Date: RE: script QXP
  • Previous by thread: script QXP
  • Next by thread: RE: script QXP
  • Index(es):
    • Date
    • Thread