slavik_h
Full Member | Редактировать | Профиль | Сообщение | Цитировать | Сообщить модератору <html> <body> <script language="javascript"> /* This script is offered as-is, with no warranty , implied or otherwise. This is to be used entirely at your own risk. In other words, if you run this & it breaks your computer, it's not my fault. */ <!-- var gsNO_WCRIPT_ERROR='This requires the Windows Scripting Host, which is not installed on your System.\n'+ 'You may download the Windows Scripting host from \n'+ 'http://msdn.microsoft.com/scripting .' var win = external.menuArguments; var sFile; var element = win.document.activeElement; try { var WshShell = new ActiveXObject("WScript.Shell"); var oExec = WshShell.run('"C:\\PATH2\\USDownloader.exe" "'+element.href+'"', 2); } catch(ex) { win.alert(gsNO_WCRIPT_ERROR) } --> </script> </body> </html> |