Cesar
See Introducing HTML5 extensions | Adobe Developer Connection
Regarding self-closing alerts, on Mac it's easy
app.doScript ("""tell application "Finder" display dialog "Hello, World!" giving up after 2 end tell """, ScriptLanguage.APPLESCRIPT_LANGUAGE)
but on widows it looks like the only way to do it is making a vbs file as the doScript doesn't work in this case. I doubt that will solve your problem.
See my post
from line 47 for an example
HTH
Trevor