Back

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

Forum Replies Created

Viewing 15 posts - 16 through 30 (of 77 total)
  • Author
    Posts
  • in reply to: Header, Row and Column Size #87881
    Matt Isaac
    Participant

    Brendan, using Kai’s script will change the measurements based on your ruler preferences. If you want to specify the units you will need to put the numbers in quotations with the unit after (eg. “5.5pt”; instead of 5.5).

    in reply to: Pasteboard preferences #87701
    Matt Isaac
    Participant

    /*
    Scripted by Skemicle
    */
    if (parseFloat(app.version) < 6)
    main();
    else
    app.doScript(main, ScriptLanguage.JAVASCRIPT, undefined, UndoModes.ENTIRE_SCRIPT, "Adjust Pasteboard Margins");
    function main() {
    var win = app.dialogs.add({name:"Adjust Pasteboard Margins"});
    with (win.dialogColumns.add()){
    staticTexts.add({staticLabel:"Set pasteboard top/bottom margins to:"});
    staticTexts.add({staticLabel:"Set pasteboard left/right margins to:"});
    }with(win.dialogColumns.add()){
    var tbMarginField = textEditboxes.add({editContents:"1"});
    var lrMarginField = textEditboxes.add({editContents:"5"});
    }if(win.show() != 1){exit()}
    var tbMargin = lrMarginField.editContents;
    var lrMargin = tbMarginField.editContents;
    app.activeDocument.pasteboardPreferences.pasteboardMargins = [tbMargin,lrMargin];
    }
    Sorry, I forgot about the option to cancel the script in the previous script. If you canceled the previous script it would still change the margins. This script has been updated so if the dialog box is canceled the margins won’t change.

    in reply to: Pasteboard preferences #87690
    Matt Isaac
    Participant
    /*
    Scripted by Skemicle
    */
    if (parseFloat(app.version) < 6)
    main();
    else
    app.doScript(main, ScriptLanguage.JAVASCRIPT, undefined, UndoModes.ENTIRE_SCRIPT, "Adjust Pasteboard Margins");
    function main() {
    var win = app.dialogs.add({name:"Adjust Pasteboard Margins"});
    with (win.dialogColumns.add()){
    	staticTexts.add({staticLabel:"Set pasteboard top/bottom margins to:"});
    	staticTexts.add({staticLabel:"Set pasteboard left/right margins to:"});
    }with(win.dialogColumns.add()){
    	var tbMarginField = textEditboxes.add({editContents:"1"});
    	var lrMarginField = textEditboxes.add({editContents:"5"});
    }win.show();
    var tbMargin = lrMarginField.editContents;
    var lrMargin = tbMarginField.editContents;
    app.activeDocument.pasteboardPreferences.pasteboardMargins = [tbMargin,lrMargin];
    }
    

    This script will give a UI for the user to determine top/bottom and left/right margins. Line 11 can be used as a one line piece of code replacing “tbMargin” and “lrMargin” with the desired values.
    For information on installing and using this script see https://creativepro.com/how-to-install-a-script-in-indesign-that-you-found-in-a-forum-or-blog-post.php.

    in reply to: Same page numbers on two pages #87686
    Matt Isaac
    Participant

    This article should tell you how to do that. https://creativepro.com/create-spread-numbers.php.
    The article goes for one side of the document but can be set up on both sides.

    in reply to: Help updating Applescript to work in CC #86999
    Matt Isaac
    Participant

    I believe “InDesign CC” should be followed by the year. (eg. “InDesign CC 2015”)

    in reply to: Automatically set paragraph style sheet #86962
    Matt Isaac
    Participant

    If you are typing the diary as you work, one way you could do this is by applying the body style as the next style for the date header. Then create a character style with only an underline and set that as a grep style in the body to text: ^.+\z. If you do it this way, you will want to put in a right indent tab (Shift+Tab) at the end of the last line. Though I’m sure Kai will have a better solution when you provide before/after screenshots. :)

    This won’t work if your last paragraph is more than one line.

    in reply to: Assign paragraph style depending on odd/even page #86906
    Matt Isaac
    Participant

    Or you could use the align “align away from spine” feature if you are just changing the alignment on even/odd pages.

    in reply to: 'How to' multiple numbered lists to start with the #1 #86904
    Matt Isaac
    Participant

    You will need a new paragraph for each additional sequence (e.g. If you want to go to 1.A.a, you will need three paragraph styles. One for the 1, the A and the a.) For sublists you need to make sure each numbering section is in the same list with a level higher than the previous sequence and you’ll need to check “continue from previous number” and “restart numbering at this level after:” and choose “any previous level”

    https://creativepro.com/multi-level-automatic-numbering-in-indesign.php

    in reply to: 'How to' multiple numbered lists to start with the #1 #86897
    Matt Isaac
    Participant

    If all of your numbered lists are to stay in one text box each you could set the list to not continue across stories. Then each new text frame will start over. If you needed one list to carry over you could use a threaded text frame.

    in reply to: Script to spell out state names not working in CC #86892
    Matt Isaac
    Participant

    After posting i realized that all of the periods need to be escaped in the abbreviations..

    
    //DESCRIPTION:Expand US State Abbreviations
    if (app.version < 6)
    doReplace();
    else
    app.doScript(doReplace, ScriptLanguage.JAVASCRIPT, undefined, UndoModes.ENTIRE_SCRIPT, "Expand State Abbreviations");
    function doReplace ()
    {
    var a;
    var abbrevs = [
    [ "Alabama", "Ala." ],
    [ "Arizona", "Ariz." ],
    [ "Arkansas", "Ark." ],
    [ "California", "Calif." ],
    [ "Colorado", "Colo." ],
    [ "Connecticut", "Conn." ],
    [ "Delaware", "Del." ],
    [ "District Of Columbia", "D.C." ],
    [ "Florida", "Fla." ],
    [ "Georgia", "Ga." ],
    [ "Illinois", "Ill." ],
    [ "Indiana", "Ind." ],
    [ "Kansas", "Kan." ],
    [ "Kentucky", "Ky." ],
    [ "Louisiana", "La." ],
    [ "Maryland", "Md." ],
    [ "Massachusetts", "Mass." ],
    [ "Michigan", "Mich." ],
    [ "Minnesota", "Minn." ],
    [ "Mississippi", "Miss." ],
    [ "Missouri", "Mo." ],
    [ "Montana", "Mont." ],
    [ "Nebraska", "Neb." ],
    [ "Nevada", "Nev." ],
    [ "New Hampshire", "N.H." ],
    [ "New Jersey", "N.J." ],
    [ "New Mexico", "N.M." ],
    [ "New York", "N.Y." ],
    [ "North Carolina", "N.C." ],
    [ "North Dakota", "N.D." ],
    [ "Oklahoma", "Okla." ],
    [ "Oregon", "Ore." ],
    [ "Pennsylvania", "Pa." ],
    [ "Rhode Island", "R.I." ],
    [ "South Carolina", "S.C." ],
    [ "South Dakota", "S.D." ],
    [ "Tennessee", "Tenn." ],
    [ "Vermont", "Vt." ],
    [ "Virginia", "Va." ],
    [ "Washington", "Wash." ],
    [ "West Virginia", "W.Va." ],
    [ "Wisconsin", "Wis." ],
    [ "Wyoming", "Wyo." ] ];
    app.findGrepPreferences = app.changeGrepPreferences = null;
    for (a in abbrevs)
    {
    app.findGrepPreferences.findWhat = abbrevs[a][1];
    app.changeGrepPreferences.changeTo = abbrevs[a][0];
    app.findGrepPreferences.appliedParagraphStyle = "scholarship winner";
    app.activeDocument.changeGrep();
    }
    app.findGrepPreferences = app.changeGrepPreferences = null;
    }
    

    This code will be the one you should use unless Ari comes up with something better. =P

    in reply to: Script to spell out state names not working in CC #86889
    Matt Isaac
    Participant

    The problem was in the findGrepPreferences with the word boundary. Removing the boundaries worked for me. Also the single quotes around the 6 were removed (with the quotes it would not use the undo feature.)
    This code should work

    
    //DESCRIPTION:Expand US State Abbreviations
    if (app.version < 6)
    doReplace();
    else
    app.doScript(doReplace, ScriptLanguage.JAVASCRIPT, undefined, UndoModes.ENTIRE_SCRIPT, "Expand State Abbreviations");
    function doReplace ()
    {
    var a;
    var abbrevs = [
    [ "Alabama", "Ala." ],
    [ "Arizona", "Ariz." ],
    [ "Arkansas", "Ark." ],
    [ "California", "Calif." ],
    [ "Colorado", "Colo." ],
    [ "Connecticut", "Conn." ],
    [ "Delaware", "Del." ],
    [ "District Of Columbia", "D.C." ],
    [ "Florida", "Fla." ],
    [ "Georgia", "Ga." ],
    [ "Illinois", "Ill." ],
    [ "Indiana", "Ind." ],
    [ "Kansas", "Kan." ],
    [ "Kentucky", "Ky." ],
    [ "Louisiana", "La." ],
    [ "Maryland", "Md." ],
    [ "Massachusetts", "Mass." ],
    [ "Michigan", "Mich." ],
    [ "Minnesota", "Minn." ],
    [ "Mississippi", "Miss." ],
    [ "Missouri", "Mo." ],
    [ "Montana", "Mont." ],
    [ "Nebraska", "Neb." ],
    [ "Nevada", "Nev." ],
    [ "New Hampshire", "N.H." ],
    [ "New Jersey", "N.J." ],
    [ "New Mexico", "N.M." ],
    [ "New York", "N.Y." ],
    [ "North Carolina", "N.C." ],
    [ "North Dakota", "N.D." ],
    [ "Oklahoma", "Okla." ],
    [ "Oregon", "Ore." ],
    [ "Pennsylvania", "Pa." ],
    [ "Rhode Island", "R.I." ],
    [ "South Carolina", "S.C." ],
    [ "South Dakota", "S.D." ],
    [ "Tennessee", "Tenn." ],
    [ "Vermont", "Vt." ],
    [ "Virginia", "Va." ],
    [ "Washington", "Wash." ],
    [ "West Virginia", "W.Va." ],
    [ "Wisconsin", "Wis." ],
    [ "Wyoming", "Wyo." ] ];
    app.findGrepPreferences = app.changeGrepPreferences = null;
    for (a in abbrevs)
    {
    app.findGrepPreferences.findWhat = abbrevs[a][1];
    app.changeGrepPreferences.changeTo = abbrevs[a][0];
    app.findGrepPreferences.appliedParagraphStyle = "scholarship winner";
    app.activeDocument.changeGrep();
    }
    app.findGrepPreferences = app.changeGrepPreferences = null;
    }
    
    Matt Isaac
    Participant

    Photoshop EPS embeds a bitmap image in a EPS file and isn’t capable of saving transparencies. Try saving as a PNG or creating the logo in illustrator and exporting from illustrator as EPS.

    in reply to: Aligning Text Without "Creating Outlines" #86390
    Matt Isaac
    Participant

    Ccan you upload a screenshot to drive or aanother image hosting website and provide tthe link to us so that we can maybe see what iit is you’re going for and what the problem mmight be?

    in reply to: GREP or Nested Style #86343
    Matt Isaac
    Participant

    Also make sure you don’t have a nested style that might override the GREP style as well.

    in reply to: Undesired numbered list restart – help?? #86338
    Matt Isaac
    Participant

    Can you provide a screenshot of your three section paragraph style numbering tabs? This may help in determining the cause of the restart. You will need to upload to an image hosting site and provide a link.

Viewing 15 posts - 16 through 30 (of 77 total)