• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Adobe InDesign placing text or picture box on a layer? Working code
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Adobe InDesign placing text or picture box on a layer? Working code


  • Subject: Adobe InDesign placing text or picture box on a layer? Working code
  • From: Tony White L1 <email@hidden>
  • Date: Mon, 14 Nov 2005 23:33:03 -0500

With the help of Shane Stanley and a search on InDesign CS2 Scripting
Guide.pdf  I have this part working.

Here is the code that works with the changes that I made noted with
--comments. Please note that this seems to work in CS and CS2.

tell application "InDesign CS"
    activate
    set myDocument to active document ------- this is a new line
    tell myDocument ----------------- instead of tell document 1
        set the_text to "p1" & return & "p2"
        tell page 4
            -- added property, item layer:layer "image" of myDocument
            set myTextFrame to make text frame with properties {geometric
bounds:{9.625, (0.5 + 10), 10.5, 5.917}, stroke weight:0,
label:"information", contents:the_text, item layer:layer "text" of
myDocument}
        end tell
    end tell
end tell

Thanks for the help Shane.

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

  • Prev by Date: Re: arrange icons on desktop
  • Next by Date: Re: Adobe InDesign placing text or picture box on a page/spread
  • Previous by thread: Re: Disabling Expose
  • Next by thread: Switching iChat Accounts
  • Index(es):
    • Date
    • Thread