1 Reply Latest reply on Feb 3, 2009 12:57 AM by liedzeit

    Login into K4

      Hi

      I tried this procedure of Logging into K4 using scripting. then i get an error which says Base Plugin isnt installed properly or is disabled

      http://www.adobeforums.com/webx/.59b4ec72/0

      I modified it to

      #targetengine "session"
      main();
      function main(){
      var myEventListener = app.addEventListener("beforeNew", K4Login, false);
      }
      function K4Login()
      {
      app.k4LogIn("Admin","test@123");

      }
      app.documents.add();

      I need to login into k4 using startup scripts. Is there any chance?

      Thanks
        • 1. Re: Login into K4
          liedzeit Level 2
          I tried for quite some time but without success. It seems that the K4 plug-ins are not yet loaded when the events fire.
          What I finally did is this:

          I have an AppleScript in my start objects of the computer that just creates a document and closes it again.

          activate Adobe Indesign CS3″
          tell application Adobe InDesign CS3″
          set temp to make document with properties {showing window:false}
          close temp saving no
          end tell

          Then an afterNew Script similar to yours in startup of InDesign logs in. Not the most elegant way but working.

          Ralf