• 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
Assigning Quark color spec - Tiger->Leopard
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Assigning Quark color spec - Tiger->Leopard


  • Subject: Assigning Quark color spec - Tiger->Leopard
  • From: email@hidden
  • Date: Thu, 8 Jan 2009 11:28:40 -0500

Using Quark 7.3 and 7.5 under OS X 10.4.11, this code works fine:

tell application "QuarkXPress"
make new document at beginning
tell document 1
set cs to color spec "Yellow"
tell page 1
make new text box at beginning with properties {bounds:{"0", "0", "11\"", "8.5\""}}
tell text box 1
set width of frame to 2.0
set color of frame to cs
end tell
end tell
end tell
end tell

It produces a text box with a yellow frame.

Under 10.5.5 (in fact 10.5.x I think) the same code produces the message "QuarkXPress got an error: Unknown object type." with "set color of frame to cs" highlighted.

If I split that line in two:

tell text box 1
set f to frame
set color of f to cs
end tell

No error message appears but the color of the frame remains unchanged. Has anyone experienced this or produced a work-around?

Thanks very much...

- Dan

 _______________________________________________
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

  • Follow-Ups:
    • Re: Assigning Quark color spec - Tiger->Leopard
      • From: Eric C Saunders <email@hidden>
  • Prev by Date: Re: count pages in PDF on OS 10.4
  • Next by Date: Converting Tiff's to PDF
  • Previous by thread: transmit session not found error in applescript
  • Next by thread: Re: Assigning Quark color spec - Tiger->Leopard
  • Index(es):
    • Date
    • Thread