<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[Серый форум &mdash; JS: Запуск файла по клику]]></title>
	<link rel="self" href="http://forum.script-coding.com/extern.php?action=feed&amp;tid=12398&amp;type=atom" />
	<updated>2017-02-03T15:39:43Z</updated>
	<generator>PunBB</generator>
	<id>http://forum.script-coding.com/viewtopic.php?id=12398</id>
		<entry>
			<title type="html"><![CDATA[Re: JS: Запуск файла по клику]]></title>
			<link rel="alternate" href="http://forum.script-coding.com/viewtopic.php?pid=111811#p111811" />
			<content type="html"><![CDATA[<p>Может здесь будет что-то полезное: <a href="http://xpoint.ru/forums/programming/javascript/crossbrowser/thread/30575.xhtml#288533">http://xpoint.ru/forums/programming/jav … tml#288533</a>, <a href="http://xpoint.ru/forums/programming/XUL/thread/31582.xhtml">http://xpoint.ru/forums/programming/XUL … 1582.xhtml</a>.</p>]]></content>
			<author>
				<name><![CDATA[Мальчик-гей]]></name>
				<uri>http://forum.script-coding.com/profile.php?id=30832</uri>
			</author>
			<updated>2017-02-03T15:39:43Z</updated>
			<id>http://forum.script-coding.com/viewtopic.php?pid=111811#p111811</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[JS: Запуск файла по клику]]></title>
			<link rel="alternate" href="http://forum.script-coding.com/viewtopic.php?pid=111808#p111808" />
			<content type="html"><![CDATA[<p>Привет. Я хочу запускать файл кликом по ссылке в Mozilla FireFox.</p><p>ActiveX, вроде как, не поддерживается. Как же мне тогда запускать файл?<br />Какие надо создавать объекты?</p><br /><div class="codebox"><pre><code>&lt;HTML&gt;
&lt;HEAD&gt;
&lt;/head&gt;
 
&lt;script type=&quot;text/javascript&quot;&gt;
function My() {
 
var WshShell = CreateObject(&quot;WScript.Shell&quot;);
WshShell.Run(C:\Program\LA\LA.exe C:\B.Benassi - Baddy.mp3);
 
 
 var Shell = new ActiveXObject(&quot;WScript.Shell&quot;);
 sss = Shell.Exec(&quot;C:\\Program\\LA\\LA.exe C:\\B.Benassi - Baddy.mp3&quot;);
 }
 &lt;/script&gt;
 &lt;/head&gt;
     
&lt;body&gt;
&lt;input type=&quot;button&quot; onclick=&quot;My()&quot; value=&quot;Пуск&quot;/&gt;
  
&lt;br&gt;&lt;br&gt;&lt;/body&gt;&lt;/html&gt;</code></pre></div>]]></content>
			<author>
				<name><![CDATA[Parazit]]></name>
				<uri>http://forum.script-coding.com/profile.php?id=34289</uri>
			</author>
			<updated>2017-02-03T10:53:46Z</updated>
			<id>http://forum.script-coding.com/viewtopic.php?pid=111808#p111808</id>
		</entry>
</feed>
