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

Contributor ,
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.
Adobe Community Professional
Correct answer by Manan Joshi | Adobe Community Professional

Try the following

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

-Manan

TOPICS
How to

Views

36

Likes

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

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

Contributor ,
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.
Adobe Community Professional
Correct answer by Manan Joshi | Adobe Community Professional

Try the following

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

-Manan

TOPICS
How to

Views

37

Likes

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
Jan 06, 2021 0
Adobe Community Professional ,
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

Report

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

Copy link to clipboard

Copied

Mana, perfect. 

Thanks a lot.

Likes

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
Reply
Loading...
Jan 07, 2021 0