<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[Серый форум &mdash; АНК: Переназначение клавиш в разных раскладках]]></title>
		<link>https://forum.script-coding.com/viewtopic.php?id=6968</link>
		<atom:link href="https://forum.script-coding.com/extern.php?action=feed&amp;tid=6968&amp;type=rss" rel="self" type="application/rss+xml" />
		<description><![CDATA[Недавние сообщения в теме «АНК: Переназначение клавиш в разных раскладках».]]></description>
		<lastBuildDate>Tue, 20 Mar 2012 16:26:59 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: АНК: Переназначение клавиш в разных раскладках]]></title>
			<link>https://forum.script-coding.com/viewtopic.php?pid=58134#p58134</link>
			<description><![CDATA[<p>Ну это я все сделал, а как теперь скомпилировать в exe при помощи AutoHotkey_L ?</p>]]></description>
			<author><![CDATA[null@example.com (vezderegit@bk.ru)]]></author>
			<pubDate>Tue, 20 Mar 2012 16:26:59 +0000</pubDate>
			<guid>https://forum.script-coding.com/viewtopic.php?pid=58134#p58134</guid>
		</item>
		<item>
			<title><![CDATA[Re: АНК: Переназначение клавиш в разных раскладках]]></title>
			<link>https://forum.script-coding.com/viewtopic.php?pid=58132#p58132</link>
			<description><![CDATA[<p>Все ясно, на обычном ахк не запускало, ругался на дублирующую клавишу. С ахк_л все пошло.</p>]]></description>
			<author><![CDATA[null@example.com (vezderegit@bk.ru)]]></author>
			<pubDate>Tue, 20 Mar 2012 15:08:41 +0000</pubDate>
			<guid>https://forum.script-coding.com/viewtopic.php?pid=58132#p58132</guid>
		</item>
		<item>
			<title><![CDATA[Re: АНК: Переназначение клавиш в разных раскладках]]></title>
			<link>https://forum.script-coding.com/viewtopic.php?pid=58131#p58131</link>
			<description><![CDATA[<div class="codebox"><pre><code>#If (InputLayout() = &quot;Russian&quot;)
sc002:: 
send +{sc002}
Return
#If (InputLayout() = &quot;English&quot;)
sc002:: 
send {,}
Return
InputLayout()
{
    ThreadID := DllCall(&quot;GetWindowThreadProcessId&quot;, &quot;Int&quot;, WinExist(&quot;A&quot;), &quot;Int&quot;, 0)
    HKL := DllCall(&quot;GetKeyboardLayout&quot;, &quot;uint&quot;, ThreadID, &quot;UShort&quot;)
    VarSetCapacity(sKbd, 260, 0)
    DllCall(&quot;GetLocaleInfo&quot;, &quot;uint&quot;, HKL
                           , &quot;uint&quot;, 0x1001
                           , &quot;str&quot;,  sKbd
                           , &quot;uint&quot;, 260)
    Return sKbd
}</code></pre></div>]]></description>
			<author><![CDATA[null@example.com (Malcev)]]></author>
			<pubDate>Tue, 20 Mar 2012 15:02:07 +0000</pubDate>
			<guid>https://forum.script-coding.com/viewtopic.php?pid=58131#p58131</guid>
		</item>
		<item>
			<title><![CDATA[Re: АНК: Переназначение клавиш в разных раскладках]]></title>
			<link>https://forum.script-coding.com/viewtopic.php?pid=58130#p58130</link>
			<description><![CDATA[<p>Код в студию пожалуйста.<br />Ничего не получается даже если поставить решетку перед if все равно он скажет что скан коды повторяются.</p><p>Чуть чуть опоздал в ответе. Интересный вариант последний, надо подумать. А теперь получается так<br />русский !!<br />английский ,!</p>]]></description>
			<author><![CDATA[null@example.com (vezderegit@bk.ru)]]></author>
			<pubDate>Tue, 20 Mar 2012 14:56:29 +0000</pubDate>
			<guid>https://forum.script-coding.com/viewtopic.php?pid=58130#p58130</guid>
		</item>
		<item>
			<title><![CDATA[Re: АНК: Переназначение клавиш в разных раскладках]]></title>
			<link>https://forum.script-coding.com/viewtopic.php?pid=58129#p58129</link>
			<description><![CDATA[<div class="codebox"><pre><code>sc002::
    If (InputLayout() = &quot;Russian&quot;)
        send +{sc002}
    Else
        send {,}
Return

InputLayout()
{
    ThreadID := DllCall(&quot;GetWindowThreadProcessId&quot;, &quot;Int&quot;, WinExist(&quot;A&quot;), &quot;Int&quot;, 0)
    HKL := DllCall(&quot;GetKeyboardLayout&quot;, &quot;uint&quot;, ThreadID, &quot;UShort&quot;)
    VarSetCapacity(sKbd, 260, 0)
    DllCall(&quot;GetLocaleInfo&quot;, &quot;uint&quot;, HKL
                           , &quot;uint&quot;, 0x1001
                           , &quot;str&quot;,  sKbd
                           , &quot;uint&quot;, 260)
    Return sKbd
}</code></pre></div>]]></description>
			<author><![CDATA[null@example.com (YMP)]]></author>
			<pubDate>Tue, 20 Mar 2012 14:56:09 +0000</pubDate>
			<guid>https://forum.script-coding.com/viewtopic.php?pid=58129#p58129</guid>
		</item>
		<item>
			<title><![CDATA[Re: АНК: Переназначение клавиш в разных раскладках]]></title>
			<link>https://forum.script-coding.com/viewtopic.php?pid=58125#p58125</link>
			<description><![CDATA[<p>Я же написал<br /></p><div class="quotebox"><blockquote><p>#If это директива для задания горячих клавиш работающих при условии истинности выражения указанного после #If</p></blockquote></div><p>Поставьте перед If знак # - и всё у вас получится.</p>]]></description>
			<author><![CDATA[null@example.com (Malcev)]]></author>
			<pubDate>Tue, 20 Mar 2012 14:41:21 +0000</pubDate>
			<guid>https://forum.script-coding.com/viewtopic.php?pid=58125#p58125</guid>
		</item>
		<item>
			<title><![CDATA[Re: АНК: Переназначение клавиш в разных раскладках]]></title>
			<link>https://forum.script-coding.com/viewtopic.php?pid=58122#p58122</link>
			<description><![CDATA[<p>Первый и третий пост, вот и весь код. Если это будет дальше и остальные переделаю.</p>]]></description>
			<author><![CDATA[null@example.com (vezderegit@bk.ru)]]></author>
			<pubDate>Tue, 20 Mar 2012 14:32:50 +0000</pubDate>
			<guid>https://forum.script-coding.com/viewtopic.php?pid=58122#p58122</guid>
		</item>
		<item>
			<title><![CDATA[Re: АНК: Переназначение клавиш в разных раскладках]]></title>
			<link>https://forum.script-coding.com/viewtopic.php?pid=58121#p58121</link>
			<description><![CDATA[<p>Приведите код.</p>]]></description>
			<author><![CDATA[null@example.com (Malcev)]]></author>
			<pubDate>Tue, 20 Mar 2012 14:29:27 +0000</pubDate>
			<guid>https://forum.script-coding.com/viewtopic.php?pid=58121#p58121</guid>
		</item>
		<item>
			<title><![CDATA[Re: АНК: Переназначение клавиш в разных раскладках]]></title>
			<link>https://forum.script-coding.com/viewtopic.php?pid=58120#p58120</link>
			<description><![CDATA[<p>Даже если так, то он мне все равно скажет, что скан коды дублируются.</p>]]></description>
			<author><![CDATA[null@example.com (vezderegit@bk.ru)]]></author>
			<pubDate>Tue, 20 Mar 2012 14:25:05 +0000</pubDate>
			<guid>https://forum.script-coding.com/viewtopic.php?pid=58120#p58120</guid>
		</item>
		<item>
			<title><![CDATA[Re: АНК: Переназначение клавиш в разных раскладках]]></title>
			<link>https://forum.script-coding.com/viewtopic.php?pid=58113#p58113</link>
			<description><![CDATA[<div class="quotebox"><blockquote><p>#If это директива для задания горячих клавиш работающих при условии истинности выражения указанного после #If</p></blockquote></div>]]></description>
			<author><![CDATA[null@example.com (Malcev)]]></author>
			<pubDate>Tue, 20 Mar 2012 14:11:31 +0000</pubDate>
			<guid>https://forum.script-coding.com/viewtopic.php?pid=58113#p58113</guid>
		</item>
		<item>
			<title><![CDATA[Re: АНК: Переназначение клавиш в разных раскладках]]></title>
			<link>https://forum.script-coding.com/viewtopic.php?pid=58110#p58110</link>
			<description><![CDATA[<p>Поиском пользовался, но результата не нашел нужного. Со вторым отлично спасибо, а с первым так и не понял пока что как пользоваться то собственно? Я не очень силен в коде можно с примером вышеописанного?</p><div class="codebox"><pre><code>If (InputLayout() = &quot;Russian&quot;)
sc002:: 
send +{sc002}
Return
If (InputLayout() = &quot;English&quot;)
sc002:: 
send {,}
Return
InputLayout()
{
    ThreadID := DllCall(&quot;GetWindowThreadProcessId&quot;, &quot;Int&quot;, WinExist(&quot;A&quot;), &quot;Int&quot;, 0)
    HKL := DllCall(&quot;GetKeyboardLayout&quot;, &quot;uint&quot;, ThreadID, &quot;UShort&quot;)
    VarSetCapacity(sKbd, 260, 0)
    DllCall(&quot;GetLocaleInfo&quot;, &quot;uint&quot;, HKL
                           , &quot;uint&quot;, 0x1001
                           , &quot;str&quot;,  sKbd
                           , &quot;uint&quot;, 260)
    Return sKbd
}</code></pre></div><p>Если что то вроде этого, то в 6 строке ошибку выдает, т.к дважды повторяется клавиша одна и та же.</p>]]></description>
			<author><![CDATA[null@example.com (vezderegit@bk.ru)]]></author>
			<pubDate>Tue, 20 Mar 2012 13:58:46 +0000</pubDate>
			<guid>https://forum.script-coding.com/viewtopic.php?pid=58110#p58110</guid>
		</item>
		<item>
			<title><![CDATA[Re: АНК: Переназначение клавиш в разных раскладках]]></title>
			<link>https://forum.script-coding.com/viewtopic.php?pid=58104#p58104</link>
			<description><![CDATA[<p>1) А поиском пользовались?<br /><a href="http://forum.script-coding.com/viewtopic.php?pid=56245#p56245">http://forum.script-coding.com/viewtopi … 245#p56245</a><br />2) <a href="http://www.autohotkey.com/docs/commands/Reload.htm">http://www.autohotkey.com/docs/commands/Reload.htm</a></p>]]></description>
			<author><![CDATA[null@example.com (Malcev)]]></author>
			<pubDate>Tue, 20 Mar 2012 13:19:00 +0000</pubDate>
			<guid>https://forum.script-coding.com/viewtopic.php?pid=58104#p58104</guid>
		</item>
		<item>
			<title><![CDATA[АНК: Переназначение клавиш в разных раскладках]]></title>
			<link>https://forum.script-coding.com/viewtopic.php?pid=58102#p58102</link>
			<description><![CDATA[<p>Здравствуйте можно ли сделать чтобы в русской раскладке кнопки выдавало одно, а при смене раскладки в этом же скрипте другое значение? С такими скан кодами не пройдет конечно, но может есть варианты? </p><p>Например:<br /></p><div class="codebox"><pre><code>
;русская
sc002:: 
send +{sc002}
Return

;меняем раскладку

;английская
sc002:: 
send {,}
Return</code></pre></div><p>--<br />И 2 как реализовать в скрипте ctrl+r (обновление скрипта) по горячим клавишам?</p>]]></description>
			<author><![CDATA[null@example.com (vezderegit@bk.ru)]]></author>
			<pubDate>Tue, 20 Mar 2012 11:45:24 +0000</pubDate>
			<guid>https://forum.script-coding.com/viewtopic.php?pid=58102#p58102</guid>
		</item>
	</channel>
</rss>
