2 Replies Latest reply on Jun 2, 2008 6:24 AM by (vinothjaguva)

    ExtendedScript from html page

      Hello,

      can i make script in the extendedScript toolkit(this script place document to indesign application) and run this script from html page?

      or is there integration between extendedscript and html?

      thanks
        • 1. Re: ExtendedScript from html page
          Dirk Becker  Level 4
          HTML pages are usually displayed in web browsers, whose security model is designed specifically against any access to local resources, especially such calls to local applications.

          Besides to browsers, on the Mac, the "Dashboard" allows you to write little applications "widgets" exactly the way you're suggesting. It uses WebKit to display HTML.
          http://www.apple.com/downloads/dashboard/

          In order to communicate with extendscript, you'd have to go through the operating system's command line.
          http://developer.apple.com/documentation/AppleApplications/Conceptual/Dashboard_ProgTopics /Articles/CommandLine.html

          From there you'd invoke the scripting system with "OSAScript"
          http://developer.apple.com/documentation/Darwin/Reference/Manpages/man1/osascript.1.html

          then pass on your extendscript and arguments into InDesign via doScript.

          Another alternative to the main HTML browser is AIR, which also has an instance of WebKit for HTML display.
          http://livedocs.adobe.com/labs/air/1/quickstartshtml/

          Apparently it is possible to invoke BridgeTalk - the Creative Suite's inter application communication used by extendscript - straight from AIR. I don't yet have references how to do that, found the link below just yesterday.
          http://www.inthemod.com/bps/?p=165

          Dirk
          • 2. Re: ExtendedScript from html page
            Hi

            How to open a application with file using script via html in MAC.