Back

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

Forum Replies Created

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • in reply to: PDF script for single pages #14332746

    your textbox with the filename using the paragraph style “PageName” just needs to be touching the edge of the page. So put it in the slug area and format the textbox to bottom align and the have the top of the text box touch the edge of the page. This way your filename doesn’t show on the page. You can also but that textbox on a separate non-printing layer.

    in reply to: Clipping Path On Script #115789

    SOLVED

    app.scriptPreferences.userInteractionLevel = UserInteractionLevels.interactWithAll;
    app.doScript(resetClippingPath, ScriptLanguage.JAVASCRIPT, [], UndoModes.ENTIRE_SCRIPT, “Clipping Path On – NEW”)

    function resetClippingPath(){
    var allOpenDocs = app.documents;
    for(var m=0;m<allOpenDocs.length;m++){
    var d=allOpenDocs[m];
    var linksIDs = d.links.everyItem().id;
    for(var n=0;n<linksIDs.length;n++){
    try{
    d.links.itemByID(linksIDs[n]).parent.parent.images[0].clippingPath.clippingType = ClippingPathType.PHOTOSHOP_PATH;
    }catch(e){};

    };

    };

    };

    Could you guys help me with a script that will turn on the Clipping Path on all images, on all pages, in a document?

    in reply to: Data Merge Field Character in Filename #105125

    Thank you Graham, but I don’t think that is the correct GREP either. 0 instances are found with that.

    in reply to: Bleed Size Variable #100343

    Thanks to Trevor in the Adobe forums

    You are passing a number in line 27, presumably
    pagesize.variableOptions.contents = (app.activeDocument.documentPreferences.documentBleedBottomOffset)

    you need to pass a string so use

    pagesize.variableOptions.contents = (” + app.activeDocument.documentPreferences.documentBleedBottomOffset)

    This solved it!

    in reply to: Bleed Size Variable #100336

    This is going in a slug, I want the Bleed Size Variable to update when the script is run. It’s not always going to be .125in, sometimes it is .25in for larger print pieces.

    in reply to: Bleed Size Variable #100335

    With Line 27 like below:
    {
    pagesize = app.activeDocument.textVariables.itemByName(“Bleed”);
    pagesize.variableOptions.contents = (app.activeDocument.documentPreferences.documentBleedBottomOffset)
    }

    I get:
    Javascript Error!
    Error Number: 30477
    Error String: Invalid value for set property ‘contents’. Expected String or SpecialCharacters enumerator, but received 0.125.

    Line: 27
    Source: pagesize.variableOptions.contents = (app.activeDocument.documentPreferences.documentBleedBottomOffset)

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