0

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 customized.

1
  • Message Box? Button? How are those going to be generated in a shell? I think you'd need to script a browser for that. Commented Nov 8, 2010 at 13:14

3 Answers 3

0

On windows you could use JScript.

Sign up to request clarification or add additional context in comments.

Comments

0

Is this helpful ?

Interpret and execute arbitrary Javascript in Linux CLI

Comments

0

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

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.