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 09:32:42 +0100
- Thread-topic: Picturebox to graphic box
Title: Re: Picturebox to graphic box
Hi Stan,
This gives me a “line” instead of a “graphic box” very strange.
How can I set the correct properties?
This is the output of the properties from the “graphic box” as a selection:
get properties of selection of document 1
{class:selection-object, object reference:graphic box 1 of document "Project1"}
This is the output of the properties from the “graphic box” returning from the page:
get properties of graphic box 1 of document 1
{class:graphic box, object reference:graphic box 1 of document "Project1", layername:"Default", anchored:false, background trap:default, color:color spec "White" of document "Project1", content:none content, box type:graphic box type, index:1, locked:false, name:"", rotation:"0°", runaround:item runaround, selected:false, shade:"100%", box shape:rectangular, suppress printing:false, uniqueID:7, text outset:{"1 pt", "1 pt", "1 pt", "1 pt"}, polygon points:null, storage:"", blend:{angle:"0°", color:color spec "Black" of document "Project1", shade:"100%", style:solid blend}, bounds:{"38,806 mm", "73,731 mm", "96 mm", "165,806 mm"}, corner radius:null, flipped horizontal:false, flipped vertical:false, frame:{color:color spec "Black" of document "Project1", gap color:null, gap shade:"100%", inside trap:default, outside trap:default, shade:"100%", style:solid line, width:"0 pt"}, skew:"0°"}
Many thanks for any feedback
Jan
From: Stan Cleveland <email@hidden>
Date: Fri, 15 Dec 2006 14:12:59 -0800
To: "email@hidden" <email@hidden>
Conversation: Picturebox to graphic box
Subject: Re: Picturebox to graphic box
On 12/15/06 6:01 AM, Jan Bultereys wrote:
Why does this not work:
tell application "QuarkXPress Passport"
set picture box 1 of document 1 to graphic box type
end tell
Any feedback is much appreciate
Jan, you need to modify a property of the box, not the box itself. Try this:
tell application "QuarkXPress Passport"
set box type of picture box 1 of document 1 to graphic box type
end tell
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
_______________________________________________
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