0% found this document useful (0 votes)
36 views2 pages

Find Change List

Uploaded by

ITTeam
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
36 views2 pages

Find Change List

Uploaded by

ITTeam
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
You are on page 1/ 2

//FindChangeList.

txt
//A support file for the InCopy VBScript FindChangeByList.vbs
//
//This data file is tab-delimited, with carriage returns separating records.
//
//The format of each record in the file is:
//
findType<tab>findProperties<tab>changeProperties<tab>findChangeOptions<tab>descript
ion
//
//Where:
//<tab> is a tab character
//findType is "text", "grep", or "glyph" (this sets the type of find/change
operation to use).
//findProperties is a properties record (as text) of the find preferences.
//changeProperties is a properties record (as text) of the change preferences.
//findChangeOptions is a properties record (as text) of the find/change options.
//description is a description of the find/change operation
//
//Very simple example:
//text {findWhat:"--"} {changeTo:"^_"} {includeFootnotes:true,
includeMasterPages:true, includeHiddenLayers:true, wholeWord:false} Find all
double dashes and replace with an em dash.
//
//More complex example:
//text {findWhat:"^9^9.^9^9"} {appliedCharacterStyle:"price"} {include
footnotes:true, include master pages:true, include hidden layers:true, whole
word:false} Find $10.00 to $99.99 and apply the character style "price".
//
//All InCopy search metacharacters are allowed in the "findWhat" and "changeTo"
properties.
//
grep {findWhat:" +"} {changeTo:" "} {includeFootnotes:true,
includeMasterPages:true, includeHiddenLayers:true, wholeWord:false} Find all
double spaces and replace with single spaces.
grep {findWhat:"\r "} {changeTo:"\r"} {includeFootnotes:true,
includeMasterPages:true, includeHiddenLayers:true, wholeWord:false} Find all
returns followed by a space And replace with single returns.
grep {findWhat:" (?=\r)"} {changeTo:""} {includeFootnotes:true,
includeMasterPages:true, includeHiddenLayers:true, wholeWord:false} Find all
returns preceded by a space and remove the space.
grep {findWhat:"\t\t+"} {changeTo:"\t"} {includeFootnotes:true,
includeMasterPages:true, includeHiddenLayers:true, wholeWord:false} Find all
double tab characters and replace with single tab characters.
grep {findWhat:"\r\t"} {changeTo:"\r"} {includeFootnotes:true,
includeMasterPages:true, includeHiddenLayers:true, wholeWord:false} Find all
returns followed by a tab character and replace with single returns.
grep {findWhat:"\t(?=\r)"} {changeTo:""} {includeFootnotes:true,
includeMasterPages:true, includeHiddenLayers:true, wholeWord:false} Find all
returns preceded by a tab character and remove the tab character.
grep {findWhat:"\r\r+"} {changeTo:"\r"} {includeFootnotes:true,
includeMasterPages:true, includeHiddenLayers:true, wholeWord:false} Find all
double returns and replace with single returns.
text {findWhat:" - "} {changeTo:"^="} {includeFootnotes:true,
includeMasterPages:true, includeHiddenLayers:true, wholeWord:false} Find all
space-dash-space and replace with an en dash.
text {findWhat:"--"} {changeTo:"^_"} {includeFootnotes:true,
includeMasterPages:true, includeHiddenLayers:true, wholeWord:false} Find all
dash-dash and replace with an em dash.

You might also like