<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[Серый форум &mdash; AHK: Последовательность KeyWait]]></title>
	<link rel="self" href="https://forum.script-coding.com/extern.php?action=feed&amp;tid=8598&amp;type=atom" />
	<updated>2013-08-20T16:09:44Z</updated>
	<generator>PunBB</generator>
	<id>https://forum.script-coding.com/viewtopic.php?id=8598</id>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Последовательность KeyWait]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=74756#p74756" />
			<content type="html"><![CDATA[<div class="codebox"><pre><code>    
!2::
    Send 98
    KeyWait LButton, D
    Send 0 
    InputLocaleID := DllCall(&quot;GetKeyboardLayout&quot;, &quot;Int&quot;
        , DllCall(&quot;GetWindowThreadProcessId&quot;, &quot;Int&quot;, WinExist(&quot;A&quot;), &quot;Int&quot;, &quot;0&quot;)) 
    SendMessage, 0x50,, % InputLocaleID = 0x4090409 ? 0x4190419 : 0x4090409,, A
    return
</code></pre></div>]]></content>
			<author>
				<name><![CDATA[serzh82saratov]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=27879</uri>
			</author>
			<updated>2013-08-20T16:09:44Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=74756#p74756</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Последовательность KeyWait]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=74730#p74730" />
			<content type="html"><![CDATA[<p>незнаю мб конечно нужно было создавать отдельную тему, но подскажите как внутри моего скрипта поменять раскладку клавиатуры(по alt+shift)?<br /></p><div class="codebox"><pre><code>#IfWinActive,  1
!2::
    Send 98
        KeyWait LButton, D
        Send 0
        Send !{Shift}
        return
    return
return</code></pre></div><p>не работает</p>]]></content>
			<author>
				<name><![CDATA[am-wrag]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=30054</uri>
			</author>
			<updated>2013-08-20T08:34:17Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=74730#p74730</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Последовательность KeyWait]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=74728#p74728" />
			<content type="html"><![CDATA[<p>Что Alt+2 будут нажаты.</p>]]></content>
			<author>
				<name><![CDATA[serzh82saratov]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=27879</uri>
			</author>
			<updated>2013-08-20T08:24:33Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=74728#p74728</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Последовательность KeyWait]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=74727#p74727" />
			<content type="html"><![CDATA[<p>что означает тильда в данном контексте?</p>]]></content>
			<author>
				<name><![CDATA[am-wrag]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=30054</uri>
			</author>
			<updated>2013-08-20T08:09:28Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=74727#p74727</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Последовательность KeyWait]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=74726#p74726" />
			<content type="html"><![CDATA[<div class="codebox"><pre><code>~!2::</code></pre></div>]]></content>
			<author>
				<name><![CDATA[serzh82saratov]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=27879</uri>
			</author>
			<updated>2013-08-20T07:59:30Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=74726#p74726</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[AHK: Последовательность KeyWait]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=74724#p74724" />
			<content type="html"><![CDATA[<p>Вот скрипт который с грехом по полам работает</p><div class="codebox"><pre><code>#IfWinActive,  1
!2::
    Send 98
        KeyWait LButton, D
        Send 0
        return
    return
return</code></pre></div><p>По Alt+2 нажимает последовательно 9, 8 затем ждёт нажатия лкм, после чего посылает кнопку 0.<br />Данный скрипт заменяет нажатие комбинации&nbsp; Alt+2, я бы хотел чтоб код срабатывал не заменяя её.</p><p>Предположительно так:<br /></p><div class="codebox"><pre><code>#IfWinActive,  1
KeyWait LAlt, D
KeyWait 2, D
    Send 98
        KeyWait LButton, D
        Send 0
        return
    return
return</code></pre></div><p>Данный пример не работает.</p>]]></content>
			<author>
				<name><![CDATA[am-wrag]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=30054</uri>
			</author>
			<updated>2013-08-20T07:51:40Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=74724#p74724</id>
		</entry>
</feed>
