<?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=6112&amp;type=atom" />
	<updated>2011-08-12T17:33:24Z</updated>
	<generator>PunBB</generator>
	<id>https://forum.script-coding.com/viewtopic.php?id=6112</id>
		<entry>
			<title type="html"><![CDATA[Re: AHK: язык в системе]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=50581#p50581" />
			<content type="html"><![CDATA[<p>Спасибо, разобрался</p>]]></content>
			<author>
				<name><![CDATA[ilya20069]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=26683</uri>
			</author>
			<updated>2011-08-12T17:33:24Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=50581#p50581</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: язык в системе]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=50580#p50580" />
			<content type="html"><![CDATA[<p>Если <em>InputLocaleID &amp; 0xFFFF = 0x409</em> — английский, если <em>InputLocaleID &amp; 0xFFFF = 0x419</em> — русский. Для одного и того же окна ThreadProcessID не изменяется.</p>]]></content>
			<author>
				<name><![CDATA[teadrinker]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=24515</uri>
			</author>
			<updated>2011-08-12T17:31:43Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=50580#p50580</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: язык в системе]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=50579#p50579" />
			<content type="html"><![CDATA[<p>Я просто хочу в своем скрипте это использовать.</p><p>кхм.. и изменяется ли ThreadProcessID c течением времени, или можно однажды получить его в шапке?</p>]]></content>
			<author>
				<name><![CDATA[ilya20069]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=26683</uri>
			</author>
			<updated>2011-08-12T17:26:01Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=50579#p50579</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: язык в системе]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=50578#p50578" />
			<content type="html"><![CDATA[<p>Ничего делать не надо, просто посмотреть на <em>ToolTip</em> вблизи курсора.</p>]]></content>
			<author>
				<name><![CDATA[teadrinker]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=24515</uri>
			</author>
			<updated>2011-08-12T17:21:13Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=50578#p50578</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: язык в системе]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=50577#p50577" />
			<content type="html"><![CDATA[<p>Благодарю, но я немного запутался: какое значение имеет на выходе InputLocaleID, и что с ней надо сделать <img src="//forum.script-coding.com/img/smilies/smile.png" width="15" height="15" /></p>]]></content>
			<author>
				<name><![CDATA[ilya20069]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=26683</uri>
			</author>
			<updated>2011-08-12T17:17:21Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=50577#p50577</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: язык в системе]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=50576#p50576" />
			<content type="html"><![CDATA[<div class="codebox"><pre><code>F11::
	WinGet, WinID,, A
	ThreadID := DllCall(&quot;GetWindowThreadProcessId&quot;, UInt, WinID, UInt, 0)
	InputLocaleID := DllCall(&quot;GetKeyboardLayout&quot;, UInt, ThreadID, UInt)
	ToolTip, % InputLocaleID &amp; 0xFFFF = 0x409 ? &quot;En&quot; : InputLocaleID &amp; 0xFFFF = 0x419 ? &quot;Ru&quot; : &quot;Другой&quot;
	Sleep, 400
	ToolTip
	Return</code></pre></div>]]></content>
			<author>
				<name><![CDATA[teadrinker]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=24515</uri>
			</author>
			<updated>2011-08-12T17:13:14Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=50576#p50576</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[AHK: язык в системе]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=50575#p50575" />
			<content type="html"><![CDATA[<p>Добрый день, каким образом можно узнать нынешний язык ввода? Есть переменная A_Language, но она показывает лишь язык по умолчанию.</p>]]></content>
			<author>
				<name><![CDATA[ilya20069]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=26683</uri>
			</author>
			<updated>2011-08-12T16:46:46Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=50575#p50575</id>
		</entry>
</feed>
