• 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: 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


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