Re: Picturebox to graphic box
Re: Picturebox to graphic box
- Subject: Re: Picturebox to graphic box
- From: Jan Bultereys <email@hidden>
- Date: Mon, 18 Dec 2006 17:50:28 +0100
- Thread-topic: Picturebox to graphic box
Hi Peter,
Yes it's a possibility ... But this would mean that I have to 'catch' all
possible properties from the picture box that I want to replace...
Meaning for example if the box has a 'linear blend' with the script below it
would be lost...
Let's say this is the way to go, is there an easy way to " inherit" all the
necessary properties?
Many thanks for your effort already made peter
jan
> From: Peter Waibel <email@hidden>
> Date: Mon, 18 Dec 2006 13:21:52 +0100
> To: applescript-users users <email@hidden>
> Subject: Re: Picturebox to graphic box
>
>>
>> This gives me a ³line² instead of a ³graphic box² very strange.
>>
>
> Yes I agree it is strange.
> That's what I would do:
>
> tell application "QuarkXPress"
> tell document 1
> --return properties of picture box 1
> set myBounds to bounds of picture box 1
> make new graphic box at beginning with properties {bounds:myBounds}
> delete picture box 1
> return properties of generic box 1
> end tell
> end tell
>
>
> Peter
>
> _______________________________________________
> 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/mailman//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/mailman//archives/applescript-users
This email sent to email@hidden