Need script for batch Open/Flatten/Outline/Print Preset/Close/Repeat

I have an Action created that I use in batch mode on deadline day to flatten my artwork, convert text to outlines, print to our press' desired settings (output to postscript file then distilled from there), then close without saving.
The problem is even tho tho the Action has a step for the desired print preset, I still have to use the dropbox and select it, then click Print to get the action going again- if I take out the icon where it stops the script to wait for my input, then I get a "Can't print the illustration.  The Color Mangement settings are inconsistent"  error.    So I use the dialog icon to use the drop down to select my desired printer.
From there the action has a 'Close' step where I get a question asking me to Yes or No to save the file.   I want to always answer No to the question as I want to preserve the file from being flattened and outlined- I just want the copy to be.    The action will not save the No answer to that question.
This forces me be at the computer and select the printer, click the print button, then answer 'No' for ever file in the batch.   I have to do this for a few hundred files-  its a process that takes over an hour. 
I think I need a script or some help with the Action so I can get up from the chair and walk away while it does it for me.  I've posted here before years ago but got no response.  I've been dealing with what I have.
PC, Latest version of IllustratorCC2014
I'm willing to pay for someone to write a script. 

I'll PM you to try to help you.   Sorry you had to wait so long for a reply.

Similar Messages

  • Action script for batch-opening psd layer files flat? (alt+shift?)

    hi
    i am daily batch processing with an action script to make flat tiffs from psd layer files, like 10-100 files every couple of days in my workflow.
    until now i could not fine a solution to begin the batch processing-action with opening layer files FLAT.
    the reason is: i am working with huge files, 5-20GB .psb files, (16bit, ECI-RGB, 50x100cm, 300dpi) and it takes a couple of seconds to open with my pcie-SSD.
    that multiplies the time it takes to open 50 of such files. i would gain a lot of time, if photoshop cs6 would not open it with layers, but flat.
    there is a workaround i am using daily: (osx) hold alt+shift, then click on the layer file in the finder and cs6 opens it flat.
    but that did not work in the action script. it doesnt store the keyboard command alt+shift.
    any idea how i could save time and use the alt+shift command in the action script or any other solution please?
    thanks
    peter

    I just tried to record this using ScriptListener, and it didn't record it either.  No indo in the ExtendScript SDK on this either.  I don't think that this is possible at this time.  Maybe someone who know more than I do can find a way.

  • Shell script for batch compilation of forms 10g on AIX 5.3L AS

    Hi All,
    Can anybody provide me the Shell script for batch compilation of forms 10g and reports 10g on AIX 5.3L AS?
    Regards,
    SAM

    Hi Alex,
    I tried with the below script as well as the one you had posted.
    ORACLE_HOME=/opt/oracle/OraHome_3
    export ORACLE_HOME
    TNS_ADMIN=$ORACLE_HOME/network/admin
    export TNS_ADMIN
    LIBPATH=$ORACLE_HOME/lib32:$ORACLE_HOME/jdk/jre/bin:$ORACLE_HOME/jdk/jre/bin/cla
    ssic:$LIBPATH
    export LIBPATH
    cd ../forms
    for i in `ls *.pll`
    do
    echo Compiling Library $i ....
    $ORACLE_HOME/bin/frmcmp module=$i userid=mydbuser/mydbuser@mydb
    batch=yes module_type=library
    compile_all=yes window_state=minimize
    done
    export ORACLE_HOME=/opt/oracle/OraHome_3
    export ORACLE_TERM=vt220
    export LD_LIBRARY_PATH=/opt/oracle/OraHome_3/lib:/opt/oracle/OraHome_3/jdk/jre/l
    ib:/opt/oracle/OraHome_3/jdk/jre/lib/i386:
    cd ../forms
    for i in `ls *.pll`
    do
    echo "Compiling Library $i ...."
    /opt/oracle/OraHome_3/bin/frmcmp module_type=form userid=mydbuser/mydbuser@mydb
    module=$i batch=yes compile_all=no
    window_state=minimize upgrade=no
    done
    echo "PLL Compilation done"
    But there was a same kind of error thst turning up all the time.
    Compiling Library Agf.pll ....
    Forms 10.1 (Form Compiler) Version 10.1.2.0.2 (Production)
    Forms 10.1 (Form Compiler): Release - Production
    Copyright (c) 1982, 2005, Oracle. All rights reserved.
    Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Production
    With the Partitioning, OLAP and Data Mining options
    PL/SQL Version 10.1.0.4.2 (Production)
    Oracle Procedure Builder V10.1.2.0.2 - Production
    Oracle Virtual Graphics System Version 10.1.2.0.0 (Production)
    Oracle Multimedia Version 10.1.2.0.2 (Production)
    Oracle Tools Integration Version 10.1.2.0.2 (Production)
    Oracle Tools Common Area Version 10.1.2.0.2
    Oracle CORE 10.1.0.4.0 Production
    FRM-10043: Cannot open file.
    Form not created
    I hence updated the permissions on the pll as below
    -rwxrwxrwx 1 oracle oinstall 335872 May 19 16:31 Agf.pll
    But the problem is still persisting.
    My environment details are as below.
    I am working on Win XP machine. Connected to my AS via telnet and xmanager. I have set my DISPLAY to my local IP.
    Is there any thing more that I need to do? If so then let me know.
    Regards,
    SAM

  • Script for batch processing

    Hello
    I need help
    I created a batch sequence which set watermark and security to pdf files from one directory. Now i want to create another sequence: 1. set security to none and 2. delete watermark.
    I have a problem with set security to none because every time i need change preferences for batch process to security method=password security by hand.
    Maybe there is a way to change this settings with java script in batch "execute java script"?
    Or how i can change with batch sequence a security method from passsword security to "none" if i know password
    Thanks in advance

    Create a "blank" batch process (ie, without any action), but under the Output Options tick the box to optimize the files and set the optimization settings you want to use.

  • Script for Batch Exporting XML from IDCS3 files

    Does anyone have a script they would share for batch exporting XML from IDCS3 files? I do not know anything about scripting so I do not know how to write one myself. I've also searched around and cannot find anything. I would appreciate any help with this anyone can offer.
    Thanks,
    Janine

    Or use below Code:
    try {
         inFolderName= Folder.selectDialog ("Input Folder:");
         outFolderName= Folder.selectDialog ("Output Folder:");
         if ((inFolderName != null) && (outFolderName != null))
              var idFileFolder = new Folder(inFolderName);
              var files = idFileFolder.getFiles("*.indd");
              for(myCounter = 0; myCounter < files.length; myCounter++)
                   var theDocument = app.open(File(files[myCounter]));
                   with ( theDocument ) {
                   myXMLFile = new File(outFolderName + "/" + name.replace(".indd","") + ".xml" );
                   exportFile( ExportFormat.xml, myXMLFile );
                   close(SaveOptions.no);
    catch (err ) {
    alert("All files export");
    Shonky

  • Need script for exporting images to EPS

    I need to write a script to export a whole bunch of files from Indesign CS3 to EPS files. Right now we do them one at a time...here are the steps we take that we would need included in the script...
    Select all (Control A), ungroup, convert to outlines (control-shift O), export (need to be able to say black or white or RGB) and then close the file without saving.
    and if there was anyway to loop this script for 20 files at a time that would be really helpful.
    Can any help or direct me to a website that can help.
    Thanks!
    Marissa

    Maybe this one: http://www.kahrel.plus.com/indesign/batch_convert_cs3.html
    Peter

  • Need script for Marginal Elements consists two tags

    Hi Everyone,
    I need a script for the Marginal Elements having two Paragraph tags. Object Styles, Library items are all availale for this job. My requirement is cut the two paragraph tags and put it in library items and also using object styles as well. Is it possible? Can you help for this. For more clarification i have attached that file also.
    Waiting for your reply....

    Hi Try This code.....
    main();
    function main(){
        if (app.documents.length!=0){
            if(app.libraries.length!=0){
            myStyleDialog();
            else {
                alert ("Please open the Library.");
        else {
            alert ("Please open a document and try again.");
            exit(0);
    function myStyleDialog(){
    var myLabelWidth = 120;
    var myParaStyleNames = myGetParagraphStyleNames();
    //var myObjStyleNames = myGetObjectStyleNames();
    var myDialog = app.dialogs.add({name:"Choose Styles to Place Anchor"});
    with(myDialog.dialogColumns.add()){
        with(borderPanels.add()){
            with(dialogColumns.add()){
                with(dialogRows.add()){
                    with(dialogColumns.add()){
                        staticTexts.add({staticLabel:"Choose Paragraph Style1:", minWidth:myLabelWidth});
                    with(dialogColumns.add()){
                        myParaStyleDropdown1 = dropdowns.add({stringList:myParaStyleNames, selectedIndex:0});
                  with(dialogRows.add()){
                        with(dialogColumns.add()){
                            staticTexts.add({staticLabel:"Choose Paragraph Style2:", minWidth:myLabelWidth});
                        with(dialogColumns.add()){
                            myParaStyleDropdown2 = dropdowns.add({stringList:myParaStyleNames, selectedIndex:0});
    //~                     with(dialogRows.add()){
    //~                         with(dialogColumns.add()){
    //~                             staticTexts.add({staticLabel:"Object Styles:", minWidth:myLabelWidth});
    //~                             }
    //~                         with(dialogColumns.add()){
    //~                             myObjectStyleDropdown = dropdowns.add({stringList:myObjStyleNames, selectedIndex:0});
    //~                     }
    //~         }
        myReturn = myDialog.show();
        if(myReturn == true){
             myParagraphStyle1 = myParaStyleNames[myParaStyleDropdown1.selectedIndex];
            myParagraphStyle2 = myParaStyleNames[myParaStyleDropdown2.selectedIndex];
            // myObjectStyle = myObjStyleNames[myObjectStyleDropdown.selectedIndex];
             myDialog.destroy();
          else {
          myDialog.destroy();
    function myGetParagraphStyleNames(){
        var myStyleNames = app.documents.item(0).paragraphStyles.everyItem().name;
        return myStyleNames;
    //~ function myGetObjectStyleNames(){
    //~     var myObjStyleNames = app.documents.item(0).objectStyles.everyItem().name;
    //~     return myObjStyleNames;
    //~ }
    var myDoc = app.activeDocument;
    var myStory = myDoc.stories;
    var myParas, myCount = 0;
    var myLib = app.libraries[0];
    var AnchorItemName = prompt("Enter the Library Item Name Exactly","","Anchor Item");
    for(i=0; i<myStory.length; i++)
        myParas = myStory[i].paragraphs;
        if (myParas.length>3)
            for(j=0; j<myParas.length-1; j++)
                var firstPara = myParas[j];
                var nextPara = myParas[j+1];
                var firstParaStyle = firstPara.appliedParagraphStyle.name;
                var nextParaStyle = nextPara.appliedParagraphStyle.name;
                if ((nextParaStyle == myParagraphStyle2)&&(firstParaStyle == myParagraphStyle1))
                    myText = myLib.assets.item (AnchorItemName).placeAsset (firstPara.insertionPoints[0])[0];
                    firstPara.move(LocationOptions.after, myText.insertionPoints[0]);
                    nextPara.move(LocationOptions.after, myText.insertionPoints[-1]);
                    myText.fit(FitOptions.frameToContent);
                    myCount++;
                    }//End if
            }//End of Para iteration
        }//End of If paralength>2
        }//End of story iteration
    alert(myCount + " Ocurrences Found and Processed");
    Green4ever

  • Need Report for batch wise consuption

    i need the coding (program) for batch wise consuption report,,,
    output fields are
    Posting date, batch number, quantity, mfg date, exp date, next inspec date, order no(po) , product name, batch no quanty issue.
    i want the logic after retriving the data from MSEG table with moment types 101,102,261,262,201,202.
      that i should cancle the record of movement type 102 from 101
    regards
    mukesh

    HI Siva,
    Thanks for quick reply. Yeah, in S_ALR_87013047 i can compare only two materials. but i am looking for a report for group of materials for forecasting. Can we create acustomised report for this.
    Please let me know.
    Thanks
    vamshi

  • Script for batch delet redundant layer

    I have thousands files in the different folders, each file has same layer named “Job Info”. Can someone help me to write a script for del this layer folder by folder?
    I expected the script tells me that I have to select a folder, then it can automatically open the files, del “job info” layer then save file, rewrite, close file

    Hi Ashram,
    Sorry, I misunderstood your question. Please try the below.
    var folder = Folder.selectDialog ("Select the root folder");
    var myfiles = [];
    var _layers = ["test1", "test2", "test3"];
    getsubfolderfiles(folder);
    for(var i =0;i<myfiles.length;i++)
            var doc = app.open(myfiles[i],false);
            for(var j=0;j<_layers.length;j++)
                try
                    app.activeDocument.layers.add({name:_layers[j]})
                catch(e){}
            doc.save();
            doc.close();
    function getsubfolderfiles(folder)
        var filelist = folder.getFiles();
        for(var i =0;i<filelist.length;i++)
            if(filelist[i] instanceof Folder)
                getsubfolderfiles (filelist[i]);
            else if(filelist[i] instanceof File)
                if(filelist[i].name.indexOf(".indd") > -1){
                    myfiles.push(filelist[i]);
    Hi HarveyLiu,
    Try this,
    var folder = Folder.selectDialog ("Select the root folder");
    var myfiles = [];
    getsubfolderfiles(folder);
    for(var i =0;i<myfiles.length;i++)
            var doc = app.open(myfiles[i],false);
            try{
                var _layer = doc.layers.item("Job Info");
                _layer.remove();
                var link, image, frame,
                links = doc.links, counter = 0;
                for (var i = links.length-1; i >= 0; i--) {
                    if (links[i].status == LinkStatus.LINK_MISSING) {
                        try {
                            link = links[i];
                            image = link.parent;
                            frame = image.parent;
                            frame.remove();
                            counter++;
                        catch (err) {
                            $.writeln(i + " - " + err);
            catch(e){}
            doc.save();
            doc.close();
    function getsubfolderfiles(folder)
        var filelist = folder.getFiles();
        for(var i =0;i<filelist.length;i++)
            if(filelist[i] instanceof Folder)
                getsubfolderfiles (filelist[i]);
            else if(filelist[i] instanceof File)
                if(filelist[i].name.indexOf(".indd") > -1){
                    myfiles.push(filelist[i]);
    Regards,
    Chinna

  • Need script for moving files to specific directories base on csv

    Hi,
    I have a question. I have about 2000 files (pdf), which I need move to specific directories and subdirectories, which are based on csv file.
    Csv is looking like this:
    filename;directoryname;subdirectoryname;subdirectoryname;.......etc.
    I have a script for creating directories with subdirectories from csv file, but I need this script for moving files to this directories.....
    Thanks a lot for every help.
    Best Regards
    Petr, OS X Mavericks

    private function snapshotLastFrame():void
    gotoAndStop( this.totalFrames );
    _bitmapData                         = new BitmapData( stage.stageWidth, stage.stageHeight );
    _bitmap                              = new Bitmap( _bitmapData );
    _bitmapData.draw ( stage );
    saveImageJPG( _bitmapData, "test.jpg", 96 );
    public function saveImageJPG( bitmapData:BitmapData, fileName:String, quality:int ):void {
                this.jpgEncoder = new JPGEncoder( quality );
                this.fileReference = new FileReference();
                this.fileReference.save( this.jpgEncoder.encode( bitmapData ), fileName + ".jpg" );
    Keep in mind that you need a few extra libraries to be able to create a jpeg.. (AS3CoreLib) can be found at googleCode.

  • Need Driver for Minolta PageWorks 20 Laser Printer, Mac OS 10.4.11, G5

    Does anyone have any idea where I can find a driver for the Minolta PageWorks 20 printer? I can't find it on the Minolta site nor in a Google search. Generically it'll work with a LaserWriter driver, but I am unable to utilize the different configurations available on the printer itself (which tray to print from and so forth). Or if it's not available, does anyone know how I can customize the standard LaserWriter driver to run this specific printer? Many thanks!

    Hi,
    I'd try a PPD from another QMS printer, like this one...
    http://www.qms.com/support/currentprinters/mc2200sup.htm
    You can also try hand editing a copy of the Generic one to add/change some features, here's a sample of what the start looks like...
    *PPD-Adobe: "4.0"
    *FormatVersion: "4.0"
    *LanguageEncoding: MacStandard
    *LanguageVersion: English
    *Manufacturer: "PostScript Printer Manufacturer"
    *Product: "(Generic PostScript Printer)"
    *PSVersion: "(2000.0) 1"
    *ModelName: "Generic PostScript Printer"
    *ShortNickName: "Generic PostScript Printer"
    *NickName: "Generic PostScript Printer"
    *LanguageLevel: "2"
    *OpenUI *PageSize: PickOne
    *OrderDependency: 30 AnySetup *PageSize
    *DefaultPageSize: Letter
    *PageSize Letter/US Letter: "level2 {
    2 dict dup /PageSize [612 792] put dup /ImagingBBox null put setpagedevice
    statusdict /lettertray known {statusdict /lettertray get exec /letterR where {pop letterR} if}{letter} ifelse
    } ifelse"
    *End
    *PageSize Legal/US Legal: "level2 {
    2 dict dup /PageSize [612 1008] put dup /ImagingBBox null put setpagedevice
    statusdict /legaltray known {statusdict /legaltray get exec}{legal} ifelse
    } ifelse"
    *End
    *PageSize A4: "level2 {
    2 dict dup /PageSize [595 842] put dup /ImagingBBox null put setpagedevice
    statusdict /a4tray known {statusdict /a4tray get exec}{a4} ifelse
    } ifelse"
    *End
    *PageSize ISOB5: "level2 {
    2 dict dup /PageSize [499 708] put dup /ImagingBBox null put setpagedevice
    statusdict /b5tray known {statusdict /b5tray get exec}{b5} ifelse
    } ifelse"
    *End
    *PageSize LetterSmall/US Letter Small: "level2 {
    2 dict dup /PageSize [612 792] put dup /ImagingBBox [30 31 582 761] put setpagedevice
    statusdict begin /lettertray where {pop lettertray} if lettersmall end

  • Need Script for Videopodcast.

    Looking for Script  for iTunes, to extract audio segment from Vide podcast  and save it for iPod Nano. can' find it in dougscripts.com/iTunes. Used to have that script but lost due to update my OS 10 to 10.9.4 Thank you! Igor.

    Hasvi,
    You can use the method "convertBulletsAndNumberingToText ()"
    e.g. app.activeDocument.stories.everyItem().convertBulletsAndNumberingToText();
    It converts the bullets and numbering to text present in all the active document stories (Footnotes and Tables will be done separately).
    ~Green4ever

  • Flash AS3, Need script for .exe to open another .exe file

    Hi all,
    Has anyone got a script to allow an .exe file to open another .exe file? If so, I could sure use the help.
    many thank in advance.
    HD superglide

    You can use fscommand("exec") to run a batch file to open an exe - but exe is a Windows executable, not for Mac OS
    Kenneth Kawamoto
    http://www.materiaprima.co.uk/

  • Script for closing opened files remotely.

    Hello guys. I am new to scripting hope my question will be understandable for you.
    What I'm trying to do is a script that would ask me the directory and name of a file (ex:
    e$\test\test1\test2.pdf) and then check on 50 servers if this file is opened, if yes close it.

    I don't have problems with adobe I just want to close any (.doc,.pdf,.xls.......) opened by users on the sharing. I know how to do it from computer management on the server,but how to do it through cmd?
    You cannot do this with a batch file.  The PowerShell script can do it but only to the share that the file is opened on.  There is no way to close locally opened files.
    You cannot do a general search for a file using the admin share and close the file.  You must enumerate the open files on the share and close the specific handle.  What you see on the share management snap-in is not a file.  It is the handle
    reference to the file.  You can only find it using the net enum API call.  The PowerShell script calls this API from a piece of compiled VB.Net code.
    ¯\_(ツ)_/¯

  • Needed: Script for exporting iPhoto albums into a file structure

    Hello all! I have no experience with AppleScript, but I heard it should be possible to write a script which helps to copy/export a iPhoto album structure into an according directory structure. Does anybody already have such a script?
    Thx for any information on that!

    Thomas,
    I have created an AppleScript along with the TextCommands OSAX that duplicates all of the albums in iPhoto to a folder called "Albums" on the desktop. It is quite slow because of the need to open an Info window in Finder to get the path to the original photo but gets the job done.
    If you wish it could be modified to provide an ability to select individual albums for duplication. Let me know if you are interested in the latter. I am also seeing whether the album structure can be created directly in a burn folder so that CDs/DVDs can be rapidly burned.
    TextCommands is donationware and available at the following location:
    http://osaxen.com/files/textcommands1.0.1.html
    and should be placed in the following location for the AppleScript to see it:
    ~/Library/ScriptingAdditions/
    click here to open this script in your editor<pre style="font-family: 'Monaco', 'Courier New', Courier, monospace; overflow:auto; color: #222; background: #DDD; padding: 0.2em; font-size: 10px; width:400px">property PathToDesktop : path to desktop as string
    property PathToPictures : path to pictures folder as string
    property PathToiPhotoLibrary : PathToPictures & "iPhoto Library"
    property PathToiPhotoAlbums : PathToiPhotoLibrary & ":Albums"
    property PathToCopiedAlbums : PathToDesktop & "Albums"
    tell application "Finder"
    activate
    set theCopiedAlbumsFolder to duplicate folder (PathToiPhotoAlbums as alias) to desktop
    set theAlbums to folders of folder PathToCopiedAlbums
    set theExtraneousFiles to files of folder PathToCopiedAlbums
    delete theExtraneousFiles
    repeat with anAlbum in theAlbums
    repeat with anAlias in anAlbum
    -- need to use GUI access to grab the path to the original photo
    open information window of anAlias
    tell application "System Events"
    tell process "Finder"
    -- grab the path to the original file
    set PathToTheOriginalPhoto to value of static text 2 of scroll area 1 of window 1
    end tell
    end tell
    close window 1
    -- need to remove some extraneous material and convert to AppleScript path format
    tell application "TextCommands"
    split PathToTheOriginalPhoto using {":", "../"}
    set PathToTheOriginalPhoto to item 4 of the result
    set PathToTheOriginalPhoto to search PathToTheOriginalPhoto for "/" replacing with ":"
    set PathToTheOriginalPhoto to (PathToiPhotoLibrary & ":" & PathToTheOriginalPhoto) as alias
    end tell
    (* unfortunately there seems to be bug in duplicate file to another folder so must use a copy, , delete the alias, move, and clean up name of copied file sequence to accomplish the equivalent *)
    -- duplicate the original in the original album folder
    set theCopiedPhoto to duplicate PathToTheOriginalPhoto
    -- Delete the alias in the Copied Album
    delete anAlias
    -- Move the copied photo to the Copied Album
    set theCopiedPhoto to move theCopiedPhoto to anAlbum
    -- Remove the "copy" from the photo names
    set NameOfPhoto to name of theCopiedPhoto
    tell application "TextCommands"
    set name of theCopiedPhoto to search NameOfPhoto for " copy" replacing with ""
    end tell
    end repeat
    end repeat
    end tell</pre>
    PowerBook 12" Mac OS X (10.4.6)

Maybe you are looking for