This content has been marked as final. Show 2 replies
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.
In order to communicate with extendscript, you'd have to go through the operating system's command line.
From there you'd invoke the scripting system with "OSAScript"
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.
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.
How to open a application with file using script via html in MAC.