![]() |
Passing a parameter to a JS file
Hi
I have an application which calls a JS file, which contains a function, which opens a browser an IE window as an MDI. test.JS file contents below: var AP = new ActiveXObject("Apoint.ASrv"); var OURL = AP.OpenBrowserMDIChildWindow("www.testurl.com"); AP ="" The js file is run by Windows scripting engine. My question is if I want to open any url passed to the JS file on its command line how would I do it? E.g. test.js www.microsoft.com test.js www.testurl.com etc Thanks Adrian |
| All times are GMT. The time now is 09:27 AM. |
Powered by vBulletin®. Copyright ©2000 - 2013, vBulletin Solutions, Inc.
SEO by vBSEO ©2010, Crawlability, Inc.