Back

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

Forum Replies Created

Viewing 11 posts - 76 through 90 (of 340 total)
  • Author
    Posts
  • in reply to: TOC and multiple identical entries #86190
    Ari Singer
    Member

    The reason the script failed is because you probably copied the code from your email, and when you do that some characters don’t come through as they should. Try copying the code from my post directly, and try again.

    in reply to: A script/plugin to write position and size of object #86186
    Ari Singer
    Member

    This can probably be done. But more details is needed, such as what is considered an ‘object’? Text frames, images, etc. And where do you want to output this info? To a text file, or on the page directly?

    in reply to: Indesign justification #86181
    Ari Singer
    Member

    I believe ‘100%’ stands for the default kerning installed in the font.

    P.S. Who provides the spell-checking for the site? Is it Google? Because I’m not impressed!

    They flagged the word ‘kerning’. Really?! ‘Guesstimate’ is a word, and ‘kerning’ not?! They better add this to their dictionary.

    Google, if you need any references, I’ll be glad to help… For starters, you can check this out: https://www.dictionary.com/browse/kerning

    in reply to: TOC and multiple identical entries #86180
    Ari Singer
    Member

    This time I made it easier. It’s just a regular script that you have to execute, it doesn’t require the FindChangebyList script.

    Read here on how to save the script.

    I’m not sure if it works as expected, so please let me know.

    app.doScript(main, ScriptLanguage.JAVASCRIPT, undefined, UndoModes.ENTIRE_SCRIPT, "Fix Duplicate TOC Entries");
    
    function main() {
        var myDoc = app.activeDocument;
        cleanPrefs();
        app.findGrepPreferences.findWhat = "(?s)(bw+?b)(s+?)(d{1,3})(s+?)(1(.+?)(d{1,3})(.+?))+";
        var foundText = myDoc.findGrep();
        for (var i = foundText.length - 1; i >= 0; i--) {
            var curEntry = foundText[i];
            app.findGrepPreferences.findWhat = "r(?=.)";
            app.changeGrepPreferences.changeTo = ",s";
            curEntry.changeGrep();
            app.findGrepPreferences.findWhat = "(?<=,s)(w+?).+?(?=d)";
            app.changeGrepPreferences.changeTo = "";
            curEntry.changeGrep();
            }      
        cleanPrefs();
        }
    
    function cleanPrefs() {
        app.findGrepPreferences = app.changeGrepPreferences = null;
        }
    
    in reply to: TOC and multiple identical entries #86176
    Ari Singer
    Member

    I can only alter the script if I have an idea of what you’re looking for. Give me a couple of examples (or a screenshot) so I can figure it out.

    in reply to: How to color overlapping text in InDesign? #86139
    Ari Singer
    Member

    You have to convert the text to outlines, and then use pathfinder operations to achieve the result you want.

    in reply to: InDesign Stop working after latest update #86134
    Ari Singer
    Member

    Try trashing the preferences the manual way: https://creativepro.com/rebuilding-indesign-preferences.php

    in reply to: HELP! Free script "Catchword Generator" not working #86091
    Ari Singer
    Member

    Try omitting the version name entirely, as such: tell application "Adobe InDesign".

    in reply to: HELP! Free script "Catchword Generator" not working #86089
    Ari Singer
    Member

    I’m not familiar with AppleScript, but how did you adapt to your version? Did you write:
    tell application "Adobe InDesign CC 2014"?

    in reply to: Where do I go from here? Epub? App? #86088
    Ari Singer
    Member

    An EPUB might be the best solution. As with an EPUB you will probably get the most unified functionality (more than a PDF, for sure).

    in reply to: Cover spreads et al #86086
    Ari Singer
    Member

    >>”Ari, but when you do that, page 8 will still come out as the first page of a PDF. You’d have to move it to the last page there.”

    Would you care to elaborate? I’m not sure I understood what you meant.

Viewing 11 posts - 76 through 90 (of 340 total)