3 Replies Latest reply on Jun 21, 2009 5:59 AM by Michael F Walker

    [CS4, VB Windows] How do I script a baseline shift for a character?

    Michael F Walker

      I am to position a dot under a character, and the horizontal shifting I can manage. Baseline shift looks like the right way to position vertically, but I do not know how to make this work. The relevant part of the scritp is as follows:

       

      myInDesign.FindTextPreferences.AppliedCharacterStyle = "Spec"
            myInDesign.ChangeTextPreferences.Position = idOTSubscript
            myInDesign.ChangeTextPreferences.BaselineShift = -0.75
            myInDesign.FindTextPreferences.FindWhat = "."
            myInDesign.Documents.Item(1).ChangeText
            myInDesign.ChangeTextPreferences.Position = idNothing
            myIndesign.ChangeGlyphPreferences.BaseLineShift = 0

       

      The result is no baseline shift. How do I fix this?