Copy link to clipboard
Copied
hi all, i am working in indesign file on a project of annual report which contain 350 pages , where there is many many tables in report, and see in this image i applied 4 cells stroke 0.25 by selecting above below and right and left cell wall , or we can select by simply right click and then select border, now the problem is that i want to create style or shortcut for this operation how we can do that fastly ... where cells rows and columns are different on every page. i want just border on different cells , like 2 rows bottom i select i want to apply border quickly , i tried creating cells styles but cant get the accurate results some time bottom wall missing when apply style vice versa .,
Copy link to clipboard
Copied
If you work on a PC - you could use free version of my ID-Tasker.
Copy link to clipboard
Copied
where is script..
Copy link to clipboard
Copied
no one here is to solve the problem
Copy link to clipboard
Copied
Quickly written! …
app.doScript("main()", ScriptLanguage.javascript, undefined, UndoModes.ENTIRE_SCRIPT, "Cells! …");
function main()
{
if ( app.documents.length == 0 ) {
alert( "No Open Document! …" )
exit();
} else {
if ( app.selection && app.selection[0] && app.selection[0].constructor.name === 'Cell' ) {
var mySel = app.selection[0];
//-------------------------------------------------
// Stroke Weight, Color and Tint … To Be Defined
var myStrokeWeight = 1,
myStrokeColor = "C=0 M=100 J=0 N=0",
myStrokeTint = 50;
//-------------------------------------------------
mySel.topEdgeStrokeWeight = mySel.rightEdgeStrokeWeight = mySel.bottomEdgeStrokeWeight = mySel.leftEdgeStrokeWeight = myStrokeWeight;
mySel.topEdgeStrokeColor = mySel.rightEdgeStrokeColor = mySel.bottomEdgeStrokeColor = mySel.leftEdgeStrokeColor = myStrokeColor;
mySel.topEdgeStrokeTint = mySel.rightEdgeStrokeTint = mySel.bottomEdgeStrokeTint = mySel.leftEdgeStrokeTint = myStrokeTint;
app.selection = null;
} else alert( "OUPS! …\rTruly Better if you select \"Cells\" in a Table! ;-)" + "\r\rby FRIdNGE, Michel Allio [22/09/2023]")
}
}
(^/) The Jedi