Can't set color of a box in Quark 7.5
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