![]() |
I use alittle javascript to generate sounds, however...
I found that as default it seems this active x control WScript.Shell is not "secure" in IE settings. When I change security settings in I.E. to initialize and run unsafe active-x controlls it works fine on all computers. Somhow it runs on my machine without that setting, so must have "signed" the controll to safe somhow locally.. How could I make this active-x control safe?? Or is there another way or another controll I can use which is default set to safe to generate sounds? Thanks//Martin function pip(){ var wsh = new ActiveXObject('WScript.Shell'); var beep = 'c:\\WINNT\\Media\\Utopia - starta Windows.WAV' wsh.Run ('sndrec32 /play /close ' + beep ,0, true); } |
i would advise against using active x as most people will not have it turned on....
|
Ditto.. and to be frank it will not work with a lot of browsers, especially for us linux users :P
|
| All times are GMT -5. The time now is 11:01 AM. |
Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC