开发者

How to run a JavaScript file from shell?

开发者 https://www.devze.com 2023-01-24 12:59 出处:网络
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开发者_

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

0

精彩评论

暂无评论...
验证码 换一张
取 消