• 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
Re: Adobe InDesign placing text or picture box on a layer? -> apply object style
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Adobe InDesign placing text or picture box on a layer? -> apply object style


  • Subject: Re: Adobe InDesign placing text or picture box on a layer? -> apply object style
  • From: Tony White L1 <email@hidden>
  • Date: Wed, 16 Nov 2005 00:32:59 -0500

On 11/15/05 4:00 PM, "Shane Stanley" <email@hidden> wrote:

> One of the keys to scripting InDesign and retaining any hair is to think in
> references rather than object names. So:

Thanks again Shane,

I think I know what you mean. I seems that InDesign likes to think of itself
as very object oriented or something like that.

> tell application "Adobe InDesign CS2"
>     tell document 1
>         set theStyle to object style "blue"
>         apply object style myPictureBox using theStyle with clearing
> overrides
>     end tell
> end tell

Works like a charm. Much appreciated.

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

References: 
 >Re: Adobe InDesign placing text or picture box on a layer? (From: Shane Stanley <email@hidden>)

  • Prev by Date: Re: Get default icon of document/etc programmatically (Applescript-users Digest, Vol 2, Issue 758)
  • Next by Date: Using a prompt value from another handler
  • Previous by thread: Re: Adobe InDesign placing text or picture box on a layer?
  • Next by thread: Setting User Interaction Level in CS2
  • Index(es):
    • Date
    • Thread