<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[Серый форум &mdash; AHK: Как заменить ZX на кнопки мышки]]></title>
	<link rel="self" href="https://forum.script-coding.com/extern.php?action=feed&amp;tid=15335&amp;type=atom" />
	<updated>2020-05-01T17:51:52Z</updated>
	<generator>PunBB</generator>
	<id>https://forum.script-coding.com/viewtopic.php?id=15335</id>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Как заменить ZX на кнопки мышки]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=139272#p139272" />
			<content type="html"><![CDATA[<p><strong>serzh82saratov</strong><br />В таком виде, скрипт не выполняет &quot;while GetKeyState&quot;, нет повторения F. Я же хочу понять как заставить его это делать, ведь с клавишами клавиатуры проблем нет.<br /></p><div class="codebox"><pre><code>#NoEnv
#SingleInstance, Force
XButton2::
SendInput {R}
Sleep 50
SendInput {F}
Sleep 50
while GetKeyState(&quot;XButton2&quot;)
{
SendInput {F}
Sleep, 10
}
return
XButton1::
SendInput {R}
Sleep 50
SendInput {F}
Sleep 50
SendInput {Q}
Sleep 50
While GetKeyState(&quot;Xbutton1&quot;)
{
SendInput {F}
Sleep, 10
}
return</code></pre></div>]]></content>
			<author>
				<name><![CDATA[mer1tor]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=40789</uri>
			</author>
			<updated>2020-05-01T17:51:52Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=139272#p139272</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Как заменить ZX на кнопки мышки]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=139270#p139270" />
			<content type="html"><![CDATA[<p>Не, <strong>mer1tor</strong> просит заменить в тексте x и z на Xbutton1 и Xbutton2.</p>]]></content>
			<author>
				<name><![CDATA[stealzy]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=31937</uri>
			</author>
			<updated>2020-05-01T16:39:19Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=139270#p139270</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Как заменить ZX на кнопки мышки]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=139268#p139268" />
			<content type="html"><![CDATA[<p>У меня нет кнопок Xbutton, вы имеете ввиду что GetKeyState не определяет что они нажаты?</p>]]></content>
			<author>
				<name><![CDATA[serzh82saratov]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=27879</uri>
			</author>
			<updated>2020-05-01T15:07:47Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=139268#p139268</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[AHK: Как заменить ZX на кнопки мышки]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=139266#p139266" />
			<content type="html"><![CDATA[<p>Здравствуйте, как сделать работу скрипта по нажатию Xbutton1, Xbutton2<br /></p><div class="codebox"><pre><code>#NoEnv
#SingleInstance, Force
z::
SendInput {R}
Sleep 50
SendInput {F}
Sleep 50
While (GetKeyState(&quot;z&quot;)) {
SendInput {F}
Sleep, 10
}
return
x::
SendInput {R}
Sleep 50
SendInput {F}
Sleep 50
SendInput {Q}
Sleep 50
While (GetKeyState(&quot;x&quot;)) {
SendInput {F}
Sleep, 10
}</code></pre></div>]]></content>
			<author>
				<name><![CDATA[mer1tor]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=40789</uri>
			</author>
			<updated>2020-05-01T15:01:37Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=139266#p139266</id>
		</entry>
</feed>
