• 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: ScriptMaster XT? v1.1
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: ScriptMaster XT? v1.1


  • Subject: Re: ScriptMaster XT? v1.1
  • From: Shane Stanley <email@hidden>
  • Date: Sun, 28 Jan 2001 16:16:20 +1100

On 28/1/01 1:22 AM +1000, W. Eric Schult, email@hidden, wrote:

> Can anyone speak with knowledge about ScriptMaster XT 1.1 and a possible
> bug with the "group boxes" command when used with Quark 4.1? My iBook
> crashes every time I try any syntax that includes this command.

No, but I can say (a) if you're scripting, you should be using QXP 4.11, and
(b) ScriptMaster produces scripts that won't run anywhere else, so IMO you'd
be much better served without it.
>
> Alternately, maybe someone can suggest a workaround for me. I'm trying to
> fit a Quark page to the elements on that page so I can EPS the page at an
> appropriate size. My intended approach had been to group every generic box
> on the page, change the coordinates of the group to the top, left-most edge
> of the page, and then resize the page to match the dimensions of the grouped
> elements.

As it is, you don't need to group the boxes -- just selecting them all makes
them behave partly like a group for scripting purposes. So to do what you
want:

tell application "QuarkXPress 4.11"
tell document 1
set selected of every generic box of page 1 to true
set {a, b, c, d} to bounds of current box as list
set origin of bounds of current box to {0, 0}
set page height to (c as real) - (a as real)
set page width to (d as real) - (b as real)
end tell
end tell



--
Shane Stanley, email@hidden


References: 
 >ScriptMaster XT? v1.1 (From: "W. Eric Schult" <email@hidden>)

  • Prev by Date: Re: possible to script attaching folder actions
  • Next by Date: Re: R23's Osaxen Rant (or much too much ado about nihil)
  • Previous by thread: ScriptMaster XT? v1.1
  • Next by thread: Re: scripts won't compile since 9.1
  • Index(es):
    • Date
    • Thread