Copy link to clipboard
Copied
Hello all,
I have begun using the FindChangeByList script recently and it has really streamlined my workload. But there is one aspect that I cannot figure out, how to change local style italics to a character style. This is the line that I found on the forum and people say it works, but not for me.... Any suggestions? Please and thank you all in advance.
grep {findWhat:".",fontStyle:"Italic"} {changeTo:"$0",appliedCharacterStyle:"italic"}{includeLockedStoriesForFind:false, includeLockedLayersForFind:false, includeHiddenLayers:true, includeMasterPages:true, includeFootnotes:true, wholeWord:false, caseSensitive:false, kanaSensitive:true, widthSensitive:true, ignoreKashidas:true, ignoreDiacritics:false}
Copy link to clipboard
Copied
Is the italic style of your font actually called "Italic", and not something like "56 Italic" (Frutiger), "Oblique" (Helvetica), or "Book Italic" (countless others)?
Copy link to clipboard
Copied
Thank you for the reply.
The font style (the findWhat entry) is called 'Italic' (per using the find/replace feature searching basic character formats) and my character style (the changeTo entry) is called 'italic'. The character style is not is a subgroup (I mention this because it is brought up in other threads as a possible problem).
Copy link to clipboard
Copied
Hi tom,
have you checked if the separating character in the line is a TAB (s. screenshot).
Thanks Stefan
Copy link to clipboard
Copied
Here is the info from the FindChangeTxt:
//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>description
//
Find more inspiration, events, and resources on the new Adobe Community
Explore Now