<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[Серый форум &mdash; AHK: раскладкозависимость, подавление ошибок, хоткей вида ctrl-a-b]]></title>
	<link rel="self" href="https://forum.script-coding.com/extern.php?action=feed&amp;tid=11589&amp;type=atom" />
	<updated>2016-06-04T15:57:58Z</updated>
	<generator>PunBB</generator>
	<id>https://forum.script-coding.com/viewtopic.php?id=11589</id>
		<entry>
			<title type="html"><![CDATA[Re: AHK: раскладкозависимость, подавление ошибок, хоткей вида ctrl-a-b]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=104705#p104705" />
			<content type="html"><![CDATA[<p>Ок! <img src="//forum.script-coding.com/img/smilies/smile.png" width="15" height="15" /></p>]]></content>
			<author>
				<name><![CDATA[teadrinker]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=24515</uri>
			</author>
			<updated>2016-06-04T15:57:58Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=104705#p104705</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: раскладкозависимость, подавление ошибок, хоткей вида ctrl-a-b]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=104699#p104699" />
			<content type="html"><![CDATA[<p>А вдруг твой код к какому-нибудь мумба-юмба попадёт? Чем он виноват-то? <img src="//forum.script-coding.com/img/smilies/smile.png" width="15" height="15" /> Да и полезно (на всякий случай) знать, где должен находиться sublanguage ID. Где гарантия, что завтра это тебе или кому ещё не понадобится? А твой код с 0x3FF будет на это прозрачно намекать.</p>]]></content>
			<author>
				<name><![CDATA[YMP]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=81</uri>
			</author>
			<updated>2016-06-04T15:29:09Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=104699#p104699</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: раскладкозависимость, подавление ошибок, хоткей вида ctrl-a-b]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=104695#p104695" />
			<content type="html"><![CDATA[<p>PrimLangID у русского и английского завтра не изменится, а они оба в пределах 0xFF.</p>]]></content>
			<author>
				<name><![CDATA[teadrinker]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=24515</uri>
			</author>
			<updated>2016-06-04T15:14:21Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=104695#p104695</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: раскладкозависимость, подавление ошибок, хоткей вида ctrl-a-b]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=104694#p104694" />
			<content type="html"><![CDATA[<p>Сегодня подойдёт, а завтра? Поэтому и рекомендуется избегать таких решений.</p>]]></content>
			<author>
				<name><![CDATA[YMP]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=81</uri>
			</author>
			<updated>2016-06-04T15:07:55Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=104694#p104694</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: раскладкозависимость, подавление ошибок, хоткей вида ctrl-a-b]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=104690#p104690" />
			<content type="html"><![CDATA[<p>А, да, теперь верю. <img src="//forum.script-coding.com/img/smilies/smile.png" width="15" height="15" /> Значит, правильно так:<br /></p><div class="codebox"><pre><code>PrimLangID := DllCall(&quot;GetKeyboardLayout&quot;, Ptr, DllCall(&quot;GetWindowThreadProcessId&quot;, Ptr, WinExist(&quot;A&quot;), UInt, 0, Ptr), Ptr) &amp; 0x3FF
MsgBox, % PrimLangID = 0x09 ? &quot;En&quot; : &quot;Ru&quot;</code></pre></div><p>Но практически предыдущий вариант с 0xFF тоже подойдёт.</p>]]></content>
			<author>
				<name><![CDATA[teadrinker]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=24515</uri>
			</author>
			<updated>2016-06-04T14:48:02Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=104690#p104690</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: раскладкозависимость, подавление ошибок, хоткей вида ctrl-a-b]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=104667#p104667" />
			<content type="html"><![CDATA[<p>Просто рисунок слегка двусмысленный. Вот смотри.<br /></p><div class="codebox"><pre><code>
SetFormat, Integer, Hex
Lang = 9
SubLang = 1
MsgBox, % SubLang &lt;&lt; 10 | Lang
</code></pre></div>]]></content>
			<author>
				<name><![CDATA[YMP]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=81</uri>
			</author>
			<updated>2016-06-04T03:30:12Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=104667#p104667</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: раскладкозависимость, подавление ошибок, хоткей вида ctrl-a-b]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=104665#p104665" />
			<content type="html"><![CDATA[<p>Вижу там, что SubLanguage ID начинается от 9 бита.</p>]]></content>
			<author>
				<name><![CDATA[teadrinker]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=24515</uri>
			</author>
			<updated>2016-06-04T02:20:11Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=104665#p104665</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: раскладкозависимость, подавление ошибок, хоткей вида ctrl-a-b]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=104664#p104664" />
			<content type="html"><![CDATA[<p>По документации Майкрософта: <a href="https://msdn.microsoft.com/en-us/library/windows/desktop/dd318691(v=vs.85).aspx">Language Indentifiers</a>.</p>]]></content>
			<author>
				<name><![CDATA[YMP]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=81</uri>
			</author>
			<updated>2016-06-04T01:47:08Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=104664#p104664</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: раскладкозависимость, подавление ошибок, хоткей вида ctrl-a-b]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=104659#p104659" />
			<content type="html"><![CDATA[<p>Почему десять-то? <a href="https://msdn.microsoft.com/en-us/library/cc195085.aspx">Вот таблица</a>.</p>]]></content>
			<author>
				<name><![CDATA[teadrinker]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=24515</uri>
			</author>
			<updated>2016-06-03T17:57:19Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=104659#p104659</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: раскладкозависимость, подавление ошибок, хоткей вида ctrl-a-b]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=104657#p104657" />
			<content type="html"><![CDATA[<p>Точнее, первые 10 битов.<br /></p><div class="codebox"><pre><code>
+-------------------------+-------------------------+
|     SubLanguage ID      |   Primary Language ID   |
+-------------------------+-------------------------+
15                    10  9                         0   bit

</code></pre></div>]]></content>
			<author>
				<name><![CDATA[YMP]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=81</uri>
			</author>
			<updated>2016-06-03T17:04:01Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=104657#p104657</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: раскладкозависимость, подавление ошибок, хоткей вида ctrl-a-b]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=104656#p104656" />
			<content type="html"><![CDATA[<p>Да, судя по всему, последнего байта достаточно, так что:<br /></p><div class="codebox"><pre><code>PrimLangID := DllCall(&quot;GetKeyboardLayout&quot;, Ptr, DllCall(&quot;GetWindowThreadProcessId&quot;, Ptr, WinExist(&quot;A&quot;), UInt, 0, Ptr), Ptr) &amp; 0xFF
MsgBox, % PrimLangID = 0x09 ? &quot;En&quot; : &quot;Ru&quot;</code></pre></div>]]></content>
			<author>
				<name><![CDATA[teadrinker]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=24515</uri>
			</author>
			<updated>2016-06-03T16:58:29Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=104656#p104656</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: раскладкозависимость, подавление ошибок, хоткей вида ctrl-a-b]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=104455#p104455" />
			<content type="html"><![CDATA[<p>Понятно. Кстати, у языков ведь тоже есть разновидности. 0x409 — это не просто En, а En-US. 0x419 — это Ru-Ru. Есть ещё, оказывается, 0x819, русский в Молдавии. Так что верхнюю часть младшего слова тоже нужно отрезать.</p>]]></content>
			<author>
				<name><![CDATA[YMP]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=81</uri>
			</author>
			<updated>2016-05-31T02:31:57Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=104455#p104455</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: раскладкозависимость, подавление ошибок, хоткей вида ctrl-a-b]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=104449#p104449" />
			<content type="html"><![CDATA[<p>У меня как раз в связи с <a href="http://forum.script-coding.com/viewtopic.php?id=10401">этой</a> проблемой две русских. Использую модифицированную, но старую не удалил на всякий случай.</p>]]></content>
			<author>
				<name><![CDATA[teadrinker]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=24515</uri>
			</author>
			<updated>2016-05-30T18:09:06Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=104449#p104449</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: раскладкозависимость, подавление ошибок, хоткей вида ctrl-a-b]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=104444#p104444" />
			<content type="html"><![CDATA[<p>В принципе, может, и много, но на практике одна. Ну зачем тебе, к примеру, раскладка Дворжака на английском? Или на русском какая-нибудь &quot;Машинопись&quot;?</p>]]></content>
			<author>
				<name><![CDATA[YMP]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=81</uri>
			</author>
			<updated>2016-05-30T16:01:24Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=104444#p104444</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: раскладкозависимость, подавление ошибок, хоткей вида ctrl-a-b]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=104442#p104442" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>YMP пишет:</cite><blockquote><p><strong>teadrinker</strong><br />Ну, тогда это не раскладка, а язык.</p></blockquote></div><p>Ну да, раскладок-то всяких много может быть, всех не учтёшь.</p>]]></content>
			<author>
				<name><![CDATA[teadrinker]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=24515</uri>
			</author>
			<updated>2016-05-30T14:01:36Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=104442#p104442</id>
		</entry>
</feed>
