Hi All,
Below is the code, but it is not working. I want to set the position of the character at -375.
tell application "Adobe InDesign CS2"
set myDoc to front document
tell myDoc
set position of character "-" of every story whose contents is "o-" to "-375"
end tell
end tell
Thanks
Rajeev Kumar
Hi Rajeev - the “position” of text or a character in inDesign only accepts a few variables - none of them are in the format you are reffering to: (this is from the Applescript library for inDesign)
position (anything) : The position of the text. Can return: normal/superscript/subscript/OT superscript/OT subscript/OT numerator/OT denominator or nothing.
So- to superscript a character - you would say something like:
set postion of character 1 to superscript
I think maybe you are looking for “tracking” or “kerning” of the text. Please be more specific if you can.
Chris