• 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: Quark Bounds Not Working Like it did
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Quark Bounds Not Working Like it did


  • Subject: Re: Quark Bounds Not Working Like it did
  • From: "email@hidden" <email@hidden>
  • Date: Wed, 16 Dec 2009 09:17:59 -0800

Is this the line that errors?
>        set {y1, x1, y2, x2} to (bounds of vBoxRef as list)

Quark may confused by your command, thinking you want the bounds of {vBoxRef}

Moving the parens makes it clear you want the bounds coerced into a list.

Try this:
> set {y1, x1, y2, x2} to (bounds of vBoxRef) as list

If that doesn't work try this:

set boxBounds to the bounds of vBoxRef
set boxBounds to boxBounds as list
set {y1, x1, y2, x2} to boxBounds

I haven't scripted Quark for a while but I know that bounds can be kind of tricky.

If you were to do this command:

log class of vboxRef

It wouldn't return 'list', which is what you need, but instead something like 'measurements rectangle'.



HTH,

ES _______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users

This email sent to email@hidden

References: 
 >Quark Bounds Not Working Like it did (From: Jason Bourque <email@hidden>)

  • Prev by Date: copy a package with do Shell Script
  • Next by Date: Re: copy a package with Do Shell Script
  • Previous by thread: Quark Bounds Not Working Like it did
  • Next by thread: Missing something obvious
  • Index(es):
    • Date
    • Thread