Many thanks in advance for any help or advice given.
Why does some font text move when outlined with this script ie. text moves down from original position?
tell application "Adobe InDesign 2025"
if not (exists document 1) then
display dialog "No document open." buttons {"OK"}
return
end if
display dialog "All fonts will be outlined"
tell document 1
repeat with aStory in stories
try
create outlines (text 1 of aStory)
end try
end repeat
end tell
display dialog "All text has been converted to outlines." buttons {"OK"}
end tell
In my limited testing, it seemed that text with an applied stroke would cause the movement issue. However, when using the Create Outlines menu option in ID, there were no issues for me. Even though it’s not entirely through AppleScript, I’m wondering if it would make sense to have AppleScript select all text boxes, and then trigger the outlining by sending a key press.