Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

User Dialog with JavaScript outside of IE

Status
Not open for further replies.

LRSmith

Programmer
Dec 4, 2002
207
US
Hi everyone,

I am by no means a Javascript expert, I have software programming experience, but Javascript has never been a tool I've really sat down to try and learn...until now.

I have a program in Windows I am using that is suppose to support basic Javascript commands. However, this program is completely independent of any browser, so any HTML, IE, or Netscape commands/objects/functions are unavailable to me.

I have a list of JS commands written that will run in this program, but I am looking for a way to prompt the user as a way to pause between these commands. So far on the web the searches I've found all use window-browser functions to achieve this (alert, confirm, prompt, etc.). This "pause" doesn't have to be a dialog box - it can be anything as long as it requires some type of user interaction to proceed on to the next command.

Also - the program I am using does not seem to be able to incorporate functions from the Windows Script Host. I have written Javascript files using WScript objects that run fine from Windows Explorer, but they will not run within this program I am using.

Very frustrating - any pointers would very much be appreciated.
 
Maybe setTimeout() and some kind of keycode check to determine when a particular key(s) is pressed (to continue)?

Tricky to attempt a solution remotely [smile]

Cheers,
Jeff

[tt]Jeff's Blog [!]@[/!] CodeRambler
[/tt]

Make sure your web page and css validates properly against the doctype you have chosen - before you attempt to debug a problem!

FAQ216-6094
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top