How to run InDesign Javascript without Interruption

Hi all,
I want to run InDesign Javascript, while running the script nobody should interrupt. How to do it???
Thanks in Advance,
Mahesh

[Jongware] wrote:
You might also ask the user to un-plug the keyboard, let the script run, and then plug in the 'board again. (Altho' that might lead to a practical problem: "Remove keyboard, then press any key to continue". I'll leave that to solve for the OP.)

Similar Messages

  • How to run the form without logon?

    sir:
    I want to create the application without logon,but before the
    form appear,I must logon, I want to know how to run the form
    without logon(comment:I don't connect to database!);
    null

    steve (guest) wrote:
    : Create trigger ON-LOGON. Supply alternative logon code
    : or NULL; if you want to do nothing. Form will execute
    : but will not produce logon window.
    : gang lee (guest) wrote:
    : : sir:
    : : I want to create the application without logon,but before
    the
    : : form appear,I must logon, I want to know how to run the form
    : : without logon(comment:I don't connect to database!);
    Mr steve,thanks for your help!
    null

  • How to run java servlet without using Web.xml?

    How to run servlet without using Web.xml? From a book, I know that web.xml descriptor is optional, but the book doesn't tell us how to run java servelet without web.xm descriptor. So how to do that? Thanks a lot.

    How to run servlet without using Web.xml?But Tomcat now uses a web.xml for its global server-wide configuration.
    If you'd like to invoke a servlet with:
    http://host/servlet/ServletName
    you have to enable the invoker servlet.
    [from an HTML]
      <FORM METHOD="POST" ACTION="/servlet/HGrepSearchSJ">
    [from resin.conf of Resin Web Server 2.1.12]
      <!--
         - The "invoker" servlet invokes servlet classes from the URL.
         - /examples/basic/servlet/HelloServlet will start the HelloServlet
         - class.  In general, the invoker should only be used
         - for development, not on a deployment server, because it might
         - leave open security holes.
        -->
      <servlet-mapping url-pattern='/servlet/*' servlet-name='invoker'/>
    [from TOMCAT5.0.19/conf/web.xml, a global server-wide web.xml file]
      <!-- The "invoker" servlet, which executes anonymous servlet classes      -->
      <!-- that have not been defined in a web.xml file.  Traditionally, this   -->
      <!-- servlet is mapped to URL pattern "/servlet/*", but you can map it    -->
      <!-- to other patterns as well.  The extra path info portion of such a    -->
      <!-- request must be the fully qualified class name of a Java class that  -->
      <!-- implements Servlet (or extends HttpServlet), or the servlet name     -->
      <!-- of an existing servlet definition.     This servlet supports the     -->
      <!-- following initialization parameters (default values are in square    -->
      <!-- brackets):                                                           -->
      <!--                                                                      -->
      <!--   debug               Debugging detail level for messages logged     -->
      <!--                       by this servlet.  [0]                          -->
        <servlet>
            <servlet-name>invoker</servlet-name>
            <servlet-class>
              org.apache.catalina.servlets.InvokerServlet
            </servlet-class>
            <init-param>
                <param-name>debug</param-name>
                <param-value>0</param-value>
            </init-param>
            <load-on-startup>2</load-on-startup>
        </servlet>
    ---comment out below----------------------------------------------------------
        <!-- The mapping for the invoker servlet -->
    <!--
        <servlet-mapping>
            <servlet-name>invoker</servlet-name>
            <url-pattern>/servlet/*</url-pattern>
        </servlet-mapping>
    -->

  • How to run a Plugin, without opening Adobe indesign

    Hi,
    Does anyone know how to run a plugin as a service or something like that...
    What i want to do is,
        I have written a plugin that can read texts from indd files & save them as .txt files.
    now i want to put indd files in to a folder & once a new file comes to the folder, read that new file automatically  and save as txt.
    for that I want to run the plugin, without opening the indd file.
    I hope CS6 SDK support to do that.
    Please let me know if anyone has any idea...
    Thanks.

    Hi Menan,
    Thank you very much for your reply...
    I'll explain you what my requirement is,
    My final goal is to run the Indesign application(including my plugin) in a server &  put all indd files in to a location(ex.folder) &
    once an indd file comes to that folder it'll be automatically read by Indesign application & save the extracted data in a separate location(ex.another folder) as tex files. then human interaction is not needed...
    My precsent problem is,
           Can I read an indd file, without opening indd file in Indesign application (may be giving a path to a indd files included folder or some way like that).
    Currently,
      first i open the Indesign Application -> Open the indd file(intended to be read) -> Run my plugin.
    Now I Get the document with,
    IDocument* document = Utils<ILayoutUIUtils>()->GetFrontDocument();
    But what I want is,
    while the Indesign application is running on a PC, if an indd file comes to a given location(folder) it to be read automaticaly without opening my pluging.
    To do that My idea is,
      * Any time when the Indesign apllication is opend my plugin should automatically start running,
    * once a new file comes to a given location(folder) plugin shoud be automatically triggered & read the file.
    Please help me with your ideas..
    Thanks.

  • How to run a programm without dos-box

    hello everybody,
    if have got a "simple" question:
    How to run a java-programm under windows without an dos-box?
    Whenever I start an programm from a batch-file a console is opend, I dont need that console and want it to disapear!
    can anyboby help me? are there special tool or anx tricks?

    ... and remember to call exit in the batch file, otherwise it may stay visible.

  • How to run the javascript in httpunit

    I need to run the javascript code in the HttpUnit.I appreciate if any body helps out in this regard.

    You can't. Don't try. Try something else... Women and children first.... Run away. Run Away !!!!
    Without pushing the point too hard we had three seriously bright sparks (and a halfwit McManager) trying to answer that exact question for the better part of a month before they just have up and ripped all the fancy (read stupid) dhtml menu's out of the product to get it to run with httpunit.
    I've never had anything to do with html-unit so I can't comment on it.
    Keith.

  • How to run java application without having java environment in  a machine

    can i run java application without having java environment(JVM) in a machine.I mean i dont have installed j2se or jdk in my machine.And i have an j2ee application running on another host which is built in swings.I want to access that application in my machine
    can any one help regarding my problem

    If you only need to access the program from one machine and you are running a Unix-like operating system (e.g., Linux, Solaris), you can use the remote display capabilities of X11. In this case you have to choose the host where the app will be displayed when you start it:
    $ DISPLAY=<hostname>:0.0
    $ export DISPLAY
    $ java ...
    If you want to be able to display it on both machines at the same time, or if you are using windows, then try something like VNC (http;//www.realvnc.com). Or if you are running windows and your version supports it, you can use windows remote desktop.

  • How to run Indesign CS6 as a service

    Is there any posiblity to run indesign CS6 as a service, in a separate server or PC?

    You could use InDesign Server, that can be run as a service. Have a look at its documentation for more details.
    -Manan

  • How to run InDesign in background?

    I mean to make InDesign application invisible while processing my script?    

    Which might be a reason to find a different method than indesign.
    This kind of Policy produces 2 things:
    First: They push Mediumsized companys to work illigal or not with indesign at all if they have some special needs which will be only legal by an indesign server.
    Second: They prohibit some external Developments or releases because it would be illigal tu use it.
    Theres no way to start indesign in Background with its own api (this is not 100% for shure but 95% :-)
    It might be Possible but not by VBA or Java, there are some workarounds with VB and c++ but this is a complete different animal.
    However maybe it would be legal using somekind of passive server. Means a timejob on one Computer working a set of data in some directory or Database down. It would not be a real server since the jobs starting itself on the Workstation and not by command from another application.
    Or Make a script which runs in a loop with a time break. In case 1 you have to make your own Atomic.
    But im really not shure how legal that would be. Anyway how legal the split client and Server in the policies by adobe is another animal too.
    Its hard to determine whats a server whats not in many cases.
    lets say you send the data directly to an automated workstation to work on it - is it an Server?
    if the workstation needs a pressing button thing is it or not? In that case you can use a macro keyboard to do this - is it then a server ?
    again i dont not understand this policies since you cannot start a multhithread on indesing workstation anyway it would be unuseable for real server applications. you cannot make a hing like a webservice because its simply to slow and unstable.
    didnt solve our problems but to be honest, im shure bevore a customer with lets say 8 or 9 employes buys a server for 30k he will work illigal (so are back to my beginning post)
    The Question is if indesign is really needed. today i see many prints going out by pdf... so there could be easier ways
    take a look on some report generators like crystal reports. for many needs absoloutly enough

  • How to run all slides without stop?

    I´m watching an online course made with Flash.The course consists
    of several chapters/slides. After every slide I have to press the play button
    to start the next slide, which is a huge interference
    How do I make all slides run without me having to start all of them manually??

    There are plenty of folks that design things that don't do what others expect they should.  These forums themselves are a grim example of that.  I, personally, wouldn't bother getting so worked up about it--there are far greater woes in life than presentations that don't play thru without using controls.

  • How to Run Indesign Script in a file from plugin code in CS4?

    Hi,<br />I have the code to execute the InDesign script stored in external file for InDesign CS3.<br /><br />InterfacePtr<IScriptManager> scriptManager(Utils<IScriptUtils>()->QueryScriptManager(kJavaScriptMgrBoss)); <br />InterfacePtr<IScriptRunner> scriptRunner(scriptManager, UseDefaultIID()); <br />     IDFile scriptFile(scriptFilePath); <br />     if (scriptRunner->CanHandleFile(scriptFile)) <br />     { <br />       ScriptData returnValue; <br />       PMString errorString; <br />       ErrorCode error = scriptRunner->RunFile(scriptFile); <br />         ASSERT(error == kSuccess); <br />     } <br /><br />But the RunFile() method is cs4 expects an additional argument of the type RunScriptParams. <br />Someone please show me with a code snippet on how to excute a script file in CS4??

    Dear Ian
      Here I'm used the below coding in CS3, Its working fine....
    //In CS3 Coding
      PMString jsFullPath("c:\\windows\\sample.jsx"); // a path to my java script file
    do
    const
    IDFile outFile(jsFullPath);InterfacePtr<IScriptManager> scriptManager(Utils<IScriptUtils>()->QueryScriptManager(kJavaScriptMgrBoss));
    ASSERT( scriptManager ) ;
    InterfacePtr<IScriptRunner> scriptRunner(scriptManager,UseDefaultIID());
    ASSERT( scriptRunner ) ;
    if(scriptManager){
    InterfacePtr<IScriptRunner>scriptRunner(scriptManager,UseDefaultIID());
    RunScriptParams params(scriptRunner);
    ErrorCode err = scriptRunner->RunFile(outFile, kTrue, kFalse);
    while(kFalse);
    But the same time I used this coding in CS4, Its not woking
    //In CS4 Coding
    PMString jsFullPath("c:\\windows\\MacID\\BIN\\sample.jsx"); // a path to my java script file
    do
    const
    IDFile outFile(jsFullPath);InterfacePtr<IScriptManager> scriptManager(Utils<IScriptUtils>()->QueryScriptManager(kJavaScriptMgrBoss));
    ASSERT( scriptManager ) ;
    InterfacePtr<IScriptRunner> scriptRunner(scriptManager,UseDefaultIID());
    ASSERT( scriptRunner ) ;
    if
    (scriptManager){
    InterfacePtr<IScriptRunner>scriptRunner(scriptManager,UseDefaultIID());
    RunScriptParams params(scriptRunner);
    ErrorCode err = scriptRunner->RunFile(outFile, params);
    while(kFalse);
    I changed the "RunFile" arguments also
    RunScriptParams params(scriptRunner);
    ErrorCode err = scriptRunner->RunFile(outFile, params);
    But Still I'm facing the problem in InDesign CS4.  That's mean  "Adobe InDesign CS4" shout down for serious error happend.
    Please kindly help me, for solving this problem.
    Thanks & Regards
    T.R.Harihara Sudhan
    Message was edited by: Adobe-InDesign CS4

  • How to run a subVI without poping up normally, but when clicking a button, popup the front panel?

    I know pop-up the front panel of a subVi when called by selecting VI Properties>>Windows apperence.
    But what I need to do is: always run the SubVI inside the parent VI as the nornal subVI do without poping up. But when I click a button"show front panel", the SubVI popup the front panel.
    Is there anyway to do this?
    Thanks,

    ossoo,
             You can use a static VI reference to the subVI and then use the Front Panel Open invoke method to show the front panel when you want. I have attached two VIs that show this. I saved these VIs for LabVIEW 2009 so you should be able to open them up and run them in 2009 or later. Add.VI is the subVI that you are calling. The Caller.VI is just a While Loop that contiually calls the Add subVI. Inside of the While Loop is also a Case Structure with a Static VI Reference (you might need to change the path this is pointing to after downloading the VIs to your computer for this to work) and the Front Panel Open invoke method. You can run the Caller.VI and interact with the main Front Panel as normal and see the subVI but then you can click the Open subVI? boolean button and it will open the subVI's front panel. You can continue to interact with the main front panel and see the values update on the subVI's front panel as well. You can just close the subVI's front panel when you are done viewing it. Does this help?
    Grant H.
    National Instruments
    LabVIEW Product Marketing Manager
    Attachments:
    Caller.vi ‏19 KB
    Add.vi ‏23 KB

  • How to run Indesign CS3 as a Service with Port number

    Hello all,
    I would like to run the InDesign CS3 Server as a service on Windows. It seems that after installing the Server it automatically installs as a service. But where can I assign the port number. If under Services properties of InDesign Server under Parameters I mention -port 1050 on Ok button it removes the parameter information.
    I am doing right or is there some other way to start the Server as Service with Port number.
    Thank you all in advance.
    Regards
    Farzana.

    Hi Sascha,
    have you tried to remove the service and install it manually?
    \"Path to IDS"\InDesignServerService /install /u
    \"Path to IDS"\InDesignServerService /install
    I guess you've tried to start the instance in the console already (successfully?).
    Regards
    Ingo
    Am 05.07.2011 um 12:18 schrieb 1000grad_Sascha:
    Hi Ingo,
    I've installed the Snap-In and configured one instance. Maybe it's worth mentioning that there are some instances running at the same time, which have been started using the console. Hope that's not interfering. However, the MMC-configured instance uses a different port.
    I tried to start the service with a huge range of users having all imaginable privileges. The common way of using either "LocalService" or the Local System Account (which has admin rights for me) doesn't do the job.
    cheers,
    Sascha
    >

  • How to run Indesign on ten journalism computers affordably in public high school?

    We get money every five years for new software. For our school news paper and yearbook we have $2,000 every five years. That equals $200 a copy for software per machine (we use 10 computers for newspaper editors and yearbook staff).
    Under current adobe CC pricing we would be charged $19.99 a month for InDesign (plus other stuff we don't need) X 12 months X 5 years X 10 machines = ~ $12,000 every five years, as long as the price does not go up  (five years is our curriculum adoption cycle).
    We only have $2,000 every five years.
    If Adobe can come up with a more affordable pricing option, we can continue to use their products. If not, Adobe products will be replaced by lower cost options. We used to spend $3,000 every five years on MS Office products and now we spend nothing, using only google products. They are not as good but I was not able to win the argument presented by principals and district level purchasers who said kids could still succeed without using the best Office tools. I would hate to lose all our adobe products too.
    I have bought thousands of dollars of Adobe products for the classroom and personally over the years. Please find a way to support me and my students.
    Regards,
    Howard Roark Roney, RFSD, Glenwood Springs, CO 81601
    [email protected]

    This is just a user forum. While I sympathize with your plight, this is not the proper channel for contacting Adobe.
    You can check this out: http://www.adobe.com/volume-licensing/education/adobe-value-incentive-plan.edu.html?
    But I’m afraid even with educational pricing your budget is unrealistic. If my math is correct you have a budget of $20/year per machine for software.
    You might want to look at scribus. It’s opensource and free. http://www.scribus.net/canvas/Scribus
    Good luck.

  • How to run a script without Photoshop's GUI or...

    within GUI, but without animation of every command in the script?
    I need to process huge number of pictures - animation makes serious impact on performance...
    Thanx all.

    In VB/VB.Net you can use the visible property and make Photoshop invisible. I don't think it appreciably speeds up the processing but it does seem to help some.
    The downside is if your application has some kind of issue and doesn't make Photoshop visible again before quitting. At least in older versions (pre CS3) I experienced Photoshop not showing itself even after stopping and restarting, including re-booting etc. You had to run a program that made it visible again. At least that was my experience.
    I don't know if that is still true in CS2/CS3/CS4 however and may not be.
    While I haven't done any highly controlled bench marking, I have found that in CS4 (at least the original public release of it), VB.net seemed to outperform java script doing the same thing by about 33%. I did my best to make both as efficient as possible and I just couldn't get the java script stuff to operate as fast. I was surprised. Again, it wasn't as controlled as it should have been, but it was at least consistent.
    Another thing that should make the execution more efficient is to make sure the layers palette is either not shown or is collapsed. That actually seems to speed things up quite a bit. The program doesn't have to show all the changes happening in that palette. Of course all pallets that change upon execution of commands should also be closed or collapsed. This should be done even if you are going to minimize and/or hide photoshop too. I'm of the opinion (via observation) that the program knows when these palettes don't need to be updated and so they must avoid doing the code behind the display of the change.
    Regards
    George Smith

Maybe you are looking for