<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[Серый форум &mdash; AHK: ввод текста из буфера обмена]]></title>
	<link rel="self" href="https://forum.script-coding.com/extern.php?action=feed&amp;tid=5162&amp;type=atom" />
	<updated>2019-03-04T13:59:31Z</updated>
	<generator>PunBB</generator>
	<id>https://forum.script-coding.com/viewtopic.php?id=5162</id>
		<entry>
			<title type="html"><![CDATA[Re: AHK: ввод текста из буфера обмена]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=132779#p132779" />
			<content type="html"><![CDATA[<p>Фикс для корректной отправки пробелов и некоторых знаков:<br /><span style="color: red">- Send, %Char%</span><br /><span style="color: green">+ Send % &quot;{Raw}&quot; Char</span></p>]]></content>
			<author>
				<name><![CDATA[stealzy]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=31937</uri>
			</author>
			<updated>2019-03-04T13:59:31Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=132779#p132779</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: ввод текста из буфера обмена]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=41545#p41545" />
			<content type="html"><![CDATA[<p>YMP, огромное спсибо, то что нужно!:)</p>]]></content>
			<author>
				<name><![CDATA[Alexx]]></name>
			</author>
			<updated>2010-11-12T13:40:45Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=41545#p41545</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: ввод текста из буфера обмена]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=41543#p41543" />
			<content type="html"><![CDATA[<p>Если используете стандартный AHK, то вот вариант:<br /></p><div class="codebox"><pre><code>F11::
    Text = %Clipboard%

    Loop, Parse, Text
    {
        Char = %A_LoopField%
        If (Asc(Char) &lt; 128)
            PostMessage, 0x50,, 0x4090409,, A
        Else
            PostMessage, 0x50,, 0x4190419,, A
        Send, %Char%
        Sleep, 250
    }
Return</code></pre></div><p>PostMessage — для переключения языка ввода, иначе если окно на английском, русские буквы отображаются неправильно.</p><p>Если AHK_L Unicode, то вроде и так нормально работает (скрипт сохранить в UTF-8):<br /></p><div class="codebox"><pre><code>F11::
    Text = %Clipboard%

    Loop, Parse, Text
    {
        Send, %A_LoopField%
        Sleep, 250
    }
Return</code></pre></div>]]></content>
			<author>
				<name><![CDATA[YMP]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=81</uri>
			</author>
			<updated>2010-11-12T13:21:15Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=41543#p41543</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[AHK: ввод текста из буфера обмена]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=41542#p41542" />
			<content type="html"><![CDATA[<p>Всем доброго времени суток! Хочу попросить помощи у гуру АНК. <br />Задача следующая: в буфере обмена содержится слово, допустим &quot;инет&quot;<br />каким образом можно реализовать набор этого текста? т.е. требуется не просто копирование его куда либо, а именно эмуляция последовательных нажатий клавиш &quot;и&quot; &quot;н&quot; &quot;е&quot; &quot;т&quot;<br />Буду очень благодарен за помощь и подсказки)</p>]]></content>
			<author>
				<name><![CDATA[Alexx]]></name>
			</author>
			<updated>2010-11-12T12:59:33Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=41542#p41542</id>
		</entry>
</feed>
