RE: script QXP
RE: script QXP
- Subject: RE: script QXP
- From: Jason Toews <email@hidden>
- Date: Wed, 27 Dec 2000 08:36:20 -0800
>
Hans Haesler wrote:
>
>
> 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
>
>
Jason Toews wrote:
>
>
> set image 1 of picture box 1 of page pageNum to alias topImagePath
>
> set image 1 of picture box 2 of page pageNum to alias
>
>
>
Guys,
>
>
Neither of these examples of syntax works for me...
>
---------------------------------------------------------------
Samuel ~ The snippet below is an abbreviated excerpt from a script that I
use on a daily basis. I've left out the repeat loop, the definition of
variables, etc. to make it clearer. This syntax definitely works for me.
There is no Scripting Addition or Quark XT necessary for this process.
====================================
tell application "QuarkXPress 4.11"
tell document docName
tell page pageNum
--below is all one line
make new picture box at beginning with properties {name:hbName,
content:picture content, bounds:hbBounds, frame:{color:frameColor,
width:frameWidth}}
--above is all one line
tell picture box hbName
set image 1 to alias headerPath
end tell
end tell
end tell
end tell
====================================
HTH,
Jason