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

Re: Assigning Quark color spec - Tiger->Leopard


  • Subject: Re: Assigning Quark color spec - Tiger->Leopard
  • From: Eric C Saunders <email@hidden>
  • Date: Thu, 8 Jan 2009 11:41:21 -0500


Dan,

Change
> set cs to color spec "Yellow"
to
set cs to "Yellow"

--or--

remove
> set cs to color spec "Yellow"

and change
> set color of frame to cs
to
set color of frame to "Yellow"

HTH
Eric Saunders

On 01/08/2009 at 11:28:40 AM Daniel.Turney wrote:

> 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:
> email@hidden
> Archives:
http://lists.apple.com/archives/applescript-users
>
> This email sent to email@hidden
This electronic message contains information from MeadWestvaco Corporation or
subsidiary companies, which may be confidential, privileged or otherwise protected
from disclosure. The information is intended to be used solely by the recipient(s)
named. If you are not an intended recipient, be aware that any review, disclosure,
copying, distribution or use of this transmission or its contents is prohibited. If you
have received this transmission in error, please notify MeadWestvaco immediately
at email@hidden.
 _______________________________________________
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: 
 >Assigning Quark color spec - Tiger->Leopard (From: email@hidden)

  • Prev by Date: Converting Tiff's to PDF
  • Next by Date: Re: Assigning Quark color spec - Tiger->Leopard
  • Previous by thread: Assigning Quark color spec - Tiger->Leopard
  • Next by thread: Re: Assigning Quark color spec - Tiger->Leopard
  • Index(es):
    • Date
    • Thread