Adobe InDesign applied object style
Adobe InDesign applied object style
- Subject: Adobe InDesign applied object style
- From: Tony White L1 <email@hidden>
- Date: Mon, 14 Nov 2005 02:18:36 -0500
I am working on my first AppleScript for Adobe InDesign.
(Separate questions to keep things simple)
I have been able to place a picture box on a page using the following:
[begin excerpt]
tell application "InDesign CS"
activate
tell document 1
tell page 1
set myPictureBox to make rectangle with properties {geometric
bounds:{9.625, 0.5, 10.5, 5.917}, stroke weight:0, label:"information"}
tell myPictureBox
place (myFile as string)
set label to myFile as string
fit given proportionally
(**
if myFitProportional is true then
fit given proportionally
end if
if myFitCenterContent is true then
fit given center content
end if
if myFitFrameToContent is true then
fit given frame to content
end if
**)
end tell
end tell
end tell
end tell
[end excerpt]
Is there a way to specify an "applied object style" for the picture box,
either at the time of creation or just after?
Thanks in advance for any thoughts on this.
All the best,
Tony White
Tony White Designs, Inc.
118 Remsen Street
Brooklyn, NY 11201
Tel: 718-797-4175
email@hidden
http://www.twdesigns.com
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden