<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[Серый форум &mdash; Как перевести это с VBS на JS ???]]></title>
	<link rel="self" href="https://forum.script-coding.com/extern.php?action=feed&amp;tid=9451&amp;type=atom" />
	<updated>2014-04-03T09:29:01Z</updated>
	<generator>PunBB</generator>
	<id>https://forum.script-coding.com/viewtopic.php?id=9451</id>
		<entry>
			<title type="html"><![CDATA[Re: Как перевести это с VBS на JS ???]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=81445#p81445" />
			<content type="html"><![CDATA[<p>ДА! Спасибо!&nbsp; ! 111<br />Жаль что через DynamicWrapperX на WinAPI такого нельзя сделать.</p>]]></content>
			<author>
				<name><![CDATA[D_Pavel]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=27294</uri>
			</author>
			<updated>2014-04-03T09:29:01Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=81445#p81445</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Как перевести это с VBS на JS ???]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=81444#p81444" />
			<content type="html"><![CDATA[<p>Боюсь соврать, но где-то видел что-то вроде<br /></p><div class="quotebox"><blockquote><p>MSComm::OnComm()</p></blockquote></div>]]></content>
			<author>
				<name><![CDATA[YMP]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=81</uri>
			</author>
			<updated>2014-04-03T09:25:02Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=81444#p81444</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Как перевести это с VBS на JS ???]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=81443#p81443" />
			<content type="html"><![CDATA[<p>Коллеги подтянутся, напишут.</p>]]></content>
			<author>
				<name><![CDATA[alexii]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=1844</uri>
			</author>
			<updated>2014-04-03T09:02:31Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=81443#p81443</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Как перевести это с VBS на JS ???]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=81442#p81442" />
			<content type="html"><![CDATA[<p>Спасибо, КО. В том и вопрос, как будет иначе?</p>]]></content>
			<author>
				<name><![CDATA[D_Pavel]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=27294</uri>
			</author>
			<updated>2014-04-03T08:41:46Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=81442#p81442</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Как перевести это с VBS на JS ???]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=81441#p81441" />
			<content type="html"><![CDATA[<div class="codebox"><pre><code>…_OnComm()</code></pre></div><p>доступно только для VBScript, если я не ошибаюсь. Для JScript надо иначе.</p>]]></content>
			<author>
				<name><![CDATA[alexii]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=1844</uri>
			</author>
			<updated>2014-04-03T08:05:45Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=81441#p81441</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Как перевести это с VBS на JS ???]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=81439#p81439" />
			<content type="html"><![CDATA[<p>так работает:<br /></p><div class="codebox"><pre><code>&lt;html&gt;
    &lt;body&gt;
        &lt;object id=MSComm style=&quot;display:none;&quot; classid=&quot;clsid:648A5600-2C6E-101B-82B6-000000000014&quot;&gt;&lt;/object&gt;
    &lt;/body&gt;
    &lt;script language=vbscript&gt;
        Sub MSComm_OnComm()
            MsgBox &quot;!&quot;
        End Sub
    &lt;/script&gt;
&lt;/html&gt;
</code></pre></div><p>так не работает:<br /></p><div class="codebox"><pre><code>&lt;html&gt;
    &lt;body&gt;
        &lt;object id=MSComm style=&quot;display:none;&quot; classid=&quot;clsid:648A5600-2C6E-101B-82B6-000000000014&quot;&gt;&lt;/object&gt;
    &lt;/body&gt;
    &lt;script language=javascript&gt;
        function MSComm_OnComm(){
            alert (&quot;2!&quot;);
        }
        MSComm.OnComm = MSComm_OnComm;
    &lt;/script&gt;
&lt;/html&gt;
</code></pre></div><p>Как сделать чтобы на JS работало?</p>]]></content>
			<author>
				<name><![CDATA[D_Pavel]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=27294</uri>
			</author>
			<updated>2014-04-03T07:16:51Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=81439#p81439</id>
		</entry>
</feed>
