Answered
How to increase table raw height by 0.1?
Hi
Is there a way to increase or decrease the table raw height by 0.1 without having to write the number?
Hi
Is there a way to increase or decrease the table raw height by 0.1 without having to write the number?
It can be scripted
and you can add a keyboard shortcut to each script to do it with a key command
Increase by .1
var doc = app.activeDocument;
if (doc.selection.length === 1 && doc.selection[0].constructor.name === "Cell") {
var selectedRow = doc.selection[0].parentRow;
var currentHeight = selectedRow.height;
selectedRow.height = currentHeight + 0.1;
} else {
alert("Please select a single table row before running this script.");
}
Decrease by .1
var doc = app.activeDocument;
if (doc.selection.length === 1 && doc.selection[0].constructor.name === "Cell") {
var selectedRow = doc.selection[0].parentRow;
var currentHeight = selectedRow.height;
selectedRow.height = currentHeight - 0.1;
} else {
alert("Please select a single table row before running this script.");
}
or just double click the scripts
Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.