Back

If your email is not recognized and you believe it should be, please contact us.

Forum Replies Created

Viewing 12 posts - 361 through 372 (of 372 total)
  • Author
    Posts
  • in reply to: Where is grep character style shown #85862

    Mari, nothing has changed between CS6 and CC. To see which character style is applied, you must higlight the corresponding text.

    best
    Kai

    in reply to: Add Numbered List to Running header #85856

    I haven’t installed the plugin yet on my machine. So please call Gabe Harbs (the owner of in-tools) directly. Thanks.

    Kai

    That 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

    in reply to: Add Numbered List to Running header #85787

    Hi,

    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
    Kai

    In 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

    Hi Guys,

    the following GREP will change

    this:
    1000
    10000
    100000
    1000000
    10000000
    100000000
    1000000000

    to this:
    1,000
    10,000
    100,000
    1,000,000
    10,000,000
    100,000,000
    1,000,000,000

    Find what: \d(?=(\d{3})+)
    Change to: $0,
    

    best
    Kai

    in reply to: Scripts for Table Header and Footer #85669

    William, 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
    Kai

    in reply to: Copy Paste in Place a Text Frame #85668

    Hi,

    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 selection

    best
    Kai

    Hi 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
    Kai

    in reply to: GREP styles and soft returns #60123

    Have some time and read some old posts ;-)

    For me, this one works:

    (?<!n)^w+ w+( FTIA| ATIA)?

    in reply to: Reverse page numbering #53863

    I´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

    in reply to: Reverse page numbering #50743

    I´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

Viewing 12 posts - 361 through 372 (of 372 total)