Hi guys,
I am using Indesign CS 2015, Mac OS X “Yosemite”.
Is there a script to change the left stroke weight 1pt to 2pt of all cells in a table.
Thanks,
John
Hi guys,
I am using Indesign CS 2015, Mac OS X “Yosemite”.
Is there a script to change the left stroke weight 1pt to 2pt of all cells in a table.
Thanks,
John
Hi John,
Does this help
tell application "Adobe InDesign CC 2015"
set allTheTables to every table of every text frame of front document
repeat with thisTable in allTheTables
set theseTableCells to every cell of item 1 of thisTable
repeat with thisCell in theseTableCells
set left edge stroke weight of thisCell to 2 -- the stroke weight
end repeat
end repeat
end tell
Or, a little shorter…
tell application "Adobe InDesign CC 2015"
set left edge stroke weight of every cell of (every table of (every text frame of front document)) to 2
end tell
And, by page…
tell application "Adobe InDesign CC 2015"
set left edge stroke weight of every cell of (every table of (every text frame of page 1 of front document)) to 2
end tell
HTH