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

Similar Messages

  • Running InDesign in background

    So I wrote an automerge script for InDesign CS5.5 with ExtendScript and javascript. It works fine opening the document and merging records then save and close... Is there a way to have this run in the background instead as like a background task?

    I usually do it like this:
    main ();
    function main () {
        try {
            if ( parseInt ( app.version ) > 6 ) {
                var
                    _scriptRedraw = app.scriptPreferences.enableRedraw,
                    _userInteraction = app.scriptPreferences.userInteractionLevel;
                app.scriptPreferences.enableRedraw = false;
                app.scriptPreferences.userInteractionLevel = UserInteractionLevels.NEVER_INTERACT;
                if ( app.documents.length ) {
                    var
                        _dP = app.documents[0].preflightOptions.preflightOff;
                    app.documents[0].preflightOptions.preflightOff = true;
                    app.doScript ( doStuff, undefined, undefined, UndoModes.ENTIRE_SCRIPT, "My Function" );
                    app.activeDocument.preflightOptions.preflightOff = _dP;
                } else {
                    /* NO DOCUMENTS OPENED */
            } else {
                /* WRONG APP VERSION */
        } catch ( _ ) {
            /* DISPLAY SCRIPT ERRORS */
        } finally {
            app.scriptPreferences.enableRedraw = _scriptRedraw;
            app.scriptPreferences.userInteractionLevel = _userInteraction;
    function doStuff () {
        /*DO YOUR STUFF*/
    Hope that helps.
    Marijan (tomaxxi)
    http://tomaxxi.com

  • How to Run Jar in Background process

    Hi,
    I am develop one application in java,
    I have some problem in my application,
    whats my problem is, I want to run my jar file
    in system background, that is when i was start the system
    my jar gets ready to run the application,
    Can any one please give some idea to how to run my jar in
    background task and how to start the jar when the system
    start.
    Thanks in advance,
    Regards,
    Ganesh Kumar.L

    Hi
    It has been a while since you asked your question- I hope you still need the solution. Java typically does not support this because it is platform specific. I don't know what operating system you are working on. I assume Windows. There are numerous ways to do this in Windows. The easiest is to copy the program into the startup folder. The directory is: C:\Documents and Settings\All Users\Start Menu\Programs\Startup. Another way, less visible to the user, is to make an entry in the registry. If you place the location of the program as data in a key in HKLM\Software\Microsoft\Windows\Current\Version\Run of the registry, it will start with the system. This is hard to do in Java (for obvious reasons) however it is not impossible. You can use JNI which is really difficult to learn and hard to implement or you can use
    Process p=Runtime.getRunTime().exec({"reg.exe","add HKLM..."});This will execute the Windows utility reg.exe with the arguments provided by the second in the array of Strings. Documentation on reg.exe can be found through the command prompt. There are other ways such as modifying Autoexec.bat however they are less reliable
    Hope I helped

  • 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.)

  • How to run MIDlet in background in J2ME?

    Hi Friends,
    I am new guy to J2ME and MotoRazr. I just want to run application in background while other application as normal. I am targeting MotoRazr v3xx, MIDP-2.0 & CLDC-1.0.
    In some post I found that we can use "Backgrounf: True" in JAD file, I tried this but it is not working.
    Can someone will help me?
    Thanks
    From
    [email protected]

    Thanks deep,
    But I really searched in forum .... and now also I am searching. But haven't found any solution.
    I just got some keywords like
    1) pauseApp()
    2) display.setCurrent(null)
    3) PushRegistry
    4) MIDlet without UI
    5) in JAD file "Background: True"
    6) Thread
    Can you tell me which should I use?
    My exactly problem is to Run a process in background which will trap key events while other applications are running.
    What do you do suggest?
    Thanks

  • 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 report in background, save output to word or excel

    Hello all,
    I have a huge report that needs to be run in background and I need the report in word. When running in Dialog it takes too long and SAP times out. How do you get something to run in background and have the output in excel. I know you can go into SM37, find the spool and then forward the spool request to a local file, is there an easier way to do it? Maybe setting up some kind of to text printer since the background job always asks for the output printer. Any suggestions?
    Thanks a lot,
    Sergiy

    Hi,
    Please check the article below:
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/f048c590-31a4-2c10-8599-bd01fabb93d4?quicklink=index&overridelayout=true
    -Vikram

  • How to run threads in background

    hi everyone!
    I need some hints on my problem!
    I have an application with some working threads. When the user minimizes the app the app should go to the system tray and the threads should keep working.
    I already know how to put an icon with popup menu in the systray. Now, how can I run the working threads in background?
    Can anybody help me?
    C u,
    Filipe

    I said that because as far I understood the following code it just creates an icon and popup menu, right?
    So, when the user minimizes the app I need to kill it, create the icon and popup menu and leave the threads working.
    public class SystemTrayDemo extends JFrame
         private static final long serialVersionUID = 1L;
         public SystemTrayDemo()
              JPopupMenu menu = new JPopupMenu("Menu");
              JMenuItem menuItem1 = new JMenuItem("Menu1");
              JMenuItem menuItem2 = new JMenuItem("Menu2");
              JMenuItem menuItem3 = new JMenuItem("Menu3");
              JMenuItem menuItem4 = new JMenuItem("Exit");
              menu.add(menuItem1);
              menu.add(menuItem2);
              menu.add(menuItem3);
              menu.add(menuItem4);
              menuItem4.addActionListener(new ActionListener() {
                   public void actionPerformed(ActionEvent evt) {
                        System.exit(0);
              ImageIcon icon = new ImageIcon("database.png");
              TrayIcon trayIcon = new TrayIcon(icon, "Hello System Tray", menu);
              SystemTray tray = SystemTray.getDefaultSystemTray();
              tray.addTrayIcon(trayIcon);
         public static void main(String[] args)
              try
                   javax.swing.UIManager.setLookAndFeel("com.sun.java.swing. plaf.windows.WindowsLookAndFeel");
              catch(Exception e)
                   System.out.println(e);
              new SystemTrayDemo();
    }}

  • How to run form in Background

    Hi Experts,
    I have created a form and its print program for purchase order. they are assigned to T-code: ME22N through NACE.
    Now i need to run ME22N in both foreground and background.
    If we execute in foreground, it should display the printpreview. for that in ME22N, we have a button for print preview.
    If we execute it in background, it should generate a spool, with out any printpreview. How can we do this....?
    Please some one help me in this regard.
    Thanks in advance.

    In the IMG (SPRO) under materials management -> purchase orders -> messages - > output control -> message types -> define message types
    Set up one message type for print preview.  Set up a different message type for no print preview under fine tuned control.

  • How to run apps in background

    I wish to run an application in the background so that it does not show up in (and take up valuable space on) the dock. How do I do this? I've tried setting the "Hide" check box in the account preferences but the app still shows up in the dock.

    what you can do is click the home key 2 and see if the app is open if not just open it and then lock the ipod

  • How to run oli7bw in background??

    Hi all
    I would like to run the oli7bw transaction in background .
    how to do it?
    thanks in advance,
    Jayashree

    Hi,
    Put the selections in, enter a name for the run, enter a setup date and time for the future.  Click on menu option Program --> execute in background.  It will popup print parameter select the ok button> it will give another pop-up for start time.  You can select immediate and the job will be scheduled immediately in the background, or you can select Date/time and give a date & time it should start.
    Cheers..
    PS: I hope you are in the testing phase and not doing it in the live environment.

  • How To Run Process In Background?

    Hi,
    I'm writing a CORBA Server, and basically, I need to spawn a process in the background. The process is:
    tnameserv -ORBInitialPort 1250
    I am new to Java, and am not sure how to go about doing this. Any sample code would be appreciated.
    Thanks!

    You could use a TimerTask - a user friendly way of spawning a Thread.
    For example, the class from which you want to spawn a Thread could have the following lines: -
    Timer timer = new Timer();
    timer.schedule(new MyTimerTask(), 6000, 3000);
    ...where MyTimerTask is a class you write yourself. It must extend java.util.TimerTask and define a method with the following signature: -
    public void run()
    The run method should execute the task that you need performing in the separate Thread.
    In this example, your main class would call the run() method of MyTimerTask after a delay of 10 minutes (6000 miliis) and would then continue to call it every 5 minutes.
    Hope this helps!
    Jon

  • 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 RPUBEN62 in background

    We designed our savings plan as an automatic plan and the business process is to have HR run HRBEN0012 to enroll hires every Monday morning.  However, our HR do not want to run this manual process.
    We tried to put RPUBEN62 on background job, but failed because it performs the 'Call screen 2000.' command in the END-OFSELECTION event in include BEN62E01, and this command causes the program to stop processing and the SAP GUI window is closed.
    We contacted SAP support and was told that RPUBEN62 is designed to run foreground, and we just started contacting SAP to see whether we can convince them to offer background run option.
    Any suggestion?  We do not want to clone the program if possible.
    Thanks.

    Sorry was searching for something else and seen this post, kinda old.
    We created a custom copy of   RPUBEN62, and run on a daily basis in the background. It is possible and saves some work for HR by automatically creating the standard plans for all new employees.
    B~

  • 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
    >

Maybe you are looking for

  • SAP HR infotype access through portal

    Hi All, Below is the client requirement *They want to access an infotype "pa9016" in portal* In order to do is I have created a SAP Transactional iview and selected the system and in the Tcode area I have given the infotype name "pa9016". Assigned th

  • Spotlight Doesn't Search Imported Email Folders

    I recently bought a new Macbook Pro 15in. (first Mac) and used PST Converter Pro to convert about 20,000 emails from Outlook on my PC. From what I can tell, the emails seem to be all there and I can read them just fine. I cannot, however, use Spotlig

  • Any word on when Telenav will be reads

    http://www.telenav.com/ Is there any other speaking navigation solution out there?

  • I need you help ?how to make version based download

    Could you please send me a very basic war file that work with the version protocol ? I'd never been able to make it work ? Thanks !! mailto:[email protected]

  • Wireless don't connection in windows 7 home premium tx1330la turion x2

    please, I have read other forums but none of the drivers it says working properly and I could not connect my wireless, the sp45520 does not work. I installed the windows 7 and everything except the wireless working properly, how to spread this vital