Re: Adobe InDesign placing text or picture box on a layer?
Re: Adobe InDesign placing text or picture box on a layer?
- Subject: Re: Adobe InDesign placing text or picture box on a layer?
- From: Tony White L1 <email@hidden>
- Date: Tue, 15 Nov 2005 09:27:49 -0500
On 11/14/05 4:40 AM, "Shane Stanley" <email@hidden> wrote:
> On 14/11/05 6:13 PM, "Tony White L1" <email@hidden> wrote:
>> Is there a way to specify an "applied object style" for the picture box,
>> either at the time of creation or just after?
>
> Not in CS; they were introduced in CS2. There, the best method is to use the
> "apply object style" command.
Hi Shane,
I could not find any examples of the syntax for the "apply object style"
command in the archives, of Adobe PDFs, so I tried many different variations
without success.
I did learn that if you add a box without a stroke property (or other object
style properties) the box will take the default object style that was set
manually. Then if you set a stroke for the next box that you add to a page
it will not have an object style.
That said, I would be grateful if someone could give me some guidance to the
syntax on this. Here is one of my guesses on syntax that did not work:
tell application "Adobe InDesign CS2"
activate
set myDocument to active document
tell myDocument
tell page 1
set myPictureBox to make rectangle with properties {geometric
bounds:{9.625, 0.5, 10.5, 5.917}}
select myPictureBox
tell myPictureBox
apply object style "blue" -- of mydocument using selection
end tell
end tell
end tell
end tell
Thanks again.
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