Thread View: adobe.scripting.indesign
2 messages
2 total messages
Started by Fra_Innocent
Tue, 30 Dec 2008 15:54
Cell formating via scripting
Author: Fra_Innocent
Date: Tue, 30 Dec 2008 15:54
Date: Tue, 30 Dec 2008 15:54
7 lines
1459 bytes
1459 bytes
I am trying to do two cell formating tasks via scripting. 1) I have a two column table and I would like to be able to have a cellstyle applied to the top cell of each row based on the content of the bottom cell. That is, if row1cell2 has text "Hey" I would like to have row1cell1 to be given the cellStyle "Hey" for instance. I am a novice to scripting and have tried several methods, but each time I have failed. 2) Second, I would like to be able to adjust the width and height of a row or column in response to the length of the text string. For instance, if the length of my text string "Hey" is 12 pts, could I have the width adjust to 12 pts? Or, in a slightly more complicated example, if I had the word H-e could I tell the script to make the width the length of just H- and ignore everything after the -dash? Any help would be appreciated. Please let me know if I can clarify this at all.
Re: Cell formating via scripting
Author: Fra_Innocent
Date: Tue, 30 Dec 2008 17:18
Date: Tue, 30 Dec 2008 17:18
1 lines
642 bytes
642 bytes
P.S. I am using javascript and Windows CS4
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads