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

Similar Messages

  • How we can run Oracle Batch Manager in Oracle Sales Analyzer

    Hi,
    Please guide me how we can run Oracle Batch Manager in Oracle Sales Analyser.
    Best Regards,

    You cannot run Batch Manager directly from within the OSA Administrator or Analyzer clients. Batch Manager has its own GUI client that can be used the define and schedule jobs, however, it also possible to run and montitor jobs via command line as well.
    The documentation helps explain this:
    http://download.oracle.com/docs/html/A92106_01/batch.htm
    Does that help?
    Keith Laker
    Oracle EMEA Consulting
    OLAP Blog: http://oracleOLAP.blogspot.com/
    OLAP Wiki: http://wiki.oracle.com/page/Oracle+OLAP+Option
    DM Blog: http://oracledmt.blogspot.com/
    OWB Blog : http://blogs.oracle.com/warehousebuilder/
    OWB Wiki : http://wiki.oracle.com/page/Oracle+Warehouse+Builder
    DW on OTN : http://www.oracle.com/technology/products/bi/db/11g/index.html

  • 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

  • How to interrupt running subvi with global variation

    Hi,all
       I want to use global variation STOP to interrupt the running VI at anytime, but the subVI must be running until executing the WHILE. I knew when one action is  operated in the EVENT case, the other action will not be iperated. My question is how to solve the problem without  POP subVI and the DATA transmitted to MAIN panel. Give me a suggestion, THKS!
      Lioncsu  
    Attachments:
    Main VI.jpg ‏43 KB
    Sub VI.jpg ‏41 KB

    Hi Lioncsu,
          In Main, when a Start event occurs, the Value of Stop (False?) is immediately written to the Global (once), and SubVI starts running.  The Start event case won't complete - or write another value to the Global - until the SubVI is done.  I haven't run this, but I think pressing Stop may cause the SubVI to run (again) - for one iteration! 
    Attached is a simple VI which uses two loops - one to handle GUI events (the buttons) and one to start a while loop.  Maybe you can replace the while-loop with your SubVI?
    Hope it helps!
    "Inside every large program is a small program struggling to get out." (attributed to Tony Hoare)
    Attachments:
    Notifiers.vi ‏51 KB

  • HOW DO I  RUN A UNIX BASH SCRIPT FROM JAVA??

    HI. Here's a tricky little problem i have. There's a unix bash script that has some commands in it, that manipulate a file. It appends a certain string variable to a file called users. The users file is an ordinary text file.
    I know this script to work perfectly, when i invoke it like this directyl from the command line: ./addusers.sh
    or even: bash /downloads/selinux/policy/addusers.sh
    Now, i have a java program, and its meant to just execute that script. It doesnt throw any Exceptions at runtime. But when i look at the users file, and expect it to have an extra line that was the string variable, the file is UNTOUCHED!
    Again, direct command line invocation works, but not from java. Here's what my invocation from java looks like:
    Process p = Runtime.getRunTime().exec("bash downloads/selinux/policy/addusers.sh");
    The strange thing is, i tried a different bash command. I tried:
    Process p = Runtime.getRunTime().exec("mkdir /temporary");
    and this worked!
    so why not the other one??
    I cant figure it out.

    You say:
    bash /downloads/selinux/policy/addusers.sh
    And you say in Java:
    Process p = Runtime.getRunTime().exec("bash
    downloads/selinux/policy/addusers.sh");
    As if a leading / would be missing from the Java
    version...nyix says:>
    ...OK sorry about that. i DO have a / in front of the downloads.... section in the java method. So its:
    Process p = Runtime.getRunTime().
    exec("bash /downloads/selinux/policy/addusers.sh");
    HELP please?

  • How can i run Following SQL Server Script in to Oracle 10g

    I m new in Oracle...
    Create Procedure Insert_profilebasicdetail
    @isubprofileid as int,
    @Copyisubprofileid as int,
    @itranno as int,
    As
    Begin
    Declare @IncKeyId as int
    Declare @tempkeyId as int
    set @IncKeyId=(select isNull(Max(ikeyId),0)as MaxKeyId from profilebasicdetail)
    Declare TempInsert cursor for select ikeyId--,iprofileid,iquestionid,vquestionans,cstatusindi,dmodifyon,imodifyby,iyear
    from profilebasicdetail where isubprofileid=@Copyisubprofileid and itranno=@itranno
    open TempInsert
    fetch from TempInsert into @tempkeyId
    while @@fetch_Status=0
    Begin
    set @IncKeyId = @IncKeyId + 1
    Insert into profilebasicdetail
    (ikeyid,iprofileid,iquestionid,vquestionans,cstatusindi,dmodifyon,imodifyby,itranno,iyear,isubprofileid)
    values(select @IncKeyId,iprofileid,iquestionid,vquestionans,cstatusindi,dmodifyon,imodifyby,'1',
    iyear,@isubprofileid from profilebasicdetail where ikeyId=@tempkeyId)
    fetch next from TempInsert into @tempkeyId
    End
    End
    Regards,
    Ajay

    YOu want to migrate your MS sql server procedure to Oracle procedure
    Before running procedure please set the values of tempkeyId_v variable
    Try this
    Create or replace Procedure Insert_profilebasicdetail( isubprofileid_v  number, Copyisubprofileid_v number, itranno_v number )
    As
         IncKeyId_v  profilebasicdetail.ikeyid%type;
         tempkeyId_v profilebasicdetail.ikeyid%type;
    begin
          select nvl((select Max(ikeyId) as MaxKeyId from profilebasicdetail),0) into IncKeyId_v
          from dual ;
         for i in (select ikeyId--,iprofileid,iquestionid,vquestionans,cstatusindi,dmodifyon,imodifyby,iyear
                from profilebasicdetail
                where isubprofileid=Copyisubprofileid_v and itranno=itranno_v)
         loop
              IncKeyId_v = IncKeyId_v + 1;
              Insert into profilebasicdetail
                   (ikeyid,iprofileid,iquestionid,vquestionans,cstatusindi,dmodifyon,imodifyby,itranno,iyear,isubprofileid)
                   values(select IncKeyId_v,i.iprofileid,i.iquestionid,i.vquestionans,i.cstatusindi,i.dmodifyon,i.imodifyby,'1',
                        i.iyear,isubprofileid_v from profilebasicdetail where ikeyId=tempkeyId_v);
         end loop
    End;
    / Regards
    Singh
    Create or replace Procedure Insert_profilebasicdetail( isubprofileid_v  number, Copyisubprofileid_v number, itranno_v number )
    As
         IncKeyId_v  profilebasicdetail.ikeyid%type;
         tempkeyId_v profilebasicdetail.ikeyid%type;
    begin
          select nvl((select Max(ikeyId) as MaxKeyId from profilebasicdetail),0) into IncKeyId_v
          from dual ;
         for i in (select ikeyId--,iprofileid,iquestionid,vquestionans,cstatusindi,dmodifyon,imodifyby,iyear
                from profilebasicdetail
                where isubprofileid=Copyisubprofileid_v and itranno=itranno_v)
         loop
              IncKeyId_v = IncKeyId_v + 1;
              Insert into profilebasicdetail
                   (ikeyid,iprofileid,iquestionid,vquestionans,cstatusindi,dmodifyon,imodifyby,itranno,iyear,isubprofileid)
                   values(select IncKeyId_v,i.iprofileid,i.iquestionid,i.vquestionans,i.cstatusindi,i.dmodifyon,i.imodifyby,'1',
                        i.iyear,isubprofileid_v from profilebasicdetail where ikeyId=tempkeyId_v);
         end loop
    End;
    / Regards
    Singh

  • How to run a batch before window log off

    We have a situation. We monitor an application very closely for failure rate. Many users are currently just logging off windows when leaving work. When they use windows log off it kills this application which intern return non-zero exit code(indicating application
    problem). 
    Is there a way to run a batch/powershell script to close application first(we have a method to close it gracefully) before log off process is triggered by windows 7.
    We tried putting a routine in GPO log off script. But widows log off kills all applications before the routine has chance to run.
    Please help.

    Hi,
    Create a batch file and insert the shutdown command in the last line. When you want to shutdown computer, just run this batch file.
    Alex Zhao
    TechNet Community Support

  • How to run a bAtch Job

    Hello ,
    How can I run a batch job (java class) that will update my jsp page with newly added entries from table in database.In short, i want to run a batch job which updates drop down list in jsp page every time any update happens in my table in database.
    Can anyone help with sample code?
    Thanks in advance.

    and my application is a webservice which runs on Tomcat

  • Running a batch file placed on a remote terminal????

    Hi all,
    How can I run a batch file which is located in machine A from machine B.?
    which is the best technology to go for?
    In RMI I need to have a server program running always to run the batch file, so any other alternative where in on demand invocation of batch file can be done.
    A web service is going to invoke this, so plz give me the best way to do this guys..
    waiting for ur reply
    Mithun

    How can I run a batch file which is located in
    machine A from machine B.?
    which is the best technology to go for?JVirus

  • How run a batch file from VBS script?

    I have written a script in which I create a batch file that I want to run. Running it from the Start menu with "Run..." works fine but I would like to do it automatically from the script. I can't find a command that works but I am a beginner, so I'm hoping someone's got a solution?!

    Hi again!
    Thank you for your help but I've just discovered that my problem probably doesn't have to do with the way that I call for the batch file. It's more like this:
    The batch file is run but it only does its job some of the times... The batch contains one name of a converter application (Convert.exe) and the names of some databases and files. I've been told that the conversion should work if Convert.exe is located in the same folder as the files. Which it also does, if I run the batch from "Run..." but not from my code.
    I had it working for a while when I had fiddled (as I said, I'm a beginner at this) with setting some drives, such as userDrv and changing some paths in the script settings. Since I didn't really know what I was doing though, I didn't save these settings when closing down DIAdem and now it's not working again. When it worked, it only worked for the file where my .VBS was saved. The point of the program is to convert files in different folders so that wasn't enough.
    Just for clearity: I can't write the name as "C:\My Folder..." because the batch file name and the folder it is situated in is different each time so I have variables for the path and the batch, but that part seems to work. (Call ExtProgram(batFilename_) where batFilename_ includes the path).  
    So I guess what I need to understand is how the different drives work or maybe I need to somehow change my path settings?

  • I want to know how to create a new script that can be run in batch proces in Photoshop Element 11 ?

    I want to know how to create a new script that can be run in batch proces in Photoshop Element 11 ?

    Have a look at the menu file/process multiple files. You can choose to add your signature (or the caption) to the image and export the new files.
    If that solution is not flexible enough, consider using the very affordable (12$)  Elements+ add-on which offers a 'meta stamp' script :
    http://elementsplus.net/v5/en/meta-stamp.htm
    Otherwise, have a look at other free and good solutions like Faststone Photoresizer, Xnview...

  • [Resolved][ODQ] Error Running Exported Batch Script Outside of ODI

    Dear ODI experts,
    I have Installed 10.1.3.4.0 ---> selected "Oracle Data Integrator, Oracle Data Profiling, Oracle Data Quality 10.1.3.4.0" ---> Complete (1012MB)
    - follow all steps of "Design a Name and Address Cleansing Project" section in Sample Tutorial
    - in "Oracle DQ User Interface", right click Projects->Quality->customer master[1]
    - select "Run" from the context menu
    - the background tasks completed 100% properly
    - export the project as a Batch Script
    - make changes to config.txt, runProjectN.cmd, and *.stx files following as specified in the Sample Tutorial document
    - at step 13-f, got the following errors by executing runProjectN.cmd
    Wed Nov 28 17:18:37 2007 - 03503E ERROR: Can't open file: <D:\Bin\Oracle\ODIDQ10134\demo\oracledq\projects\oracledq\project1\data/e7_us_globrtr_p2.dat>. errno = 2; N
    o such file or directory Occurred in Transformer - (cl_open).
    I did a full search in ODI folders and couldn't find "e7_us_globrtr_p2.dat".
    I tried both export with data and export w/o data with proper change to specify input file path, and got the same error.
    Appreciate any suggestions and/or hints help me further debug of fix this issue.
    Regards,
    Roy
    The following is a complete message echo of runProjectN.cmd
    ===========================================================================
    D:\Bin\Oracle\ODIDQ10134\demo\oracledq\projects\oracledq\project1\scripts>runproject1.cmd
    D:\Bin\Oracle\ODIDQ10134\demo\oracledq\projects\oracledq\project1\scripts>set TS_PROJECT=D:\Bin\Oracle\ODIDQ10134\demo\oracledq\projects\oracledq\project1
    D:\Bin\Oracle\ODIDQ10134\demo\oracledq\projects\oracledq\project1\scripts>set TS_CONFIG=D:\Bin\Oracle\ODIDQ10134\demo\oracledq\projects\oracledq\project1\scripts\config.txt
    D:\Bin\Oracle\ODIDQ10134\demo\oracledq\projects\oracledq\project1\scripts>set TS_SETTINGS=D:\Bin\Oracle\ODIDQ10134\demo\oracledq\projects\oracledq\project1\settings
    D:\Bin\Oracle\ODIDQ10134\demo\oracledq\projects\oracledq\project1\scripts>set TS_DATA=D:\Bin\Oracle\ODIDQ10134\demo\oracledq\projects\oracledq\project1\data
    D:\Bin\Oracle\ODIDQ10134\demo\oracledq\projects\oracledq\project1\scripts>cd /D D:\Bin\Oracle\ODIDQ10134\oracledq\quality_server\tsq11r0s\Software\bin
    D:\Bin\Oracle\ODIDQ10134\oracledq\quality_server\tsq11r0s\Software\bin>call tranfrmr D:\Bin\Oracle\ODIDQ10134\demo\oracledq\projects\oracledq\project1\settings\e5_tranfrmr_p1.stx
    D:\Bin\Oracle\ODIDQ10134\oracledq\quality_server\tsq11r0s\Software\bin>call globrtr D:\Bin\Oracle\ODIDQ10134\demo\oracledq\projects\oracledq\project1\settings\e6_globrtr_p2.stx
    D:\Bin\Oracle\ODIDQ10134\oracledq\quality_server\tsq11r0s\Software\bin>call tranfrmr D:\Bin\Oracle\ODIDQ10134\demo\oracledq\projects\oracledq\project1\settings\e9_tranfrmr_p3.stx
    Wed Nov 28 17:18:37 2007 - 03503E ERROR: Can't open file: <D:\Bin\Oracle\ODIDQ10134\demo\oracledq\projects\oracledq\project1\data/e7_us_globrtr_p2.dat>. errno = 2; N
    o such file or directory Occurred in Transformer - (cl_open).
    D:\Bin\Oracle\ODIDQ10134\oracledq\quality_server\tsq11r0s\Software\bin>call cusparse D:\Bin\Oracle\ODIDQ10134\demo\oracledq\projects\oracledq\project1\settings\e10_cusparse_p4.stx
    Wed Nov 28 17:18:37 2007 - 03503E ERROR: Can't open file: <D:\Bin\Oracle\ODIDQ10134\demo\oracledq\projects\oracledq\project1\data/e9_us_tranfrmr_p3.dat>. errno = 2;
    No such file or directory Occurred in Customer Data Parser - (cl_open).
    D:\Bin\Oracle\ODIDQ10134\oracledq\quality_server\tsq11r0s\Software\bin>call tsqsort D:\Bin\Oracle\ODIDQ10134\demo\oracledq\projects\oracledq\project1\settings\e11_srtforpm_p5.stx
    Wed Nov 28 17:18:37 2007 - 03503E ERROR: Can't open file: <D:\Bin\Oracle\ODIDQ10134\demo\oracledq\projects\oracledq\project1\data/e10_us_cusparse_p4.dat>. errno = 2;
    No such file or directory Occurred in tsqsort - (cl_open).
    D:\Bin\Oracle\ODIDQ10134\oracledq\quality_server\tsq11r0s\Software\bin>call uspmatch D:\Bin\Oracle\ODIDQ10134\demo\oracledq\projects\oracledq\project1\settings\e12_pmatch_p6.stx
    Wed Nov 28 17:18:37 2007 - 03503E ERROR: Can't open file: <D:\Bin\Oracle\ODIDQ10134\demo\oracledq\projects\oracledq\project1\data/e11_us_srtforpm_p5.dat>. errno = 2;
    No such file or directory Occurred in CGeoIO::initGIO - (cl_open).
    D:\Bin\Oracle\ODIDQ10134\oracledq\quality_server\tsq11r0s\Software\bin>call winkey D:\Bin\Oracle\ODIDQ10134\demo\oracledq\projects\oracledq\project1\settings\e13_winkey_p7.stx
    Wed Nov 28 17:18:38 2007 - 03503E ERROR: Can't open file: <D:\Bin\Oracle\ODIDQ10134\demo\oracledq\projects\oracledq\project1\data/e12_us_pmatch_p6.dat>. errno = 2; N
    o such file or directory Occurred in CWKD::initWKD - (cl_open).
    D:\Bin\Oracle\ODIDQ10134\oracledq\quality_server\tsq11r0s\Software\bin>call tsqsort D:\Bin\Oracle\ODIDQ10134\demo\oracledq\projects\oracledq\project1\settings\e14_srtforrl_p8.stx
    Wed Nov 28 17:18:38 2007 - 03503E ERROR: Can't open file: <D:\Bin\Oracle\ODIDQ10134\demo\oracledq\projects\oracledq\project1\data/e13_us_winkey_p7.dat>. errno = 2; N
    o such file or directory Occurred in tsqsort - (cl_open).
    D:\Bin\Oracle\ODIDQ10134\oracledq\quality_server\tsq11r0s\Software\bin>call rellink D:\Bin\Oracle\ODIDQ10134\demo\oracledq\projects\oracledq\project1\settings\e15_rellink_p9.stx
    Wed Nov 28 17:18:38 2007 - 03503E ERROR: Can't open file: <D:\Bin\Oracle\ODIDQ10134\demo\oracledq\projects\oracledq\project1\data/e14_us_srtforrl_p8.dat>. errno = 2;
    No such file or directory Occurred in CMatcher::InitMatcher - (cl_open).
    D:\Bin\Oracle\ODIDQ10134\oracledq\quality_server\tsq11r0s\Software\bin>call common D:\Bin\Oracle\ODIDQ10134\demo\oracledq\projects\oracledq\project1\settings\e16_common_p10.stx
    Wed Nov 28 17:18:39 2007 - 03503E ERROR: Can't open file: <D:\Bin\Oracle\ODIDQ10134\demo\oracledq\projects\oracledq\project1\data/e15_us_rellink_p9.dat>. errno = 2;
    No such file or directory Occurred in Create Common - (cl_open).
    D:\Bin\Oracle\ODIDQ10134\oracledq\quality_server\tsq11r0s\Software\bin>call datarec D:\Bin\Oracle\ODIDQ10134\demo\oracledq\projects\oracledq\project1\settings\e17_datarec_p11.stx
    Wed Nov 28 17:18:39 2007 - 03503E ERROR: Can't open file: <D:\Bin\Oracle\ODIDQ10134\demo\oracledq\projects\oracledq\project1\data/e16_us_common_p10.dat>. errno = 2;
    No such file or directory Occurred in CReCons::initRC - (cl_open).
    D:\Bin\Oracle\ODIDQ10134\oracledq\quality_server\tsq11r0s\Software\bin>
    ===========================================================================
    Solution:
    Needs to modify "e9_tranfrmr_p3.stx" to point to "e6_nomatch_globrtr_p2_us.dat".

    Seems to be the DRM service went down, try running the batch after stopping & restarting the service.

  • How can I run a SQL script file...

    How can I run a SQL script file from a location on my computer without providing the whole path?
    Is there some way I can set a "Working folder" in SQL Plus??
    Thanks!
    Tom

    You can create an environment variable called "SQLPATH" which is a list of directories that SQL*Plus will search for your .SQL
    scripts.
    I would like to use another directory than the oracle/bin...
    How can I do this ??
    Hello,
    U can do this by this way:
    Save odm_script.sql file to the default Oracle
    directory i.e. Oracle-Home/bin and Run following command
    through SQL Plus.
    SQL>@Script_Name
    I hope this will resolve ur problem.
    Regards,
    Omer Saeed Khan.

  • How do I run a script at shut down?

    Hi folks,
    I wrote a script that runs at login that gets my dynamic IP and creates a simple web page with a link to my local computer address for Personal Web Sharing, and then uploads that web page with the link to my ISP homepage server.
    I wrote another script that creates a web page with no link, but contains a message that my home computer is shut down.
    This way, my ISP homepage can have a file that either points to my dynamic IP or has a message that my web server is down.
    So How do I get the shut down script to run at shut down?
    The shutdown script is basically just this to upload an existing html file:
    curl -T shutdown_message.html -u userid:password ftp://ftp.web.isp.server.com/
    or you can dynamically create an html file with current date and expected date you will be back on-line, or whatever, with some simple perl code.
    Thanks.
    G3 Desktop, SonnetEncoreZIF G4 1GHz, 768MB, WingsAV-6MB, DVR-106D, 60GB Maxtor   Mac OS X (10.4.7)   PCI: TempoUltraATA66-120GB Maxtor, 120GB Seagate; TangoUSB/FW; Radeon9200-17"LCD

    Thanks, guys. For the most part I think the DSL keeps the same IP except when I power down. My power went out just as I finished my login upload script, so my first test was out of necessity, and it worked. I could set it up as a cron job on my local machine to regularly test the IP and upload the page.
    reese, When I have a power loss, or non-planned abnormal shutdown, my web page will be out of sync, unless I use something on the ISP server, so that is a good point. I am not sure what kind of scripts I can run on my ISP web server. I don't know if I can set up a regularly scheduled script, or if it would only respond to requests, then it could perform the test on demand. I need to give that some more study. Good suggestion.
    As far as a normal planned shutdown, I thought of one possible work around: to create a script that runs my upload and then executes the shutdown, either by AppleScript or UNIX shutdown command line, not sure which is the most graceful.
    Gary, I looked in the /System/Library/StartupItems and found the Apache scripts in there. They have a StartService and StopService methods defined. I think I could use that as a template to create my own, or just add my scripts to the Apache methods. Since basically I want to run something as Apache is started and again when it stops. That may be the most graceful method. As Apache can get shut down when the machine remains on via System Preferences. You solved my problem Gary, but I marked your message as helpful already. Post back again and I'll give you the Solved Star & points.
    G3 Desktop, SonnetEncoreZIF G4 1GHz, 768MB, WingsAV-6MB, DVR-106D, 60GB Maxtor Mac OS X (10.4.7) PCI: TempoUltraATA66-120GB Maxtor, 120GB Seagate; TangoUSB/FW; Radeon9200-17"LCD

  • How do I run a script on a folder which is only set to run on an individual file?

    I want to use the layer to file script on an entire folder of about 40 files.
    I tried creating an action with "Insert menu item" but when I run the batch file it crashes illustrator.
    I am thinking I should combine the savedocsasPDF example script with the layer to file script but I am having trouble. 
    Would someone be able to point me in the right direction please?
    Thanks!

    I do this like so:
    var inddFiles = GetFilesFromBook();
    for (var i = 0; i < inddFiles.length; i++) {
        inddFile = inddFiles[i];
        app.scriptPreferences.userInteractionLevel = UserInteractionLevels.NEVER_INTERACT;
        doc = app.open(inddFile);
        app.scriptPreferences.userInteractionLevel = UserInteractionLevels.INTERACT_WITH_ALL;
        // Process document
        doc.close(SaveOptions.YES);
    function GetFilesFromBook() {
        var bookContent, file,
        activeBook = app.activeBook,
        files = [];
        for (var i = 0; i < activeBook.bookContents.length; i++) {
            bookContent = activeBook.bookContents[i];
            if (bookContent.status != BookContentStatus.MISSING_DOCUMENT) {
                file = new File(bookContent.fullName);
                files.push(file);
        return files;
    Here is the whole script that you can use as example.

Maybe you are looking for

  • How to restore the R12 from backup?

    Hi, My OEL5 get crashed due to bad sector in hard disk drive in which I have installed R12.I have already copied the whole d02 directory of R12 to another hard disk drive.Now I want to restore the same d02 directory in newly fresh installed OEL5.How

  • Parsing a date error.help with small program

    I would like to read from a file which the user can choose on start of program. I want to read line for line, checking if the format of each is ok. if it is , I add it to ArrayList of good books, if not I add it to ArrayList of error books. The date

  • Forms 6i installation On linux

    installed Oracle forms 6i developer on Redhat Linux AS 3.0 , but i can invoke the oracle Forms Developer only from the root and the user account which i used to install the forms developer . If i try to invoke the forms developer from a different use

  • External Services Management

    Hi Can any one explain what is Service Hierarchy and how many levels of hierarchy are there in different releases of SAP i.e., 4.6C, 4.7EE & ECC 6.0. Earliest reponse highly appreciated. Thanks Sri.

  • ITunes bug or 10.5.5 bug?

    I just installed the latest update of iTunes to my power pc iMAC but have NOT installed 10.5.5. I have not gone to the iTunes Store yet because of all the posts about how it's been freezing and cannot be unfozen even with "force quit". I have 4 quest