Assigning Quark color spec - Tiger->Leopard
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