Re: Can't set color of a box in Quark 7.5
Re: Can't set color of a box in Quark 7.5
- Subject: Re: Can't set color of a box in Quark 7.5
- From: Jan Bultereys <email@hidden>
- Date: Mon, 18 May 2009 10:02:53 +0200
- Thread-topic: Can't set color of a box in Quark 7.5
Hi Ken,
Try this:
tell application "QuarkXPress Passport"
tell document 1
set x to "Yellow"
tell current box
set color to x
end tell
end tell
end tell
Best regards,jan
> From: Ken Tozier <email@hidden>
> Date: Mon, 18 May 2009 03:07:42 -0400
> To: "email@hidden" <email@hidden>
> Subject: Can't set color of a box in Quark 7.5
>
> 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:
> edepot.com
> Archives: http://lists.apple.com/archives/applescript-users
>
> This email sent to 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