Script question (code) with tables .cells.everyItem()....

Contributor ,
Jan 06, 2021 Jan 06, 2021

Copy link to clipboard

Copied

I have 4 instructions in one script like 

table.cells.everyItem().bottomEdgeStrokeWeight = "0.1mm";
table.cells.everyItem().topEdgeStrokeWeight = "0.1mm";
table.cells.everyItem().leftEdgeStrokeWeight = "0.1mm";
table.cells.everyItem().rightEdgeStrokeWeight = "0.1mm";
and would like to resume in just one but the code for the whole 4 was not available.
 
Please, help me to conclude this in one step.
TOPICS
How to

Views

69

Likes

translate

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct Answer

Adobe Community Professional , Jan 06, 2021 Jan 06, 2021
Try the following table.cells.everyItem().properties = {bottomEdgeStrokeWeight:"0.1mm",topEdgeStrokeWeight:"0.1mm",leftEdgeStrokeWeight:"0.1mm",rightEdgeStrokeWeight:"0.1mm" } -Manan

Likes

translate

Translate

Translate
Adobe Community Professional ,
Jan 06, 2021 Jan 06, 2021

Copy link to clipboard

Copied

Try the following

table.cells.everyItem().properties = {bottomEdgeStrokeWeight:"0.1mm",topEdgeStrokeWeight:"0.1mm",leftEdgeStrokeWeight:"0.1mm",rightEdgeStrokeWeight:"0.1mm" }

-Manan

Likes

translate

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Contributor ,
Jan 07, 2021 Jan 07, 2021

Copy link to clipboard

Copied

Mana, perfect. 

Thanks a lot.

Likes

translate

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines