Re: Picturebox to graphic box
Re: Picturebox to graphic box
- Subject: Re: Picturebox to graphic box
- From: Stan Cleveland <email@hidden>
- Date: Mon, 18 Dec 2006 11:49:26 -0800
- Thread-topic: Picturebox to graphic box
On 12/18/06 11:08 AM, Peter Waibel wrote:
> I think there is a bug in Quark. The 'coercion' from picture to
> graphic box does not work!
> Maybe someone knows a hidden trick. If you don't find the guy with
> the trick
> you must catch all the properties and set those you need to the new
> graphic box.
With a bit of experimentation, I've figured out the "hidden trick". Rather
than changing the 'class' of the box, change its 'content' property, like
this:
tell application "QuarkXPress"
tell document 1
set content of picture box 1 to none content
end tell
end tell
Doing this ALSO changes the class of the picture box to graphic box and
preserves the appearance of the original picture box (minus any image).
Strange, but true!
Stan C.
_______________________________________________
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/mailman//archives/applescript-users
This email sent to email@hidden