![]() |
![]() | ![]() | ![]() | ![]() | ![]() | ![]() | ![]() |
| Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks. |
| |||||||
![]() |
| |
| | #1 (permalink) |
| | Running JavaScript from VBS ? Hi there, I would like to run a javascript file directly from the desktop, like a VBScript file. The goal is to run this sort of script, which in turn will open an HTML page inside a Windows window: "window.open (http://www..., arg...)" Thus, it will avoid the internet user from opening a navigator... Besrt regards |
My System Specs![]() |
| | #2 (permalink) |
| | Re: Running JavaScript from VBS ? Oriane wrote on 18 aug 2008 in microsoft.public.scripting.vbscript: Quote: > Hi there, > > I would like to run a javascript file directly from the desktop, like > a VBScript file. > > The goal is to run this sort of script, which in turn will open an > HTML page inside a Windows window: > "window.open (http://www..., arg...)" > > Thus, it will avoid the internet user from opening a navigator... Assign the .js to cscript, or use a .bat to hide the calling line. Seems off topic to me to ask about javascript here, there are good dedicated NG's about jscript and javascript. -- Evertjan. The Netherlands. (Please change the x'es to dots in my emailaddress) |
My System Specs![]() |
| | #3 (permalink) |
| | Re: Running JavaScript from VBS ? On Aug 18, 12:07 pm, "Oriane" <ori...@xxxxxx> wrote: Quote: > Hi there, > > I would like to run a javascript file directly from the desktop, like a > VBScript file. > > The goal is to run this sort of script, which in turn will open an HTML page > inside a Windows window: > "window.open (http://www..., arg...)" > > Thus, it will avoid the internet user from opening a navigator... > > Besrt regards directly to a page in their default browser? If so, simply put the URL on the Target line of the shortcut, as in ... http://google.groups.com If that's not what you're after, you'll need to try again to tell me what you want, because I don't get it. Maybe someone else does, but I don't. I don't see where JavaScript gets into the picture (or VBScript for that matter), among other things. Tom Lavedas =========== http://members.cox.net/tglbatch/wsh/ |
My System Specs![]() |
| | #4 (permalink) |
| | Re: Running JavaScript from VBS ? "Oriane" <oriane@xxxxxx> wrote in message news:1A7434E3-AE45-4F7F-AECD-8CF766A89E0D@xxxxxx Quote: > Hi there, > > I would like to run a javascript file directly from the desktop, like a > VBScript file. > > The goal is to run this sort of script, which in turn will open an HTML Quote: anyway? -- Anthony Jones - MVP ASP/ASP.NET |
My System Specs![]() |
| | #5 (permalink) |
| | Re: Running JavaScript from VBS ? "Oriane" <oriane@xxxxxx> a écrit dans le message de news:AECD39C6-0E46-4243-A79E-5E20748B3C62@xxxxxx Quote: > Hi Anthony, > "Anthony Jones" <Ant@xxxxxx> a écrit dans le message de > news:%23KNCJmXAJHA.5884@xxxxxx Quote: >> In addition to Tom's comment why do you think you need Javascript to do >> this >> anyway? >> > with a fixed size, no URL, no menu... that is to launch IE without the > chrome. That's why I use "window.open", but this means that the users have > to authorize pop up for my particular site, and that's what I would like > to > avoid. > > Of course I can imagine that running "window.open" in a js file outside > the > context of a navigator will not succeed... Nethertheless thank you for > your > help...and I apologize for being off topic... > > Oriane > |
My System Specs![]() |
![]() |
| Thread Tools | |
| |
Similar Threads | ||||
| Thread | Forum | |||
| javascript not running | General Discussion | |||
| javascript | Software | |||
| javascript is off | Network & Sharing | |||
| javascript had it now i don't | Vista General | |||
| javascript | Vista music pictures video | |||