Back

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

Forum Replies Created

Viewing 12 posts - 1 through 12 (of 12 total)
  • Author
    Posts
  • in reply to: PDF export problems with CS5 #114081
    Scott Rudy
    Participant

    i have been using this script fairly regularly and was wondering what would be involved in setting the PDF preset that is selected when the script is run. currently it defaults to whatever was the most recently run preset.

    scott

    in reply to: PDF export problems with CS5 #114010
    Scott Rudy
    Participant

    Uwe,
    in your script…on line 31

    d.exportFile(ExportFormat.PDF_TYPE,File(pdfFullName),true,undefined,undefined);

    what do the two ” undefined” on this line refer to?

    scott

    in reply to: Script to import partial filename #112981
    Scott Rudy
    Participant

    I just wanted to say thank you for helping me with this, it now works great!!!!!
    I added it to a larger script that i run when the file is approved. the script preflights the job (including the job code slug line), does a collect, makes a high and low res PDF and a few other archiving type of operations. no more projects going out with an incorrect job code!!!!

    scott

    in reply to: Script to import partial filename #112794
    Scott Rudy
    Participant

    what would need to be changed so it does not ask if you want to change the “job code” if it is matching the file name

    currently it always asks even if it does not need replacing

    scott

    in reply to: Script to import partial filename #112747
    Scott Rudy
    Participant

    AMAZING!!!!!!
    you understood exactly what i needed. I am adding this to a larger script that does a simple preflight, metatag, collect for output, and makes a high and low res PDF all saved in the proper folders. this is just another part of keeping my designers consistent in how they are saving the final art for our projects.

    the only issue is it finds abc123456_
    and returns abc123456 without the underscore

    what line do i need to change to keep the underscore?

    scott

    in reply to: Script to import partial filename #112601
    Scott Rudy
    Participant

    I have a start on a different way but do not know how to get it to actually work….

    the below script will insert the beginning of the filename up to that underscore into the document at the point where you have the text insertion point.

    #target indesign;
    #targetengine “myCustomGetFileNameHandler”;

    fileNameVariable = app.activeDocument.name.split(“_”)[0]; // get XXXXX from XXXXX_Name1_Name2_Name3.indd file name
    // app.activeDocument.textVariables.item (“myVariable”).variableOptions.contents = fileNameVariable;

    myTextFrame = app.selection[0];
    firstInsertionPoint = myTextFrame.insertionPoints[-1].index;
    myTextFrame.contents += fileNameVariable;
    myAddedText =
    myTextFrame.characters.itemByRange(myTextFrame.insertionPoints[firstInsertionPoint],
    myTextFrame.insertionPoints[-1]);

    what i’m thinking is can i replace the insertion point with a grep find/change that will search the entire document for \<[\u]+[\d+]_
    which will find my file name format that is ABC123456 (sometimes i have a few extra letters at the beginning)
    and replace it with the “file name variable”

    ideally i would like it to call up an alert if they are different in case there was a reason for the difference

    scott

    in reply to: Smart Title Case #96357
    Scott Rudy
    Participant

    would this work?

    apply an all cap character style to…

    (?<=\p{punctuation} )|^

    it looks for any punctuation followed by a space then caps the next letter, then it caps all first letters of a paragraph

    this will work for a multi sentenced paragraph.

    in reply to: need grep help #82819
    Scott Rudy
    Participant

    what response are you getting when you assign the paragraph style, which has the grep assigning the character style, to the text?

    in reply to: need grep help #82816
    Scott Rudy
    Participant

    thanks for piggybacking on my post….i tried out peters grep and it works like a charm, this is one i will be writing down for some other use

    and , peter thanks for spelling out what the different codes mean, it really helps me wrap my head around this

    scott

    in reply to: need grep help #82712
    Scott Rudy
    Participant

    i tried it in a new document and it worked PERFECT!!!!
    i hope you have fun figuring out these grep that you help people with so freely. It is a great tool and i have done some really fun things with it but it frustrates me when i know i can see the pattern so i know it can be done, but cannot figure it out myself

    thanks for the assistance, thanks for the explanation and thank you your patience!!!!

    scott

    in reply to: need grep help #82698
    Scott Rudy
    Participant

    peter,
    unfortunately i am getting no response from that …
    i have tried to figure out the [^;] but am not savvy enough to grasp it…
    it means the character set of ; back to the beginning of the paragraph?

    because i cannot wrap my head around this i am unable to trouble shoot why i am getting nothing when i add this to my style sheet

    would you be so kind as to help a little more?

    in reply to: Smart Title Case #79186
    Scott Rudy
    Participant

    bringing this back from the dead….

    this is working for me until i add a forced line break before a excluded word (i.e., and)

    when I force break and the word i do not want to be capped is the first word on the next line it gets recognized as the first word of a new sentence capitalizing it. is there a remedy?

Viewing 12 posts - 1 through 12 (of 12 total)