Can I run a JavaScript file from shell (Window\Linux) ?
I just want to show a message box to the user and based on the button selected perform some action. The buttons also need to be custom开发者_如何学Cized.
On windows you could use JScript.
Is this helpful ?
Interpret and execute arbitrary Javascript in Linux CLI
You can have a look at HTA apps for Windows. It's basically a windows application written in HTML and JS. http://msdn.microsoft.com/en-us/library/ms536496(VS.85).aspx
精彩评论