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 gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Executing an .exe file with Javascript 1

Status
Not open for further replies.

oldnewbie

Technical User
Dec 6, 2000
9,142
CA
Hi all:
If this is all possible... What would the javascript line be to open an .exe file, such as a Shockwave Flash or a simple .swf file?
Thanks.

;-)
 
usually html is enough : <a href=&quot;foo.exe&quot;>launch foo</a> will execute foo.exe
 
Thanks Iza! I sort of new that... but what I'm really looking for one, is a way to avoid the <Open>/<Save> dialog box that comes up and even the security warning afterwards. Secondly, I'm trying to do this within a Flash presentation. I can always &quot;cheat&quot; the link in the html as being part of the flash movie but I'd like to be able, using Flash's FS Command & javascript to launch an .exe(Shockwave Flash) or another .swf file as I can popup an alertbox! I just can't find an example of that javascript.
Hope this is clear, and thanks for any further help.

;-)
 
You souldn't need to use javascript to do this, in flash, use the actions to load and play another movie at your command. you could also use flash to change the url of the web browser to the other flash movie. I think the command is getUrl. for more information, check out the flash forum.

theEclipse
eclipse_web@hotmail.com
robacarp.webjump.com
**-Trying to build a documentation of a Javascript DOM, crossbrowser, of course. E-mail me if you know of any little known events and/or methods, etc.
 
I think you can do that only with Java if that helps you send me a mail and then I'll design a Class for you my e-mail is
f_dalorzo@hotmail.com
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top