Forum Replies Created
-
AuthorPosts
-
Kai Rübsamen
MemberMari, nothing has changed between CS6 and CC. To see which character style is applied, you must higlight the corresponding text.
best
KaiKai Rübsamen
MemberI haven’t installed the plugin yet on my machine. So please call Gabe Harbs (the owner of in-tools) directly. Thanks.
Kai
June 15, 2016 at 11:16 am in reply to: GREP style, i want to add "," in numbers 3454342? 3,454,342 #85789Kai Rübsamen
MemberThat is true, because the end of the story is not a boundary. You can fix this temporarily, if you insert a space or a return at the end of the story and remove it later. Of course, this will not work for a grepstyle, but in this special case here, FC is needed.
Kai
Kai Rübsamen
MemberHi,
you could use “Power Headers” from in-tools: https://in-tools.com/products/plugins/power-headers/
– – – – –
Bullets and Paragraph Numbering: Power Headers offers the option of transferring bullets or paragraph numbering to the headers. You can use this option in conjunction with the option to transfer local formatting or GREP Processors to style the bullets or paragraph numbers differently than the rest of the header text.
– – – – –best
KaiJune 15, 2016 at 11:04 am in reply to: GREP style, i want to add "," in numbers 3454342? 3,454,342 #85786Kai Rübsamen
MemberIn Germany we want to have sometimes 10,000 , but not 1000
In this case you could write: (?<=\d)\d(?=\d{3})|\d(?=(\d{3}){2,})
Separate telefonnumbers in pairs of two: \d(?=(\d{2})+)
If there is a separator between the numbers, e.g. a “/”, sometimes this can be a solution: \d(?=(\d{2})+)|\d(?=/)|/
Hope this is helpful too :)
Kai
June 15, 2016 at 8:32 am in reply to: GREP style, i want to add "," in numbers 3454342? 3,454,342 #85775Kai Rübsamen
MemberHi Guys,
the following GREP will change
this:
1000
10000
100000
1000000
10000000
100000000
1000000000to this:
1,000
10,000
100,000
1,000,000
10,000,000
100,000,000
1,000,000,000Find what: \d(?=(\d{3})+) Change to: $0,best
KaiKai Rübsamen
MemberWilliam, the script from Ari collects every table in every story. That’s very easy. To find the last table on every page, you must loop through every page and compare the vertical position of your frames with tables, since there exists no “last table on page” propertie.
best
KaiKai Rübsamen
MemberHi,
good to hear, that you want to write the script by yourself.
So:
1. Save the selection in a variable
2. Identify your pages
3. Loop through your pages and copy every time your selectionbest
KaiJune 2, 2016 at 9:14 am in reply to: Delete all kinds of empty frames anchored within a table!! #85383Kai Rübsamen
MemberHi Masood,
please try the following:
var curDoc = app.documents[0]; var allFrames = curDoc.allPageItems; for (var i = allFrames.length-1; i >= 0; i--) { var curFrame = allFrames[i]; var curType = curFrame.constructor.name; var wrap = curFrame.textWrapPreferences.textWrapMode; if (curType == "TextFrame" && curFrame.contents == "" && wrap == TextWrapModes.NONE) { curFrame.remove(); } else if (curType == "Rectangle" || curType == "Polygon" || curType == "Oval") { if (!curFrame.graphics.length) { if (curFrame.fillColor.name == "None" && curFrame.strokeColor.name == "None" && wrap == TextWrapModes.NONE) { curFrame.remove(); } } } }best
KaiKai Rübsamen
MemberHave some time and read some old posts ;-)
For me, this one works:
(?<!n)^w+ w+( FTIA| ATIA)?
Kai Rübsamen
MemberI´m not sure if I understand the problem, but for me the easiest way is to start with the auto numbers on masterpage a for the “normal numbering”and for the other numbering you can use masterpage b with a empty textframe placeholder.
Then create a excel-file with only the numbers in reverse order and insert the file on a normal doc page with shift click. If the number of pages changes you need only to update your excel file.
rübi
Kai Rübsamen
MemberI´m not sure if I understand the problem, but for me the easiest way is to start with the auto numbers on masterpage a for the “normal numbering”and for the other numbering you can use masterpage b with a empty textframe placeholder.
Then create a excel-file with only the numbers in reverse order and insert the file on a normal doc page with shift click. If the number of pages changes you need only to update your excel file.
rübi
-
AuthorPosts
