Hi Guys, I am pretty new to javascript but have previously used other people's scripts in some of my webpages in the past. This time round I have an application that I am using that displays the caller's phone number but not in a web page. I simply want to display the number in an alert style box, but when I try alert("Caller is ext.459"); I get an error saying object expected. This led me to guess that when you use the browser the object already exists so I would like to know how I go about creating the object so I can display alerts amongst other things without using my script in a browser. Bascially I would like to be able to double-click a .js file on my desktop and have it display a message, sounds simple enough but all tutorials I have found relate to web base usage of javascript. I had the choice of writing this in VBScript, JScript or Javascript and opted for javascript as I think I will also be using this more in the future. If anyone could provide some direction or examples in any of these languages that would be a great help for me. Thanks for your time
Maybe this might help: WshShell = WScript.createObject("WScript.Shell"); WshShell.Popup("Caller is ext.459"); Code (markup):