• 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
Can't set color of a box in Quark 7.5
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Can't set color of a box in Quark 7.5


  • Subject: Can't set color of a box in Quark 7.5
  • From: Ken Tozier <email@hidden>
  • Date: Mon, 18 May 2009 03:07:42 -0400

Hi

I'm trying to set the background color of a text box in Quark 7.5 and am getting the following error on the word "color"

QuarkXPress got an error: Unknown object type.

Here's the script

tell application "QuarkXPress"
	tell document 1
		set x to color spec "Yellow"
	end tell

	tell current box
		set color to x
	end tell
end tell

If I manually set the color through the color palette and do

tell application "QuarkXPress"
	tell current box
		set x to color
	end tell
end tell

Quark gives me a color spec but if I immediately try to set the color to the spec it just gave me, I get the above error

tell application "QuarkXPress"
	tell current box
		set x to color
		set color to x
	end tell
end tell

Is this a known bug in Quark 7.5? Is there any workaround?

Thanks for any help






_______________________________________________ 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: Can't set color of a box in Quark 7.5
      • From: Eric C Saunders <email@hidden>
    • Re: Can't set color of a box in Quark 7.5
      • From: Jan Bultereys <email@hidden>
  • Prev by Date: Re: Display Dialog with Title
  • Next by Date: Re: Can't set color of a box in Quark 7.5
  • Previous by thread: Re: Debug AppleScript Droplet in AppleScript Studio
  • Next by thread: Re: Can't set color of a box in Quark 7.5
  • Index(es):
    • Date
    • Thread