Nested styles and textStyleRanges
HI all! I have to recognize all textStyleRanges in my documents. Unfortunately character styles described by a nested style are not really applied to the text and the paragraph looks like a single...
View ArticleRe: Nested styles and textStyleRanges
Hi, nested character Styles ARE kind of applied to the text, but are hidden in some cases, because they are not at the same level as paragraph styles. Because they are applied to the text, they can be...
View ArticleRe: Nested styles and textStyleRanges
Hi Kai. I do not understand what do you mean with "nested character Styles ARE kind of applied to the text" but your sample seems to be very usefull. Thanks. Ivan
View ArticleRe: Nested styles and textStyleRanges
Hi Ivan, > I do not understand what do you mean with "nested character Styles ARE kind of applied to the text If you apply a character style direct to some text, the paragraph style and character...
View ArticleRe: Nested styles and textStyleRanges
@Ivan – recently I posted something about text style ranges.Just for illustrating the problems, see my answers #3 to #6 in: poortip87Get text selection and properties...
View ArticleChanging language preferences (dictionary) in all the documents in an Incopy...
I am translating books from English into French within Incopy assignements. Each assignement would be, let's say, a chapter of an original book in English, composed of over 100 different documents. The...
View ArticleRe: How to get glyph ID using JS?
You can find the decimal and hexadecimal values of a glyph. I don't think you can get the glyph's ID though. Peter
View ArticleRe: Changing language preferences (dictionary) in all the documents in an...
Your best hope is through scripting, so I've moved your question into the scripting forum.
View ArticleRe: Changing language preferences (dictionary) in all the documents in an...
Thanks Peter, Pierre
View ArticleRe: Nested styles and textStyleRanges
Hi Kai Your solution works fine also with nestedLineStyles but not with nestedGrepStyles.If I try to find a nestedGrepStyles, only the last occurrence is replaced.Do you know why? Thanks.Ivan
View ArticleRe: Nested styles and textStyleRanges
Hm, I did a short test with with ^\w+ and applied cStyle 'bold' on some lines and cannot see any problems here.Maybe your scriptpart and a testfile is helpful. Kai
View ArticleRe: Nested styles and textStyleRanges
My test is with this rule \d\d-\d\d-\d\d\d\d just to recognizedates with dd-mm-yyyy structure but also the UI tool can't find all the occurrences, not only my script. Now I will try with a brand new...
View ArticleDelete Text Frame out of page
I want to delete text frame either is blank or have text that out of the page in all opened document, below script can delete all text frame in all opened document, but I want to keep the text frame...
View ArticleRe: Delete Text Frame out of page
creativejoan0425 wrote:... that out of the page... If "out of page" means do not overlap with page bounds ==> textFrame.parentPage == null, so: var mDoc = app.documents, dLen = mDoc.length,...
View ArticleRe: Delete Text Frame out of page
Hi creativejoan0425 Give this script a try: It delets all Textframe which are totaly off a pageIt delets all empty Textframes Script works for multiple document and multiple...
View ArticleRe: How to get glyph ID using JS?
I'm with Peter, I don't believe you can find out the GID of a character with a script (except by doing it the hard way, which I'll explain after I show you a script I just wrote). But if you are...
View ArticleRe: Exporting a 6 pg document and changing a text frame on 1st and 6th page...
Hi cdflash, Thank you for the wordpress link you gave me, very helpful. I was just wondering if you knew if solution one - Loic Aigon's script PDF Export Cropper and Custom Export can be found...
View ArticleRe: Exporting a 6 pg document and changing a text frame on 1st and 6th page...
and also just wondering if you have to pay to get the action wizard on acrobat. Thanks
View ArticleRe: Changing language preferences (dictionary) in all the documents in an...
Hi, appliedLanguage is a text property so you can have various languages applied even across one paragraph. Setting default for doc does not affect existing text. You could run a script to change this...
View Article