<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[Серый форум &mdash; AHK: изменение курсора в зависимости от языка ввода]]></title>
		<link>http://forum.script-coding.com/viewtopic.php?id=5108</link>
		<atom:link href="http://forum.script-coding.com/extern.php?action=feed&amp;tid=5108&amp;type=rss" rel="self" type="application/rss+xml" />
		<description><![CDATA[Недавние сообщения в теме «AHK: изменение курсора в зависимости от языка ввода».]]></description>
		<lastBuildDate>Thu, 17 Nov 2016 08:50:51 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: AHK: изменение курсора в зависимости от языка ввода]]></title>
			<link>http://forum.script-coding.com/viewtopic.php?pid=109202#p109202</link>
			<description><![CDATA[<p>Спасибо большое. Это мне как раз и нужно, я пишу свой скрипт для ввода спецсимволов.<br />По поводу этой проблемы, у меня win10x64 и скрипт неверно отображает состояние локали в edge и chrome, это такая &quot;нерешаемая&quot; проблема, или это только у меня такая ситуация?</p>]]></description>
			<author><![CDATA[null@example.com (upsi_daezium)]]></author>
			<pubDate>Thu, 17 Nov 2016 08:50:51 +0000</pubDate>
			<guid>http://forum.script-coding.com/viewtopic.php?pid=109202#p109202</guid>
		</item>
		<item>
			<title><![CDATA[Re: AHK: изменение курсора в зависимости от языка ввода]]></title>
			<link>http://forum.script-coding.com/viewtopic.php?pid=109188#p109188</link>
			<description><![CDATA[<p>На самом деле я делал скрипт для удобства ввода греческих букв и спецсимволов. Давно это было. <img src="//forum.script-coding.com/img/smilies/smile.png" width="15" height="15" /><br />Конечно выложу, только редактируйте его самостоятельно.</p>]]></description>
			<author><![CDATA[null@example.com (ypppu)]]></author>
			<pubDate>Wed, 16 Nov 2016 20:56:37 +0000</pubDate>
			<guid>http://forum.script-coding.com/viewtopic.php?pid=109188#p109188</guid>
		</item>
		<item>
			<title><![CDATA[Re: AHK: изменение курсора в зависимости от языка ввода]]></title>
			<link>http://forum.script-coding.com/viewtopic.php?pid=109175#p109175</link>
			<description><![CDATA[<p><strong>ypppu</strong>, а можете выложить еще и ваш вариант этого скрипта.<br />Кстати, у меня win10x64 и скрипт неверно отображает состояние локали в edge и chrome.</p>]]></description>
			<author><![CDATA[null@example.com (upsi_daezium)]]></author>
			<pubDate>Wed, 16 Nov 2016 19:18:18 +0000</pubDate>
			<guid>http://forum.script-coding.com/viewtopic.php?pid=109175#p109175</guid>
		</item>
		<item>
			<title><![CDATA[Re: AHK: изменение курсора в зависимости от языка ввода]]></title>
			<link>http://forum.script-coding.com/viewtopic.php?pid=109097#p109097</link>
			<description><![CDATA[<p>Благодарю.</p>]]></description>
			<author><![CDATA[null@example.com (upsi_daezium)]]></author>
			<pubDate>Sat, 12 Nov 2016 13:31:30 +0000</pubDate>
			<guid>http://forum.script-coding.com/viewtopic.php?pid=109097#p109097</guid>
		</item>
		<item>
			<title><![CDATA[Re: AHK: изменение курсора в зависимости от языка ввода]]></title>
			<link>http://forum.script-coding.com/viewtopic.php?pid=109069#p109069</link>
			<description><![CDATA[<p>У меня такие курсоры.</p>]]></description>
			<author><![CDATA[null@example.com (ypppu)]]></author>
			<pubDate>Fri, 11 Nov 2016 06:07:12 +0000</pubDate>
			<guid>http://forum.script-coding.com/viewtopic.php?pid=109069#p109069</guid>
		</item>
		<item>
			<title><![CDATA[Re: AHK: изменение курсора в зависимости от языка ввода]]></title>
			<link>http://forum.script-coding.com/viewtopic.php?pid=109051#p109051</link>
			<description><![CDATA[<p>Неужели ни у кого нет??<br />Тогда вспомните хоть как это выглядело, курсоры я сам нарисую и выложу.</p>]]></description>
			<author><![CDATA[null@example.com (upsi_daezium)]]></author>
			<pubDate>Thu, 10 Nov 2016 11:29:23 +0000</pubDate>
			<guid>http://forum.script-coding.com/viewtopic.php?pid=109051#p109051</guid>
		</item>
		<item>
			<title><![CDATA[Re: AHK: изменение курсора в зависимости от языка ввода]]></title>
			<link>http://forum.script-coding.com/viewtopic.php?pid=108765#p108765</link>
			<description><![CDATA[<p>Можете перевыложить cursor.rar, а то по ссылке нельзя скачать.</p>]]></description>
			<author><![CDATA[null@example.com (upsi_daezium)]]></author>
			<pubDate>Thu, 03 Nov 2016 12:50:58 +0000</pubDate>
			<guid>http://forum.script-coding.com/viewtopic.php?pid=108765#p108765</guid>
		</item>
		<item>
			<title><![CDATA[Re: AHK: изменение курсора в зависимости от языка ввода]]></title>
			<link>http://forum.script-coding.com/viewtopic.php?pid=41856#p41856</link>
			<description><![CDATA[<p>А как упаковать (добавить) курсоры и прописать третий язык? Файлы прилагаю.<br />Кроме того интересует почему (модификация под Корел) при попадании курсора в область самого графического файла, курсоры опять становяться другими. Я так понимаю из за того что внутри программы и внутри файла курсоры разные (ну инструменты для рисования там). Можно ли так изменить скрипт что бы он работал имено внутри рабочей области графического файла, потому что имено в этом нашел полезность скрипта для себя и других дизайнеров.</p><p><a href="http://letitfile.com/download/id123064">Скачать с LetitFile.com</a><br />Подумал может класс окна выяснить и прописать, но так тоже не работает.<br /><a href="http://imagepost.ru/?v=299/WinInfo.JPG"><span class="postimg"><img src="http://imagepost.ru/thumbs/299/WinInfo.JPG" alt="http://imagepost.ru/thumbs/299/WinInfo.JPG" /></span></a></p>]]></description>
			<author><![CDATA[null@example.com (0meg@)]]></author>
			<pubDate>Wed, 17 Nov 2010 16:33:07 +0000</pubDate>
			<guid>http://forum.script-coding.com/viewtopic.php?pid=41856#p41856</guid>
		</item>
		<item>
			<title><![CDATA[Re: AHK: изменение курсора в зависимости от языка ввода]]></title>
			<link>http://forum.script-coding.com/viewtopic.php?pid=41652#p41652</link>
			<description><![CDATA[<p>Попробуй так<br /><em><strong>ahk_class MozillaUIWindowClass</strong></em> заменишь на окно корела</p><div class="codebox"><pre><code>#NoEnv
#SingleInstance force
#Persistent
LIST=32512,32513,32514,32515,32516,32642,32643,32644,32645,32646,32648,32649,32650,32651
OCR_IBEAM := 32513, OCR_NORMAL := 32512, OCR_APPSTARTING := 32650
OnExit, Exit

SetWorkingDir, %A_ScriptDir%/cursors
Loop, parse, LIST, CSV
{
    Extension := (A_LoopField=32514 or A_LoopField=32650) ? &quot;.ani&quot; : &quot;.cur&quot;
    If !FileExist(A_LoopField . Extension)
    {
      MsgBox, 48,, Не найден следующий файл:`n%A_LoopField%%Extension%
      ExitApp
    }    
    hCur := DllCall(&quot;LoadCursorFromFile&quot;, Str, A_LoopField . Extension)
    DllCall(&quot;SetSystemCursor&quot;, UInt, hCur, Int, A_LoopField)
}

SetWorkingDir, %A_ScriptDir%
If !FileExist(&quot;EN_ARROW.cur&quot;) || !FileExist(&quot;RU_ARROW.cur&quot;)
|| !FileExist(&quot;EN_IBEAM.cur&quot;) || !FileExist(&quot;RU_IBEAM.cur&quot;)
|| !FileExist(&quot;EN_APPSTARTING.ani&quot;) || !FileExist(&quot;RU_APPSTARTING.ani&quot;)
{
    MsgBox, 48,, Нет соответствующих курсоров в папке скрипта!
    ExitApp
}
   
SetTimer, LocaleWatch, 100

LocaleWatch:
If winactive(&quot;ahk_class MozillaUIWindowClass&quot;)
{
   DllCall(&quot;SystemParametersInfo&quot;, UInt, &quot;0x57&quot;, UInt, 0, UInt, 0, UInt, 0) ; возвпащаем обычные курсоры
   window=corel
   return
}
   MouseGetPos,,, WinID
   ThreadID := DllCall(&quot;GetWindowThreadProcessId&quot;, UInt, WinID, UInt, 0)
   InputLocaleID := DllCall(&quot;GetKeyboardLayout&quot;, UInt, ThreadID)
   if (InputLocaleID = Prev_InputLocaleID) and (window = &quot;other&quot;)
      Return

   bool := (InputLocaleID = 0x4090409)
   hArrow := DllCall(&quot;LoadCursorFromFile&quot;, Str, (bool ? &quot;EN&quot; : &quot;RU&quot;) . &quot;_ARROW.cur&quot;)
   hIbeam := DllCall(&quot;LoadCursorFromFile&quot;, Str, (bool ? &quot;EN&quot; : &quot;RU&quot;) . &quot;_IBEAM.cur&quot;)
   hAPPSTARTING := DllCall(&quot;LoadCursorFromFile&quot;, Str, (bool ? &quot;EN&quot; : &quot;RU&quot;) . &quot;_APPSTARTING.ani&quot;)
   DllCall(&quot;SetSystemCursor&quot;, UInt, hArrow, Int, OCR_NORMAL)
   DllCall(&quot;SetSystemCursor&quot;, UInt, hIbeam, Int, OCR_IBEAM)
   DllCall(&quot;SetSystemCursor&quot;, UInt, hAPPSTARTING, Int, OCR_APPSTARTING)
   Prev_InputLocaleID := InputLocaleID
   window=other
   Return
   
Exit:
   DllCall(&quot;SystemParametersInfo&quot;, UInt, &quot;0x57&quot;, UInt, 0, UInt, 0, UInt, 0)
   ExitApp</code></pre></div>]]></description>
			<author><![CDATA[null@example.com (InFlames)]]></author>
			<pubDate>Sun, 14 Nov 2010 06:33:36 +0000</pubDate>
			<guid>http://forum.script-coding.com/viewtopic.php?pid=41652#p41652</guid>
		</item>
		<item>
			<title><![CDATA[Re: AHK: изменение курсора в зависимости от языка ввода]]></title>
			<link>http://forum.script-coding.com/viewtopic.php?pid=41651#p41651</link>
			<description><![CDATA[<p>teadrinker Работая в окне Corel&#039;а курсоры меняються на стандартные системные, и скажем при вводе текста все остаеться так же как и было до скрипта.</p>]]></description>
			<author><![CDATA[null@example.com (0meg@)]]></author>
			<pubDate>Sun, 14 Nov 2010 05:34:53 +0000</pubDate>
			<guid>http://forum.script-coding.com/viewtopic.php?pid=41651#p41651</guid>
		</item>
		<item>
			<title><![CDATA[Re: AHK: изменение курсора в зависимости от языка ввода]]></title>
			<link>http://forum.script-coding.com/viewtopic.php?pid=41586#p41586</link>
			<description><![CDATA[<div class="quotebox"><cite>0meg@ пишет:</cite><blockquote><p>Вопрос, а возможно ли сделать так что бы курсор менялся и в определенных программах, скажем я часто работаю в Corel Draw X4.</p></blockquote></div><p>А каким образом и при каких условиях он должен меняться?</p>]]></description>
			<author><![CDATA[null@example.com (teadrinker)]]></author>
			<pubDate>Sat, 13 Nov 2010 14:12:36 +0000</pubDate>
			<guid>http://forum.script-coding.com/viewtopic.php?pid=41586#p41586</guid>
		</item>
		<item>
			<title><![CDATA[Re: AHK: изменение курсора в зависимости от языка ввода]]></title>
			<link>http://forum.script-coding.com/viewtopic.php?pid=41563#p41563</link>
			<description><![CDATA[<p>Между строками<br /></p><div class="codebox"><pre><code>LocaleWatch:
   MouseGetPos,,, WinID</code></pre></div><p>вписать код<br /></p><div class="codebox"><pre><code>If winactive(&quot;тут вписать название окна корела&quot;)
{
   DllCall(&quot;SystemParametersInfo&quot;, UInt, &quot;0x57&quot;, UInt, 0, UInt, 0, UInt, 0) ; возвпащаем обычные курсоры
   return
}</code></pre></div><p>Если требуется наоборот, загружать курсоры для корела, то так<br /></p><div class="codebox"><pre><code>If !winactive(&quot;тут вписать название окна корела&quot;)
{
   DllCall(&quot;SystemParametersInfo&quot;, UInt, &quot;0x57&quot;, UInt, 0, UInt, 0, UInt, 0) ; возвпащаем обычные курсоры
   return
}</code></pre></div>]]></description>
			<author><![CDATA[null@example.com (InFlames)]]></author>
			<pubDate>Sat, 13 Nov 2010 03:52:51 +0000</pubDate>
			<guid>http://forum.script-coding.com/viewtopic.php?pid=41563#p41563</guid>
		</item>
		<item>
			<title><![CDATA[Re: AHK: изменение курсора в зависимости от языка ввода]]></title>
			<link>http://forum.script-coding.com/viewtopic.php?pid=41562#p41562</link>
			<description><![CDATA[<p>Вопрос, а возможно ли сделать так что бы курсор менялся и в определенных программах, скажем я часто работаю в Corel Draw X4.</p>]]></description>
			<author><![CDATA[null@example.com (0meg@)]]></author>
			<pubDate>Sat, 13 Nov 2010 03:28:17 +0000</pubDate>
			<guid>http://forum.script-coding.com/viewtopic.php?pid=41562#p41562</guid>
		</item>
		<item>
			<title><![CDATA[Re: AHK: изменение курсора в зависимости от языка ввода]]></title>
			<link>http://forum.script-coding.com/viewtopic.php?pid=41422#p41422</link>
			<description><![CDATA[<p>На любой версии Windows работает.</p>]]></description>
			<author><![CDATA[null@example.com (InFlames)]]></author>
			<pubDate>Wed, 10 Nov 2010 03:53:31 +0000</pubDate>
			<guid>http://forum.script-coding.com/viewtopic.php?pid=41422#p41422</guid>
		</item>
		<item>
			<title><![CDATA[Re: AHK: изменение курсора в зависимости от языка ввода]]></title>
			<link>http://forum.script-coding.com/viewtopic.php?pid=41419#p41419</link>
			<description><![CDATA[<p>Это скрипт работает только для Windows 7 или на XP такое тоже возможно?</p>]]></description>
			<author><![CDATA[null@example.com (0meg@)]]></author>
			<pubDate>Wed, 10 Nov 2010 03:09:09 +0000</pubDate>
			<guid>http://forum.script-coding.com/viewtopic.php?pid=41419#p41419</guid>
		</item>
	</channel>
</rss>
