ansonsten:
tell application "InDesign 2.0.2"
set aDoc to active document
set nSpreads to count spreads in active document
set allSpreads to spreads in aDoc
activate
repeat with aSpread in allSpreads
set active spread of active window to aSpread
zoom active window given fit spread
set allItems to page items of aSpread
tell me to checkItems(allItems)
end repeat
end tell
on checkItems(theseItems)
repeat with anItem in theseItems
tell application "InDesign 2.0.2"
if visible of item layer of anItem then
if page items of anItem is not {} then
tell me to checkItems(page items of anItem)
else if class of anItem is text frame then
set first baseline offset of text frame preferences of anItem to cap height -- ascent offset, leading offset, embox height, x height, fixed height
set minimum first baseline offset of text frame preferences of anItem to 0
end if
end if
end tell
end repeat
end checkItems
das skript ändert JEDEN textrahmen der datei.
als Antwort auf: [#54430]