• 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
InDesign text frame baseline shift
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

InDesign text frame baseline shift


  • Subject: InDesign text frame baseline shift
  • From: Michel Raj <email@hidden>
  • Date: Sun, 7 May 2006 21:20:32 +0200

Hi,
I am trying to do the following :
Replace a selection of text by an anchored text box which would have a baseline shift of 8.


At the moment, I have the following, which is ok, but I cannot give the text frame "myTF" the desired baseline shift.

tell application "InDesign CS"
activate
delete selection
set myTF to make text frame with properties {geometric bounds:{3, 60, 0, 0}} at selection
set point size of text of myTF to 6
set contents of myTF to "some text"
end tell


Any cue ?

Also, how do I apply a paragraph or character style to a text ?

There are probably other ways to do what I want, but I asked myself how to do it in AS... so I am trying...


Regards, Michel Raj

_______________________________________________
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


  • Follow-Ups:
    • Re: InDesign text frame baseline shift
      • From: Stan Cleveland <email@hidden>
  • Prev by Date: Re: Scripting TextEdit
  • Next by Date: Re: Scripting TextEdit
  • Previous by thread: Re: Applescript to do SCP?
  • Next by thread: Re: InDesign text frame baseline shift
  • Index(es):
    • Date
    • Thread