🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: adobe.scripting.indesign
2 messages
2 total messages Started by Stephen_Adams Fri, 03 Apr 2009 12:20
CS4 ID Mac: Using FindChangeByList.jsx to Apply Paragraph Styles
#203
Author: Stephen_Adams
Date: Fri, 03 Apr 2009 12:20
4 lines
1303 bytes
Novice to JavaScript... using the FindChangeByList, I want to do a series of GREPs to apply Paragraph styles according to the characteristics of the paragraphs imported from Word. I feel that I am making simple mistakes,any input will be welcome.
Here is a sample line to apply paragraph style "CB" to all paragraphs that are Arial, 8 pt, Regular, Left-aligned.

grep{findWhat:""} {appliedFont.Arial, fontStyle.Regular, pointSize.8, justification.leftAlign}{changeTo:"", appliedPargraphStyle.CB}	{includeFootnotes:true, includeMasterPages:true, includeHiddenLayers:true, wholeWord:false}Find all Arial 8pt Regular Left-aligned paragraphs and apply style named CB.
Re: CS4 ID Mac: Using FindChangeByList.jsx to Apply Paragraph Styles
#205
Author: Kasyan_Servetsky
Date: Fri, 03 Apr 2009 13:16
7 lines
977 bytes
Hi Stephen,

I would create a new script from scratch, because FindChangeByList.jsx doesn't want to apply Paragraph styles.
Here is a script you can use as a starting point:
Kasyan Servetsky, "Email Addresses - FindChangeList" #1, 25 Mar 2009 2:37 pm </webx?14@@.59b865bb/0>

Kasyan
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