<?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=17602&amp;type=atom" />
	<updated>2023-02-12T20:27:00Z</updated>
	<generator>PunBB</generator>
	<id>https://forum.script-coding.com/viewtopic.php?id=17602</id>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Проблема с полным выключением кода]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=156784#p156784" />
			<content type="html"><![CDATA[<p>Я не понял, какого поведения вы хотите добиться, код слишком витиеватый.</p>]]></content>
			<author>
				<name><![CDATA[teadrinker]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=24515</uri>
			</author>
			<updated>2023-02-12T20:27:00Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=156784#p156784</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[AHK: Проблема с полным выключением кода]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=156779#p156779" />
			<content type="html"><![CDATA[<p>Собрал код на двойное зажатие W, проблема заключается в том что, при попытке возврата скрипта на исходное повторным нажатием кнопки N, скрипт не полностью выключается, а продолжает зажимать.</p><br /><div class="codebox"><pre><code>
freq:=150
~$n::
   wcount++
   SetTimer sub, %freq% ; make this number smaller for quicker successive presses
return

sub:
	if (wcount==1) {
		Send {w down}
                Keywait, n
		Send {w up}
                Send {w down}
                Keywait, n



	}
	wcount := 0
return
Run, C:\Users\lol\Desktop\ахкфортаков\main
ExitApp[/b]</code></pre></div>]]></content>
			<author>
				<name><![CDATA[bruhmomento]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=42599</uri>
			</author>
			<updated>2023-02-12T16:29:26Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=156779#p156779</id>
		</entry>
</feed>
