<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[Серый форум &mdash; AHK: Как заставить клавишу не вызывать саму себя?]]></title>
		<link>https://forum.script-coding.com/viewtopic.php?id=15538</link>
		<atom:link href="https://forum.script-coding.com/extern.php?action=feed&amp;tid=15538&amp;type=rss" rel="self" type="application/rss+xml" />
		<description><![CDATA[Недавние сообщения в теме «AHK: Как заставить клавишу не вызывать саму себя?».]]></description>
		<lastBuildDate>Sun, 26 Jul 2020 08:49:36 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: AHK: Как заставить клавишу не вызывать саму себя?]]></title>
			<link>https://forum.script-coding.com/viewtopic.php?pid=141100#p141100</link>
			<description><![CDATA[<p><strong>teadrinker</strong><br />В общем пока, я решил это так:<br /></p><div class="codebox"><pre><code>
LAlt::
KeyWait, LAlt
if (A_PriorKey == &quot;LAlt&quot; &amp;&amp; A_TimeSinceThisHotkey &lt; single_press_time)
{
    if ( WinActive(&quot;ahk_class SunAwtFrame&quot;) || WinActive(&quot;ahk_class SunAwtDialog&quot;) )
    {
        key_seq := [&quot;{LAlt Down}&quot;, &quot;{VKBF Down}&quot;, &quot;{VKBF Up}&quot;, &quot;{LAlt Up}&quot;]
        for i, key in key_seq
        {
            Send, %key%
            Sleep, %key_delay%
        }
    }
}
return
</code></pre></div>]]></description>
			<author><![CDATA[null@example.com (mkone112)]]></author>
			<pubDate>Sun, 26 Jul 2020 08:49:36 +0000</pubDate>
			<guid>https://forum.script-coding.com/viewtopic.php?pid=141100#p141100</guid>
		</item>
		<item>
			<title><![CDATA[Re: AHK: Как заставить клавишу не вызывать саму себя?]]></title>
			<link>https://forum.script-coding.com/viewtopic.php?pid=141098#p141098</link>
			<description><![CDATA[<p><strong>fgslm</strong><br />Double Click на иконке скрипта в трее -&gt; view</p>]]></description>
			<author><![CDATA[null@example.com (mkone112)]]></author>
			<pubDate>Sun, 26 Jul 2020 08:39:27 +0000</pubDate>
			<guid>https://forum.script-coding.com/viewtopic.php?pid=141098#p141098</guid>
		</item>
		<item>
			<title><![CDATA[Re: AHK: Как заставить клавишу не вызывать саму себя?]]></title>
			<link>https://forum.script-coding.com/viewtopic.php?pid=140858#p140858</link>
			<description><![CDATA[<div class="quotebox"><cite>mkone112 пишет:</cite><blockquote><p>Lines most recently executed:</p></blockquote></div><div class="quotebox"><cite>mkone112 пишет:</cite><blockquote><p>KeyHistory:</p></blockquote></div><p>Чем записать также историю нажатий клавиш в скрипте?</p>]]></description>
			<author><![CDATA[null@example.com (fgslm)]]></author>
			<pubDate>Thu, 23 Jul 2020 13:25:37 +0000</pubDate>
			<guid>https://forum.script-coding.com/viewtopic.php?pid=140858#p140858</guid>
		</item>
		<item>
			<title><![CDATA[Re: AHK: Как заставить клавишу не вызывать саму себя?]]></title>
			<link>https://forum.script-coding.com/viewtopic.php?pid=140840#p140840</link>
			<description><![CDATA[<p>Ну значит он сам как-то клавиатурные посылы обрабатывает.</p>]]></description>
			<author><![CDATA[null@example.com (teadrinker)]]></author>
			<pubDate>Wed, 22 Jul 2020 22:11:26 +0000</pubDate>
			<guid>https://forum.script-coding.com/viewtopic.php?pid=140840#p140840</guid>
		</item>
		<item>
			<title><![CDATA[Re: AHK: Как заставить клавишу не вызывать саму себя?]]></title>
			<link>https://forum.script-coding.com/viewtopic.php?pid=140839#p140839</link>
			<description><![CDATA[<p><strong>teadrinker</strong><br />По всей видимости проблема проявляется только в PyCharm.</p><p>Lines most recently executed:<br /></p><div class="fancy_spoiler_switcher"><div class="fancy_spoiler_switcher_header" data-lang-open="открыть спойлер" data-lang-close="скрыть спойлер"><strong>+</strong>&nbsp;открыть спойлер</div><div class="fancy_spoiler"><div class="codebox"><pre><code>
Script lines most recently executed (oldest first).  Press [F5] to refresh.  The seconds elapsed between a line and the one after it is in parentheses to the right (if not 0).  The bottommost line&#039;s elapsed time is the number of seconds since it executed.

---- C:\Users\mkone\scripts\ahk\alt_remap\toForum.ahk
001: Return (4.09)
001: SetKeyDelay,-1
001: Send,{Blind}&lt;!{/ DownR}
001: Return (0.02)
001: SetKeyDelay,-1
001: Send,{Blind}&lt;!{/ DownR}
001: Return
001: SetKeyDelay,-1
001: Send,{Blind}{/ Up}
001: Return (0.02)
001: SetKeyDelay,-1
001: Send,{Blind}&lt;!{/ DownR}
001: Return
001: SetKeyDelay,-1
001: Send,{Blind}{/ Up}
001: Return (0.01)
001: SetKeyDelay,-1
001: Send,{Blind}&lt;!{/ DownR}
001: Return
001: SetKeyDelay,-1
001: Send,{Blind}{/ Up}
001: Return (0.02)
001: SetKeyDelay,-1
001: Send,{Blind}&lt;!{/ DownR}
001: Return
001: SetKeyDelay,-1
001: Send,{Blind}{/ Up}
001: Return
001: SetKeyDelay,-1
001: Send,{Blind}{/ Up}
001: Return (0.02)
001: SetKeyDelay,-1
001: Send,{Blind}&lt;!{/ DownR}
001: Return
001: SetKeyDelay,-1
001: Send,{Blind}{/ Up}
001: Return (0.01)
001: SetKeyDelay,-1
001: Send,{Blind}&lt;!{/ DownR}
001: Return
001: SetKeyDelay,-1
001: Send,{Blind}{/ Up}
001: Return (0.02)
001: SetKeyDelay,-1
001: Send,{Blind}&lt;!{/ DownR}
001: Return
001: SetKeyDelay,-1
001: Send,{Blind}{/ Up}
001: Return (0.01)
001: SetKeyDelay,-1
001: Send,{Blind}&lt;!{/ DownR}
001: Return
001: SetKeyDelay,-1
001: Send,{Blind}{/ Up}
001: Return (0.02)
001: SetKeyDelay,-1
001: Send,{Blind}&lt;!{/ DownR}
001: Return
001: SetKeyDelay,-1
001: Send,{Blind}{/ Up}
001: Return (0.03)
001: SetKeyDelay,-1
001: Send,{Blind}&lt;!{/ DownR}
001: Return
001: SetKeyDelay,-1
001: Send,{Blind}{/ Up}
001: Return (0.02)
001: SetKeyDelay,-1
001: Send,{Blind}&lt;!{/ DownR}
001: Return
001: SetKeyDelay,-1
001: Send,{Blind}{/ Up}
001: Return (0.02)
001: SetKeyDelay,-1
001: Send,{Blind}&lt;!{/ DownR}
001: Return
001: SetKeyDelay,-1
001: Send,{Blind}{/ Up}
001: Return (0.01)
001: SetKeyDelay,-1
001: Send,{Blind}&lt;!{/ DownR}
001: Return
001: SetKeyDelay,-1
001: Send,{Blind}{/ Up}
001: Return (0.02)
001: SetKeyDelay,-1
001: Send,{Blind}&lt;!{/ DownR}
001: Return
001: SetKeyDelay,-1
001: Send,{Blind}{/ Up}
001: Return (0.01)
001: SetKeyDelay,-1
001: Send,{Blind}&lt;!{/ DownR}
001: Return
001: SetKeyDelay,-1
001: Send,{Blind}{/ Up}
001: Return (0.03)
001: SetKeyDelay,-1
001: Send,{Blind}&lt;!{/ DownR}
001: Return
001: SetKeyDelay,-1
001: Send,{Blind}{/ Up}
001: Return (0.01)
001: SetKeyDelay,-1
001: Send,{Blind}&lt;!{/ DownR}
001: Return
001: SetKeyDelay,-1
001: Send,{Blind}{/ Up}
001: Return (0.03)
001: SetKeyDelay,-1
001: Send,{Blind}&lt;!{/ DownR}
001: Return
001: SetKeyDelay,-1
001: Send,{Blind}{/ Up}
001: Return (0.01)
001: SetKeyDelay,-1
001: Send,{Blind}&lt;!{/ DownR}
001: Return
001: SetKeyDelay,-1
001: Send,{Blind}{/ Up}
001: Return (0.02)
001: SetKeyDelay,-1
001: Send,{Blind}&lt;!{/ DownR}
001: Return
001: SetKeyDelay,-1
001: Send,{Blind}{/ Up}
001: Return (0.01)
001: SetKeyDelay,-1
001: Send,{Blind}&lt;!{/ DownR}
001: Return
001: SetKeyDelay,-1
001: Send,{Blind}{/ Up}
001: Return (0.02)
001: SetKeyDelay,-1
001: Send,{Blind}&lt;!{/ DownR}
001: Return
001: SetKeyDelay,-1
001: Send,{Blind}{/ Up}
001: Return (0.02)
001: SetKeyDelay,-1
001: Send,{Blind}&lt;!{/ DownR}
001: Return
001: SetKeyDelay,-1
001: Send,{Blind}{/ Up}
001: Return (0.01)
001: SetKeyDelay,-1
001: Send,{Blind}&lt;!{/ DownR}
001: Return
001: SetKeyDelay,-1
001: Send,{Blind}{/ Up}
001: Return (0.02)
001: SetKeyDelay,-1
001: Send,{Blind}&lt;!{/ DownR}
001: Return
001: SetKeyDelay,-1
001: Send,{Blind}{/ Up}
001: Return (0.02)
001: SetKeyDelay,-1
001: Send,{Blind}&lt;!{/ DownR}
001: Return
001: SetKeyDelay,-1
001: Send,{Blind}{/ Up}
001: Return (0.01)
001: SetKeyDelay,-1
001: Send,{Blind}&lt;!{/ DownR}
001: Return
001: SetKeyDelay,-1
001: Send,{Blind}{/ Up}
001: Return (0.03)
001: SetKeyDelay,-1
001: Send,{Blind}&lt;!{/ DownR}
001: Return
001: SetKeyDelay,-1
001: Send,{Blind}{/ Up}
001: Return (0.02)
001: SetKeyDelay,-1
001: Send,{Blind}&lt;!{/ DownR}
001: Return
001: SetKeyDelay,-1
001: Send,{Blind}{/ Up}
001: Return (0.02)
001: SetKeyDelay,-1
001: Send,{Blind}&lt;!{/ DownR}
001: Return
001: SetKeyDelay,-1
001: Send,{Blind}{/ Up}
001: Return (0.01)
001: SetKeyDelay,-1
001: Send,{Blind}&lt;!{/ DownR}
001: Return
001: SetKeyDelay,-1
001: Send,{Blind}{/ Up}
001: Return (0.02)
001: SetKeyDelay,-1
001: Send,{Blind}&lt;!{/ DownR}
001: Return
001: SetKeyDelay,-1
001: Send,{Blind}{/ Up}
001: Return (0.02)
001: SetKeyDelay,-1
001: Send,{Blind}&lt;!{/ DownR}
001: Return
001: SetKeyDelay,-1
001: Send,{Blind}{/ Up}
001: Return (9.77)
</code></pre></div></div></div><p>KeyHistory:<br /></p><div class="fancy_spoiler_switcher"><div class="fancy_spoiler_switcher_header" data-lang-open="открыть спойлер" data-lang-close="скрыть спойлер"><strong>+</strong>&nbsp;открыть спойлер</div><div class="fancy_spoiler"><div class="codebox"><pre><code>
Window: C:\Users\mkone\scripts\ahk\alt_remap\toForum.ahk - AutoHotkey v1.1.32.00
Keybd hook: yes
Mouse hook: no
Enabled Timers: 0 of 0 ()
Interrupted threads: 0
Paused threads: 0 of 0 (0 layers)
Modifiers (GetKeyState() now) = LShift 
Modifiers (Hook&#039;s Logical) = LShift 
Modifiers (Hook&#039;s Physical) = 
Prefix key is down: no

NOTE: To disable the key history shown below, add the line &quot;#KeyHistory 0&quot; anywhere in the script.  The same method can be used to change the size of the history buffer.  For example: #KeyHistory 100  (Default is 40, Max is 500)

The oldest are listed first.  VK=Virtual Key, SC=Scan Code, Elapsed=Seconds since the previous event.  Types: h=Hook Hotkey, s=Suppressed (blocked), i=Ignored because it was generated by an AHK script, a=Artificial, #=Disabled via #IfWinActive/Exist, U=Unicode character (SendInput).

VK  SC	Type	Up/Dn	Elapsed	Key		Window
-------------------------------------------------------------------------------------------------------------
A4  038	h	d	0.02	LAlt           	
A0  02A	i	d	0.00	LShift         	
A4  038	h	u	0.00	LAlt           	
BC  033	i	d	0.00	,              	
BC  033	i	u	0.00	,              	
A0  02A	i	u	0.00	LShift         	
A4  038	i	d	0.00	LAlt           	
DC  02B	i	d	0.00	/              	
A4  038	i	u	0.00	LAlt           	
DC  02B	i	u	0.00	/              	
A4  038	h	d	0.01	LAlt           	
A4  038	h	u	0.00	LAlt           	
A0  02A	i	d	0.00	LShift         	
BC  033	i	d	0.00	,              	
BC  033	i	u	0.00	,              	
A0  02A	i	u	0.00	LShift         	
A4  038	i	d	0.00	LAlt           	
DC  02B	i	d	0.00	/              	
A4  038	i	u	0.00	LAlt           	
DC  02B	i	u	0.00	/              	
A4  038	h	d	0.02	LAlt           	
A4  038	h	u	0.00	LAlt           	
A0  02A	i	d	0.00	LShift         	
BC  033	i	d	0.00	,              	
BC  033	i	u	0.00	,              	
A0  02A	i	u	0.00	LShift         	
A4  038	i	d	0.00	LAlt           	
DC  02B	i	d	0.00	/              	
A4  038	i	u	0.00	LAlt           	
DC  02B	i	u	0.00	/              	
A4  038	h	d	0.02	LAlt           	
A0  02A	i	d	0.00	LShift         	
A4  038	h	u	0.00	LAlt           	
BC  033	i	d	0.00	,              	
BC  033	i	u	0.00	,              	
A4  038	i	d	0.00	LAlt           	
DC  02B	i	d	0.00	/              	
A4  038	i	u	0.00	LAlt           	
A0  02A	i	d	0.00	LShift         	
DC  02B	i	u	0.00	/      


</code></pre></div></div></div>]]></description>
			<author><![CDATA[null@example.com (mkone112)]]></author>
			<pubDate>Wed, 22 Jul 2020 22:07:36 +0000</pubDate>
			<guid>https://forum.script-coding.com/viewtopic.php?pid=140839#p140839</guid>
		</item>
		<item>
			<title><![CDATA[Re: AHK: Как заставить клавишу не вызывать саму себя?]]></title>
			<link>https://forum.script-coding.com/viewtopic.php?pid=140827#p140827</link>
			<description><![CDATA[<p>Не происходит, если записать код как есть в вашем примере. И не должно.</p>]]></description>
			<author><![CDATA[null@example.com (teadrinker)]]></author>
			<pubDate>Wed, 22 Jul 2020 18:25:16 +0000</pubDate>
			<guid>https://forum.script-coding.com/viewtopic.php?pid=140827#p140827</guid>
		</item>
		<item>
			<title><![CDATA[AHK: Как заставить клавишу не вызывать саму себя?]]></title>
			<link>https://forum.script-coding.com/viewtopic.php?pid=140823#p140823</link>
			<description><![CDATA[<p>Пробовал по всякому, например так:<br /></p><div class="codebox"><pre><code>$LAlt::Send &lt;!/</code></pre></div><p>происходит бесконечная посылка &lt;!/</p>]]></description>
			<author><![CDATA[null@example.com (mkone112)]]></author>
			<pubDate>Wed, 22 Jul 2020 17:23:22 +0000</pubDate>
			<guid>https://forum.script-coding.com/viewtopic.php?pid=140823#p140823</guid>
		</item>
	</channel>
</rss>
