<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[Серый форум &mdash; WSH: Поместить текст в буфер обмена]]></title>
	<link rel="self" href="https://forum.script-coding.com/extern.php?action=feed&amp;tid=12563&amp;type=atom" />
	<updated>2017-03-26T09:41:52Z</updated>
	<generator>PunBB</generator>
	<id>https://forum.script-coding.com/viewtopic.php?id=12563</id>
		<entry>
			<title type="html"><![CDATA[Re: WSH: Поместить текст в буфер обмена]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=114161#p114161" />
			<content type="html"><![CDATA[<div class="codebox"><pre><code>With CreateObject(&quot;InternetExplorer.Application&quot;)
  .Navigate(&quot;about:blank&quot;)
  .document.parentWindow.clipboardData.setData &quot;text&quot;, &quot;Текст в буфере обмена&quot;
  .ExecWB 45, 2 : .Quit
End With</code></pre></div><p>Есть, разумеется, и другие варианты с применением clip.exe или сторонних компонентов (<a href="http://forum.script-coding.com/viewtopic.php?id=2864">1</a>, <a href="http://script-coding.com/WshExtra.html">2</a>, <a href="http://script-coding.com/AutiItX.html">3</a>, <a href="http://web.archive.org/web/20130907081123/http://www.promsoft.ru/index.php?action=topics&amp;topic_id=20&amp;page_id=22">4</a>).<br />А вообще ответ <a href="http://forum.script-coding.com/viewtopic.php?id=4324">элементарно находится</a> <span style="color: green">обязательным поиском по форуму. <strong>Тема закрыта</strong>.</span></p>]]></content>
			<author>
				<name><![CDATA[Flasher]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=27593</uri>
			</author>
			<updated>2017-03-26T09:41:52Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=114161#p114161</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[WSH: Поместить текст в буфер обмена]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=114160#p114160" />
			<content type="html"><![CDATA[<p>Как я могу с помощью <strong>VBScript</strong> или <strong>JScript </strong>поместить текст в буфер обмена?<br />Почему так не получается?</p><div class="codebox"><pre><code>Set obj = CreateObject(&quot;htmlfile&quot;)
ReadAll = &quot;111&quot;
obj.parentWindow.clipboardData.setData &quot;text&quot;, &quot;ReadAll&quot;
</code></pre></div>]]></content>
			<author>
				<name><![CDATA[Parazit]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=34289</uri>
			</author>
			<updated>2017-03-26T09:30:37Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=114160#p114160</id>
		</entry>
</feed>
