<?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=14341&amp;type=atom" />
	<updated>2018-11-24T09:58:04Z</updated>
	<generator>PunBB</generator>
	<id>https://forum.script-coding.com/viewtopic.php?id=14341</id>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Отмена последнего нажатия клавиши]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=130009#p130009" />
			<content type="html"><![CDATA[<p>Тоже не понимаю.</p>]]></content>
			<author>
				<name><![CDATA[ypppu]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=5974</uri>
			</author>
			<updated>2018-11-24T09:58:04Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=130009#p130009</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Отмена последнего нажатия клавиши]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=130006#p130006" />
			<content type="html"><![CDATA[<p>Не понимаю.<br />Может, кто другой поймет и осуществит вашу идею.</p>]]></content>
			<author>
				<name><![CDATA[Malcev]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=26930</uri>
			</author>
			<updated>2018-11-23T22:27:49Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=130006#p130006</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Отмена последнего нажатия клавиши]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=130005#p130005" />
			<content type="html"><![CDATA[<p>Malcev, скрипту надо жестко указать в коде - что требуется отменить последнюю введенную букву &quot;а&quot;.</p>]]></content>
			<author>
				<name><![CDATA[yl3d]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=39558</uri>
			</author>
			<updated>2018-11-23T22:22:03Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=130005#p130005</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Отмена последнего нажатия клавиши]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=130004#p130004" />
			<content type="html"><![CDATA[<p>А как скрипт узнает, что ему посылать при нажатии &quot;a&quot; - букву &quot;а&quot; или отмену введеного текста?</p>]]></content>
			<author>
				<name><![CDATA[Malcev]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=26930</uri>
			</author>
			<updated>2018-11-23T21:46:50Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=130004#p130004</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Отмена последнего нажатия клавиши]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=130003#p130003" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>Malcev пишет:</cite><blockquote><p>Тогда я не понимаю, что вы хотите добиться.</p></blockquote></div><p>Я хочу, чтобы скрипт при включении от нажатия кнопки &quot;А&quot; - отменял введенный текст (то есть текст состоящий из одной буквы &quot;а&quot;) и тут же прекращал свою работу.</p>]]></content>
			<author>
				<name><![CDATA[yl3d]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=39558</uri>
			</author>
			<updated>2018-11-23T19:36:10Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=130003#p130003</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Отмена последнего нажатия клавиши]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=129998#p129998" />
			<content type="html"><![CDATA[<p>Тогда я не понимаю, что вы хотите добиться.<br /></p><div class="codebox"><pre><code>#If (A_PriorKey = &quot;a&quot;)
a::
sendinput {backspace}
ExitApp</code></pre></div><p>У меня при нажатии на &quot;a&quot;, посылается буква &quot;a&quot;.<br />При двойном нажатии на &quot;a&quot;, посылается backspace.</p>]]></content>
			<author>
				<name><![CDATA[Malcev]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=26930</uri>
			</author>
			<updated>2018-11-23T10:45:55Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=129998#p129998</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Отмена последнего нажатия клавиши]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=129997#p129997" />
			<content type="html"><![CDATA[<p>Malcev, добавил.<br />Но все равно - один раз скрипт успевает отобразить текст нажатой клавиши (не удаляя его после этого).</p>]]></content>
			<author>
				<name><![CDATA[yl3d]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=39558</uri>
			</author>
			<updated>2018-11-23T10:31:02Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=129997#p129997</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Отмена последнего нажатия клавиши]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=129996#p129996" />
			<content type="html"><![CDATA[<p>Вставьте директиву #UseHook в начале скрипта.</p>]]></content>
			<author>
				<name><![CDATA[Malcev]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=26930</uri>
			</author>
			<updated>2018-11-23T10:22:17Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=129996#p129996</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Отмена последнего нажатия клавиши]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=129995#p129995" />
			<content type="html"><![CDATA[<p>Malcev, вот код:</p><div class="codebox"><pre><code>var := &quot;ф&quot;
length := StrLen(var)

ф::sendinput % var
#If (A_PriorKey = &quot;ф&quot;)
ф::
sendinput {backspace %length%} 
ExitApp
</code></pre></div>]]></content>
			<author>
				<name><![CDATA[yl3d]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=39558</uri>
			</author>
			<updated>2018-11-23T10:15:09Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=129995#p129995</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Отмена последнего нажатия клавиши]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=129993#p129993" />
			<content type="html"><![CDATA[<p>Приведите весь код.</p>]]></content>
			<author>
				<name><![CDATA[Malcev]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=26930</uri>
			</author>
			<updated>2018-11-23T09:59:31Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=129993#p129993</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Отмена последнего нажатия клавиши]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=129992#p129992" />
			<content type="html"><![CDATA[<p>Malcev, скрипт не закрывается.</p>]]></content>
			<author>
				<name><![CDATA[yl3d]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=39558</uri>
			</author>
			<updated>2018-11-23T09:02:35Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=129992#p129992</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Отмена последнего нажатия клавиши]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=129990#p129990" />
			<content type="html"><![CDATA[<div class="codebox"><pre><code>f2::
sendinput {backspace %length%}
ExitApp</code></pre></div>]]></content>
			<author>
				<name><![CDATA[Malcev]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=26930</uri>
			</author>
			<updated>2018-11-23T08:19:07Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=129990#p129990</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Отмена последнего нажатия клавиши]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=129989#p129989" />
			<content type="html"><![CDATA[<p>Malcev, подскажите - а как выйти из этого скрипта - после первого же срабатывания f2::sendinput {backspace %length%}&nbsp; ?</p>]]></content>
			<author>
				<name><![CDATA[yl3d]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=39558</uri>
			</author>
			<updated>2018-11-23T07:21:38Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=129989#p129989</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Отмена последнего нажатия клавиши]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=129988#p129988" />
			<content type="html"><![CDATA[<div class="codebox"><pre><code>var := &quot;test&quot;
length := StrLen(var)

f1::sendinput % var
#If (A_PriorKey = &quot;f1&quot;)
f2::sendinput {backspace %length%}</code></pre></div>]]></content>
			<author>
				<name><![CDATA[Malcev]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=26930</uri>
			</author>
			<updated>2018-11-23T06:19:36Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=129988#p129988</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[AHK: Отмена последнего нажатия клавиши]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=129985#p129985" />
			<content type="html"><![CDATA[<p>Здравствуйте уважаемые форумчане.<br />Как скриптом AHK - отменить последнее нажатие клавиши.<br />То есть - если на клавишу &quot;T&quot; - назначить хоткей AHK - то скрипт отменяет текст, вводимый именно этой клавишей (если конечно текст куда-то вводился) ?</p>]]></content>
			<author>
				<name><![CDATA[yl3d]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=39558</uri>
			</author>
			<updated>2018-11-22T23:48:52Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=129985#p129985</id>
		</entry>
</feed>
