<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[Серый форум &mdash; AHK: Windows 10]]></title>
		<link>http://forum.script-coding.com/viewtopic.php?id=11573</link>
		<atom:link href="http://forum.script-coding.com/extern.php?action=feed&amp;tid=11573&amp;type=rss" rel="self" type="application/rss+xml" />
		<description><![CDATA[Недавние сообщения в теме «AHK: Windows 10».]]></description>
		<lastBuildDate>Mon, 09 May 2016 20:58:47 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: AHK: Windows 10]]></title>
			<link>http://forum.script-coding.com/viewtopic.php?pid=103602#p103602</link>
			<description><![CDATA[<p><strong>teadrinker</strong>,спасибо!</p>]]></description>
			<author><![CDATA[null@example.com (sabir.yanin2014)]]></author>
			<pubDate>Mon, 09 May 2016 20:58:47 +0000</pubDate>
			<guid>http://forum.script-coding.com/viewtopic.php?pid=103602#p103602</guid>
		</item>
		<item>
			<title><![CDATA[Re: AHK: Windows 10]]></title>
			<link>http://forum.script-coding.com/viewtopic.php?pid=103599#p103599</link>
			<description><![CDATA[<p>0x4190419</p>]]></description>
			<author><![CDATA[null@example.com (teadrinker)]]></author>
			<pubDate>Mon, 09 May 2016 20:15:42 +0000</pubDate>
			<guid>http://forum.script-coding.com/viewtopic.php?pid=103599#p103599</guid>
		</item>
		<item>
			<title><![CDATA[Re: AHK: Windows 10]]></title>
			<link>http://forum.script-coding.com/viewtopic.php?pid=103598#p103598</link>
			<description><![CDATA[<p>Может 0x4090419 не правильный номер для русского пакета так как это работает:<br /></p><div class="codebox"><pre><code>
z::
ControlGetFocus, CtrlFocus, % &quot;ahk_id&quot; WinExist(&quot;A&quot;)
PostMessage, 0x50, 0, 0x4090409, %CtrlFocus% ;смена на английский
Return 
 </code></pre></div><p>А вот это нет:<br /></p><div class="codebox"><pre><code>
v::
ControlGetFocus, CtrlFocus, % &quot;ahk_id&quot; WinExist(&quot;A&quot;)
PostMessage, 0x50, 0, 0x4090419, %CtrlFocus% ;смена на русский
Return 
</code></pre></div>]]></description>
			<author><![CDATA[null@example.com (sabir.yanin2014)]]></author>
			<pubDate>Mon, 09 May 2016 19:47:48 +0000</pubDate>
			<guid>http://forum.script-coding.com/viewtopic.php?pid=103598#p103598</guid>
		</item>
		<item>
			<title><![CDATA[Re: AHK: Windows 10]]></title>
			<link>http://forum.script-coding.com/viewtopic.php?pid=103595#p103595</link>
			<description><![CDATA[<p><strong>serzh82saratov</strong>, работает!<br />Но я хотел запустить свой переводчик-часть кода:<br /></p><div class="codebox"><pre><code>
If DllCall(&quot;GetKeyboardLayout&quot;, &quot;Int&quot;, DllCall(&quot;GetWindowThreadProcessId&quot;, &quot;Int&quot;, WinExist(&quot;A&quot;), &quot;Int&quot;, &quot;0&quot;)) = 0x4190419
PostMessage, 0x50, 0, 0x4090409,, A ;английский
Else
PostMessage, 0x50, 0, 0x4190419,, A ;русский
</code></pre></div><p>по вашему способу:<br /></p><div class="codebox"><pre><code>
If DllCall(&quot;GetKeyboardLayout&quot;, &quot;Int&quot;, DllCall(&quot;GetWindowThreadProcessId&quot;, &quot;Int&quot;, WinExist(&quot;A&quot;), &quot;Int&quot;, &quot;0&quot;))=0x4190419
{
ControlGetFocus, CtrlFocus, % &quot;ahk_id&quot; WinExist(&quot;A&quot;)
PostMessage, 0x50, 0, 0x4090409, %CtrlFocus% ;английский
}
else
{
ControlGetFocus, CtrlFocus, % &quot;ahk_id&quot; WinExist(&quot;A&quot;)
PostMessage, 0x50, 0, 0x4090419, %CtrlFocus% ;русский
}
</code></pre></div><p>Не работает. C русского на английский меняет раскладку, а наоборот не хочет.<br />DllCall язык определяет:<br /></p><div class="codebox"><pre><code>
If DllCall(&quot;GetKeyboardLayout&quot;, &quot;Int&quot;, DllCall(&quot;GetWindowThreadProcessId&quot;, &quot;Int&quot;, WinExist(&quot;A&quot;), &quot;Int&quot;, &quot;0&quot;)) = 0x4190419
MsgBox  русский
Else
MsgBox  английский
</code></pre></div><p>Может подскажете что я не так делаю?</p>]]></description>
			<author><![CDATA[null@example.com (sabir.yanin2014)]]></author>
			<pubDate>Mon, 09 May 2016 18:52:04 +0000</pubDate>
			<guid>http://forum.script-coding.com/viewtopic.php?pid=103595#p103595</guid>
		</item>
		<item>
			<title><![CDATA[Re: AHK: Windows 10]]></title>
			<link>http://forum.script-coding.com/viewtopic.php?pid=103594#p103594</link>
			<description><![CDATA[<p>Смежный вопрос: <a href="http://forum.script-coding.com/viewtopic.php?id=11549">Действия внутри приложения Windows 10</a></p>]]></description>
			<author><![CDATA[null@example.com (becauseim)]]></author>
			<pubDate>Mon, 09 May 2016 18:45:36 +0000</pubDate>
			<guid>http://forum.script-coding.com/viewtopic.php?pid=103594#p103594</guid>
		</item>
		<item>
			<title><![CDATA[Re: AHK: Windows 10]]></title>
			<link>http://forum.script-coding.com/viewtopic.php?pid=103590#p103590</link>
			<description><![CDATA[<div class="quotebox"><cite>sabir.yanin2014 пишет:</cite><blockquote><p>Предлагаю создать тему посвященную работе AHK в среде Windows 10</p></blockquote></div><p>Вы это уже сделали, а так да, проблем очень много. Новые скрипты конечно надо тестировать в первую очередь на 10-ке, правда наверняка она меньше чем у половины <span class="bbu">активных пользователей</span> этого ресурса.<br /></p><div class="quotebox"><cite>sabir.yanin2014 пишет:</cite><blockquote><p>Вот пример</p></blockquote></div><p>А так работает?<br /></p><div class="codebox"><pre><code>ControlGetFocus, CtrlFocus, % &quot;ahk_id&quot; WinExist(&quot;A&quot;)
PostMessage, 0x50, 0, 0x4090409, %CtrlFocus% 
</code></pre></div>]]></description>
			<author><![CDATA[null@example.com (serzh82saratov)]]></author>
			<pubDate>Mon, 09 May 2016 18:02:51 +0000</pubDate>
			<guid>http://forum.script-coding.com/viewtopic.php?pid=103590#p103590</guid>
		</item>
		<item>
			<title><![CDATA[AHK: Windows 10]]></title>
			<link>http://forum.script-coding.com/viewtopic.php?pid=103589#p103589</link>
			<description><![CDATA[<p>Предлагаю создать тему посвященную работе AHK в среде Windows 10.&nbsp; Думаю что меня поддержат многие, так как операционка новая и старые скрипты не очень то хотят в ней работать. <br />	Вот пример: переключение языка раскладки с помощью PostMessage. В Windows 10 почему то не работают команды:<br /></p><div class="codebox"><pre><code>
PostMessage, 0x50, 0, 0x4090409,, A ;английский
PostMessage, 0x50, 0, 0x4190419,, A ;русский
</code></pre></div><p>Кто нибудь знает как решить проблему?</p>]]></description>
			<author><![CDATA[null@example.com (sabir.yanin2014)]]></author>
			<pubDate>Mon, 09 May 2016 17:51:19 +0000</pubDate>
			<guid>http://forum.script-coding.com/viewtopic.php?pid=103589#p103589</guid>
		</item>
	</channel>
</rss>
