Batch or script..plug-in?

Hopefully somebody can help me with this question!
Will try to explain it as simple as possible;
I have a folder with for instance 60 files. In this folder are always three files that I want to combine in one PSD. The three files are bracketed pictures and normally you make an HDR with this. The thing is that I want them NOT to be combined but that the three files stay seperate. This can be done with File- Scripts-Load Files into Stack. So that’s not the difficult part but the difficult part is that I want to do the whole folder automatically.
In the end 20 PSD’s with all off them three seperate pictures of the bracketing. This is done with a batch or script as I an searching. Does anybody know a good plug-in for this or another program.
Thank you in advance.

Could you give this a try?
It assumes the files are in order.
// merge images in folder;
// 2014, use it at your own risk;
#target photoshop
// dialog for folder-selection;
var theFolder = Folder.selectDialog ("select folder");
if (theFolder) {
var theFiles = theFolder.getFiles(getSomeFiles);
// create the psd-options;
psdOpts = new PhotoshopSaveOptions();
psdOpts.embedColorProfile = true;
psdOpts.alphaChannels = false;
psdOpts.layers = true;
psdOpts.spotColors = true;
// the number of files to combine;
var theNumber = 3;
// work through files;
for (var m = 0; m < theFiles.length / theNumber; m++) {
          var thisNumber = m * theNumber;
          var theFile = app.open(File(theFiles[thisNumber]));
// place;
          for (var n = 1; n < theNumber; n++) {
                    thisNumber++;
                    if (File(theFiles[thisNumber]).exists == true) {placeFile (theFiles[thisNumber])}
// save the combined files;
          theFile.saveAs(new File (theFolder +"/"+ theFile.name.replace(/\.\D{3,4}$/i, "_comb.psd")), psdOpts);
          theFile.close(SaveOptions.DONOTSAVECHANGES)
////// get psds, tifs and jpgs from files //////
function getSomeFiles (theFile) {
    if (theFile.name.match(/\.(jpg|tif|psd|pdf|)$/i)) {
        return true
////// place file //////
function placeFile (thePath) {
// =======================================================
var idPlc = charIDToTypeID( "Plc " );
    var desc14 = new ActionDescriptor();
    var idnull = charIDToTypeID( "null" );
    desc14.putPath( idnull, new File( thePath ) );
    var idFTcs = charIDToTypeID( "FTcs" );
    var idQCSt = charIDToTypeID( "QCSt" );
    var idQcsa = charIDToTypeID( "Qcsa" );
    desc14.putEnumerated( idFTcs, idQCSt, idQcsa );
    var idOfst = charIDToTypeID( "Ofst" );
        var desc15 = new ActionDescriptor();
        var idHrzn = charIDToTypeID( "Hrzn" );
        var idPxl = charIDToTypeID( "#Pxl" );
        desc15.putUnitDouble( idHrzn, idPxl, 0.000000 );
        var idVrtc = charIDToTypeID( "Vrtc" );
        var idPxl = charIDToTypeID( "#Pxl" );
        desc15.putUnitDouble( idVrtc, idPxl, 0.000000 );
    var idOfst = charIDToTypeID( "Ofst" );
    desc14.putObject( idOfst, idOfst, desc15 );
    var idWdth = charIDToTypeID( "Wdth" );
    var idPrc = charIDToTypeID( "#Prc" );
    desc14.putUnitDouble( idWdth, idPrc, 100 );
    var idLnkd = charIDToTypeID( "Lnkd" );
    desc14.putBoolean( idLnkd, true );
executeAction( idPlc, desc14, DialogModes.NO );

Similar Messages

  • Batch or script cropping, renaming and resizing pdf's

    HELP!
    I'm desperatley looking for a way to do the folowwing in one batch or script with a complete folder of pdf's with printer marks and bleeds:
    Crop
    Create a file of 600*800 pixel on 72dpi with the addition of the word 'groot_' in front of the file name.
    Create a file of 300*400 pixel on 72dpi with the addition of the word 'klein_' in front of the file name.
    I work with CS4 on the mac.
    I have looking for a solution for a couple of days and found a work around:
    Cropping the files in a batch with acrobat.
    Create a 600*800 file with a photoshop script.
    The same thing for the 300*400 file.
    Add the words in front of the files with apple automator.
    This are 5 actions with 3 programs. I'm happy I found some way but I have the idea it could be done alot easier. Best would be with 1 script or batch in 1 program since I have to do this at least once a month and want to be able to instruct others as well without it being to complicated.
    Does anyone have an idea?
    Thanks!!!

    Yes this is doable in one go with script. You don't have to crop the PDF files in Acrobat is you set which PDF box to use with Photoshop's PDF open options. The only things that get a little more tricky are dealing with multi-page PDF's…

  • CC has Java Script Plug in issues... CS5 won't let me see all my NEF files... help.

    In CC I am trying Photoshop (I currently use CS5), and it says it doesn't have the java script plug in... am I supposed to magically pluck it out of thin air to get it? I'm not a computer programmer and I am finding CC to be a maddening experience. CS5 won't let me see all the NEF files I have, and I have a client waiting on the images... RAWRRRR... How can I see this images if CS5 only shows me half of my images, and CC won't even let me open anything, not bridge, not files, nothing... help!

    Prompted to install Java SE 6 Runtime | Mac OS 10.9
    Mylenium

  • Acrobat 8 Pro - how can I backup batch-processing scripts

    Is there a way to backup batch-processing scripts?

    Batch processes are saved locally as SEQU files, with the batch's name being the file name. You can get the path to the folder where they're located by running this code from the JS console:
    app.getPath("user", "sequences")

  • [CS4] Scripted plug-in that remembers the position of a document.

    A while ago somewhere in this forum (can’t find the original post any more), I read about a pesky problem that appeared in InDesign CS4: unlike CS3, it doesn’t save a document’s position, which irritates some users – I assume there are quite a number of them. I thought it was quite easy to solve this with APID ToolAssistant and made a scripted plug-in which is intended to solve it: http://kasyan.ho.com.ua/remember_documents_position.html

    can't it be done with BeforeClose and AfterOpen events ?
    No, it can't be done without APID.
    APID's docLoaded event works great – I can't say it about InDesign's afterOpen event. This problem was discussed a few times in this forum. With beforeClose and its APID's counterpart called docClose you can't do much, because the layout window is already closed when the event is called, so I used APID's docSave event instead.
    Kasyan

  • Running a batch of scripts

    I've got a batch of scripts to run.
    I've run batches of scripts many times but I'm looking for a smarter way of doing it.
    I would like to be able to create a sql script that will run a batch of other scripts - but pass in the connection string.
    At the moment I use a script like this:
    set echo on
    spool cr_run_all
    conn cat1/cat1
    --tables
    @./cr_table_x_cat1.sql
    @./cr_table_y_cat2.sql
    @./cr_table_x_cat1.sql
    @./cr_table_y_cat2.sql
    --indexes
    @./cr_index_x_p_cat1.sql
    @./cr_index_y_p_cat2.sql
    --function
    @./cr_fn_x_cat1.sql
    @./cr_fn_x_cat2.sql
    --procedures
    @./cr_pr_x_cat1.sql
    @./cr_pr_y_cat1.sql
    @./cr_pr_z_cat1.sql
    --packages
    @./cr_pk_x_cat1.sql
    @./cr_pk_x_cat2.sql
    @./cr_pk_y_cat1.sql
    @./cr_pk_y_cat2.sql
    spool off
    exit
    Each script in turn has it's own connect string as the scripts are connecting as different users - cat1 & cat2 - I would like to make each script connect to a particular instance.
    Is it possible to create a sql script to run the other scripts that could pass the connect string for the instance to the scripts?
    This would save me having to put the connect string into each and every script.

    Hi
    You can call connect between scripts:
    @./cr_table_y_cat2.sql
    --indexes
    conn cat2/cat2
    @./cr_index_x_p_cat1.sql
    Or
    conn cat1/cat1
    @./all_script.sql
    conn cat2/cat2
    @./all_script.sql
    Ott Karesz
    http://www.trendo-kft.hu

  • FDM batch loader script

    x
    Edited by: user2657915 on Apr 16, 2012 10:15 AM

    Yes, you can use the batch loader to execute a SQL integration Script that is assigned to a location for import. You would create a blank text document with the proper file naming convention for batch files as noted in the FDM administrator guide and then place the files in OpenBatch and execute the batch via script or the GUI in the workbench. It will go to this POV and execute the Integration Script assigned to the location.

  • CloseDoc is interrupting a batch run script in Acrobat X

    I am using a batch script to split a PDF file and then process (send via email) the individual pages.  Because extractPages opens the new page each time it's called, I had inserted a closeDoc referencing the new doc object so that I didn't end up with multiple open pages or crash Acrobat.  The script below worked fine when tested in Acrobat 8, but in Acrobat X I get a Dead Object error, so I've commented this out.  The script below is just a snippet from a larger script, but it does work in A8, all of those variables are defined and have values within the process.
    I checked the API and it says:
    In versions of Acrobat earlier than 7.0, a document that closes itself by executing this.closeDoc
    terminates any script that follows it. In Acrobat 7.0, the script is allowed to continue and to terminate
    naturally. However, if the Doc of the closed document is referenced, an exception will be thrown.
    I am not referencing the document object called 'send_document' after this call except in if statements that won't be run, is this still an issue, that the doc object is referenced at all?  Would it help to use a different variable name for the doc object in each section of my if/then statement?
    Right now I'm being forced to work around it because I can close all the open documents at the end, but Acrobat crashes if we open more than 50 docs, and we do have multipage PDFs with more than 50 pages we need to process.  Does this seem like an error I should report or an issue with how I'm implementing closeDoc?
         send_document = this.extractPages(cnt, cnt) ;
                send_document.mailDoc(
                    bUI: false,
                    cTo: send_to,
                    cSubject: subject_line,
                    cMsg: message_text
                send_document.closeDoc(true) ;
    Thanks ahead for any clues/help,
    JP

    Since you're not specifying the cPath parameter of extractPages it does not
    return a Doc object, but null, according to the reference file.
    Edit: My mistake, it's the other way around...
    I've run your code and it seems to work fine (although it didn't go completely smoothly as I still had to manually allow the appliction to email the files).
    Have you tried debugging it to see where the "Dead Object error" occurs?

  • Batch load script for Order Management with Oracle R12 EBS

    Hello,
    I am looking for a way to load a million dummy test records into Order Management. For example, I would like to automate a batch process to generate a million new sales orders for Oracle 12.1.1 EBS on Linux platform. If anyone has an idea on how to script this, would appreciate your help.

    Two questions:
    1. How would I modify the following script to generate a million new orders for OM:
    2. How can I register and create a concurrent program with the script?
    SET SERVEROUTPUT ON;
    DECLARE
    v_api_version_number NUMBER := 1;
    v_return_status VARCHAR2(2000);
    v_msg_count NUMBER;
    v_msg_data VARCHAR2(2000);
    -- IN Variables --
    v_header_rec oe_order_pub.header_rec_type;
    v_line_tbl oe_order_pub.line_tbl_type;
    v_action_request_tbl oe_order_pub.request_tbl_type;
    v_line_adj_tbl oe_order_pub.line_adj_tbl_type;
    -- OUT Variables --
    v_header_rec_out oe_order_pub.header_rec_type;
    v_header_val_rec_out oe_order_pub.header_val_rec_type;
    v_header_adj_tbl_out oe_order_pub.header_adj_tbl_type;
    v_header_adj_val_tbl_out oe_order_pub.header_adj_val_tbl_type;
    v_header_price_att_tbl_out oe_order_pub.header_price_att_tbl_type;
    v_header_adj_att_tbl_out oe_order_pub.header_adj_att_tbl_type;
    v_header_adj_assoc_tbl_out oe_order_pub.header_adj_assoc_tbl_type;
    v_header_scredit_tbl_out oe_order_pub.header_scredit_tbl_type;
    v_header_scredit_val_tbl_out oe_order_pub.header_scredit_val_tbl_type;
    v_line_tbl_out oe_order_pub.line_tbl_type;
    v_line_val_tbl_out oe_order_pub.line_val_tbl_type;
    v_line_adj_tbl_out oe_order_pub.line_adj_tbl_type;
    v_line_adj_val_tbl_out oe_order_pub.line_adj_val_tbl_type;
    v_line_price_att_tbl_out oe_order_pub.line_price_att_tbl_type;
    v_line_adj_att_tbl_out oe_order_pub.line_adj_att_tbl_type;
    v_line_adj_assoc_tbl_out oe_order_pub.line_adj_assoc_tbl_type;
    v_line_scredit_tbl_out oe_order_pub.line_scredit_tbl_type;
    v_line_scredit_val_tbl_out oe_order_pub.line_scredit_val_tbl_type;
    v_lot_serial_tbl_out oe_order_pub.lot_serial_tbl_type;
    v_lot_serial_val_tbl_out oe_order_pub.lot_serial_val_tbl_type;
    v_action_request_tbl_out oe_order_pub.request_tbl_type;
    BEGIN
    DBMS_OUTPUT.PUT_LINE('Starting of script');
    -- Setting the Enviroment --
    mo_global.init('ONT');
    fnd_global.apps_initialize ( user_id => 123
    ,resp_id => 456
    ,resp_appl_id => 789);
    mo_global.set_policy_context('S',785);
    -- Header Record --
    v_header_rec := oe_order_pub.g_miss_header_rec;
    v_header_rec.operation := oe_globals.g_opr_create;
    v_header_rec.order_type_id := 1005;
    v_header_rec.sold_to_org_id := 7157;
    v_header_rec.ship_to_org_id := 5480;
    v_header_rec.invoice_to_org_id := 5181;
    v_header_rec.order_source_id := 0;
    v_header_rec.booked_flag := 'N';
    v_header_rec.price_list_id := 7018;
    v_header_rec.pricing_date := SYSDATE;
    v_header_rec.flow_status_code := 'ENTERED';
    v_header_rec.cust_po_number := '99478222532';
    v_header_rec.sold_from_org_id := 83;
    v_header_rec.salesrep_id := -3;
    v_header_rec.transactional_curr_code:= 'GBP';
    v_action_request_tbl (1) := oe_order_pub.g_miss_request_rec;
    -- Line Record --
    v_line_tbl (1) := oe_order_pub.g_miss_line_rec;
    v_line_tbl (1).operation := oe_globals.g_opr_create;
    v_line_tbl (1).inventory_item_id := 27893;
    v_line_tbl (1).ordered_quantity := 1;
    v_line_tbl (1).unit_selling_price := 2000;
    v_line_tbl (1).calculate_price_flag := 'Y';
    DBMS_OUTPUT.PUT_LINE('Starting of API');
    -- Calling the API to create an Order --
    OE_ORDER_PUB.PROCESS_ORDER (
    p_api_version_number => v_api_version_number
    , p_header_rec => v_header_rec
    , p_line_tbl => v_line_tbl
    , p_action_request_tbl => v_action_request_tbl
    , p_line_adj_tbl => v_line_adj_tbl
    -- OUT variables
    , x_header_rec => v_header_rec_out
    , x_header_val_rec => v_header_val_rec_out
    , x_header_adj_tbl => v_header_adj_tbl_out
    , x_header_adj_val_tbl => v_header_adj_val_tbl_out
    , x_header_price_att_tbl => v_header_price_att_tbl_out
    , x_header_adj_att_tbl => v_header_adj_att_tbl_out
    , x_header_adj_assoc_tbl => v_header_adj_assoc_tbl_out
    , x_header_scredit_tbl => v_header_scredit_tbl_out
    , x_header_scredit_val_tbl => v_header_scredit_val_tbl_out
    , x_line_tbl => v_line_tbl_out
    , x_line_val_tbl => v_line_val_tbl_out
    , x_line_adj_tbl => v_line_adj_tbl_out
    , x_line_adj_val_tbl => v_line_adj_val_tbl_out
    , x_line_price_att_tbl => v_line_price_att_tbl_out
    , x_line_adj_att_tbl => v_line_adj_att_tbl_out
    , x_line_adj_assoc_tbl => v_line_adj_assoc_tbl_out
    , x_line_scredit_tbl => v_line_scredit_tbl_out
    , x_line_scredit_val_tbl => v_line_scredit_val_tbl_out
    , x_lot_serial_tbl => v_lot_serial_tbl_out
    , x_lot_serial_val_tbl => v_lot_serial_val_tbl_out
    , x_action_request_tbl => v_action_request_tbl_out
    , x_return_status => v_return_status
    , x_msg_count => v_msg_count
    , x_msg_data => v_msg_data
    DBMS_OUTPUT.PUT_LINE('Completion of API');
    IF v_return_status = fnd_api.g_ret_sts_success THEN
    COMMIT;
    DBMS_OUTPUT.put_line ('Order Import Success : '||v_header_rec_out.header_id);
    ELSE
    DBMS_OUTPUT.put_line ('Order Import failed:'||v_msg_data);
    ROLLBACK;
    FOR i IN 1 .. v_msg_count
    LOOP
    v_msg_data := oe_msg_pub.get( p_msg_index => i, p_encoded => 'F');
    dbms_output.put_line( i|| ') '|| v_msg_data);
    END LOOP;
    END IF;
    END;
    /

  • Complicated question: dialog box-batch processing script

    I am adapting the working script I found on this forum.
    Script: Open files as layers in Photoshop
    https://forums.adobe.com/thread/1313579
    The goal of the adaptation is to include a javascript Folder dialog to set the save folder destination at run time and
    use this folder destination for the remaining script batch processing functions.
    Presently, the script loads a Bridge stack as Photoshop layers and saves the layered tiff using the Folder dialog.
    The folder dialog is manifesting every time the script encounters a Bridge stack.
    The question is what is the correct script logic to set the destination folder once at run time and keep this destination
    folder for the stack batch processing.
    #target bridge
    var stacks = app.document.stacks;
    var stackCount = stacks.length;
    for(var s = 0;s<stackCount;s++){
          var stackFiles = getStackFiles( stacks[s] );
          if(stackFiles.length> 1){
               var bt = new BridgeTalk;
               bt.target = "photoshop";
               var myScript = ("var ftn = " + psRemote.toSource() + "; ftn("+stackFiles.toSource()+");");
               bt.body = myScript;
               bt.send(5);
    function getStackFiles( stack ){
          var files = new Array();
          for( var f = 0; f<stack.thumbnails.length;f++){
               files.push(stack.thumbnails[f].spec);
          return files;
    function psRemote(stackFiles){
    app.bringToFront();
    var thisDoc = open(File(stackFiles[0]));
    var Name = decodeURI(app.activeDocument.name).slice(0,-4);
    thisDoc.layers[0].name = decodeURI(Name);
    for(var a = 1;a<stackFiles.length;a++){
        open(File(stackFiles[a]));
        Name = decodeURI(app.activeDocument.name).slice(0,-4);
        activeDocument.activeLayer.duplicate(thisDoc);
        app.activeDocument.close(SaveOptions.DONOTSAVECHANGES);
        thisDoc.layers[0].name = Name;
    var tifOptions = new TiffSaveOptions();
    tifOptions = new TiffSaveOptions();
    tifOptions.embedColorProfile = true;
    tifOptions.imageCompression = TIFFEncoding.TIFFLZW;
    tifOptions.alphaChannels = false;
    tifOptions.byteOrder = ByteOrder.MACOS;
    tifOptions.layers = true;
    var theFolder = Folder.selectDialog ("Select Folder");
    if (theFolder) {
            var myFile = new File( theFolder + "/" + app.activeDocument.name);
            app.activeDocument.saveAs(myFile, tifOptions, true);  
    app.activeDocument.close(SaveOptions.DONOTSAVECHANGES);

    I am thinking the Folder dialog is not correct for this application.
    On a second thought a persistent dialog to set the save folder path and run the script from the persistent dialog can make sense.
    Any ideas?

  • Bridge batch processing script for Photoshop stops after ten mins

    I have a javacript to help batch process collections of images in Bridge by sending them (in layers) to Photoshop CS5. It works perfectly, except it stops running after about ten minutes (around 6-10 images) so that I have to keep restarting the script. This behaviour has only started since the script was installed in the Bridge startup folder so that it could be started from the (right click) menu. The script does not seem to time out when run via ExtendToolkit.
    Does anyone know why this is happening?

    Thanks again Paul. Can I ask you where the best place to insert that would be? The script is below - I'm sure you'll recognise it :6).
    I've also been wondering if its possible to alter the script so that the files in bridge are opened in PS as Smart Objects (in layers)? There is a script 'Open as Smart Object in Layers' but I haven't been able integrate it into your fantastic script.
    #target bridge
    if( BridgeTalk.appName == "bridge" ) {
    processDocs = new MenuElement("command", "Process selected docs", "at the end of Thumbnail");
    processDocs.onSelect = function () {
    var sels = app.document.selections;
    var selectedFiles = new Array();
    for(var a in sels){
        selectedFiles.push(sels[a].spec);
          if(selectedFiles.length> 1){
               var bt = new BridgeTalk;
               bt.target = "photoshop";
               var myScript = ("var ftn = " + psRemote.toSource() + "; ftn("+selectedFiles.toSource()+");");
               bt.body = myScript;
               bt.send(5);
    function psRemote(selectedFiles){
    app.bringToFront();
    for(var f in selectedFiles){
    var thisDoc = open(File(selectedFiles[f]));
    /*run an action if required */
    /* app.doAction("atn", "atnSet"); */
    /*script listener code goes here...
      You will need to remove the //===== lines or the script will fail 
    /* end script listener code */
          var saveFile = new File('~/desktop/'+(new Date().getTime().toString())+'.psd');
          app.activeDocument.saveAs(saveFile);
          app.activeDocument.close(SaveOptions.DONOTSAVECHANGES);

  • How to interrupt running PS batch or script?

    Is there any shortcut in Photoshop or Bridge to stop running script or batch? I tried the usual suspects like Esc, Ctrl-C, Ctrl-Break and none worked. I am running Dr. Brown Services and by mistake I let it process 850 photographs instead of 34... The script has finished, but I would like to know for next time...
    Thanks!

    you could try to kill the whole application by pressing Ctrl+Alt+Delete and end the task from the Task Manager

  • Forms 11g Batch Compilation Script

    Hi,
    I have seen few threads in this forum on the topic "Batch Compilation of Forms"
    For instance batch file to convert fmb to fmx
    But i could not find a way to do the batch compilation in Forms 11g?
    How do I batch compile my Forms in 11g?
    Thanks,
    Ram

    Nothing has changed from the old versions to version 11. Compilation is done the same way as it always has in the past. The only difference (depending on which version you start from) is the the name and location of the compiler executible. The new file name is frmcmp (.exe if you are using Windows and .sh for Unix). All old example scripts should work in the new version as long as you make this change.

  • Scripting Plug-in Build/Deployment

    I am currently developing an Enterprise Manager Plug-in.  I would like to script the entire process of Staging, Creating, Updating, Deploy to OMS and Deploy to Agent.  My problem is scripting the last two steps.
    The Deploy to OMS EMCLI command is not verbose, and closes once the process starts, so I can not run the Deploy to Agent command consecutively.  The solution I came up with, which is not what I want to do, is add a 4 minute sleep in between each command.  I've toyed around with the idea of running the OMS Deployment Status command, grepping the output (at some predefined interval), and continuing the script when it contains:
    "Status               : Success"
    This is also not ideal.  Is there a way to do what I need without having to be so tricky, like maybe a verbose or debug mode on the EMCLI Deploy scripts?

    Unfortunately, polling the status command is the best method I've found.  I used the standard EMCLI, but if you are starting from scratch, you may want to look into the new(ish) Jython-based EMCLI for these scripts.

  • Batch PDF script works in ID4 but not in ID5.5

    this script worked flawlessly in ID4, but doesn't work in 5.5....It's a script that converts all open indd files to pdf.
    This is the error...
    AppleScript Error!
    Error Number: -2741
    Error String: Expected "," but found application constant or consideration.
    Engine: Default
    File: Users/AM/Library/Preferences/Adobe Indesign/Version 7.5/en_US/Scripts/Scripts Panel/PDFer.applescript
    Anyone know what's wrong with the script?
    This is the script:
    property convertSpotToProcess : false
    my main()
    on main()
      tell application "Adobe InDesign CS5.5"
      set alleExportFormater to name of every PDF export preset
      set alleDok to name of every document
      tell document 1
      set valgtExportFormat to (choose from list alleExportFormater with prompt "Choose PDF Setting")
      if valgtExportFormat = false then error number -128
      set targetmappe to my velgmappe()
      end tell -- doknavn
      set valgtExportFormat to PDF export preset (valgtExportFormat as text)
      repeat with ggg in alleDok
      set doknavn to ggg as text
      tell PDF export preferences
      set page range to all pages
      end tell
      set filnavn to doknavn
      if filnavn ends with ".indd" then set filnavn to text 1 thru -6 of filnavn
      set filnavn to filnavn & ".pdf"
      tell document doknavn
      if convertSpotToProcess then set convert to process of (every ink whose is process ink is false) to true
      set targetfil to (targetmappe & filnavn) as string
      with timeout of 40 * 60 seconds
      export format PDF type to targetfil using valgtExportFormat without showing options
      end timeout
      delay 1
      end tell
      end repeat
      say "Your PDFs are ready. "
      end tell
    end main
    on velgmappe()
      try
      tell me to activate
      end try
      return (choose folder with prompt "Choose Folder")
    end velgmappe

    Hi,
    Use the ready made script was developed by Peter.  It's one of the good resources, find in the following links.
    http://www.kahrel.plus.com/indesign/batch_convert_cs3.html

Maybe you are looking for

  • Cant get macbook pro to send midi signals

    I have a new Macbook pro running 10.8.2 and I am trying to send midi singals to an Elation Magic 260 light controller. I have an M-Audio Midisport USB Uno connected from the macbook to the magic 260. I have installed the drivers for the uno, I can se

  • Trying to Bootcamp, Hard Drive Won't Partition

    Hello there, I am trying to use the bootcamp assistant utility to install windows 7 on a Late 2009 iMac. I got the Microsoft support software downloaded to an external Flash Drive using the Bootcamp utility and have a full Windows 7 Home Premium inst

  • Aironet 1231G for home use

    Hi all I've been given an Aironet 1231G that I would like to set up for home use. Has anyone got any example configs for this type of setup that I could take a look at? Nothing too complicated is needed, just something simple and secure. Thanks Andy

  • Won't recognize CD-R's and CD-RW's

    My ibook spits out my CD-R's and CD-RW's when I insert them to make a backup. It reads audio CD's just fine. Some instructions I found via this forum suggest I should start by looking at System Profiler, specifically the Devices category, to determin

  • C# How to get Certificate from thumbprint

    Hi everyone, Following the below step, i want to get Certificate from thumbprint 1, Create Certificate by command  makecert -sky exchange -r -n "CN=Azure-P2S-Root-Cert" -pe -a sha1 -len 2048 -ss My "C:\tools\AzureCertificateName.cer" 2, Open certmgr.