<?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>https://forum.script-coding.com/viewtopic.php?id=6177</link>
		<atom:link href="https://forum.script-coding.com/extern.php?action=feed&amp;tid=6177&amp;type=rss" rel="self" type="application/rss+xml" />
		<description><![CDATA[Недавние сообщения в теме «AHK: при изменении раскладки меняется вид каретки».]]></description>
		<lastBuildDate>Mon, 05 Sep 2011 08:22:44 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: AHK: при изменении раскладки меняется вид каретки]]></title>
			<link>https://forum.script-coding.com/viewtopic.php?pid=51213#p51213</link>
			<description><![CDATA[<p>Моя ошибка - напутал в терминалогии. Задача стояла изменить внешний вид текстового курсора.<br />У каретки, насколько я понимаю, можно изменить только частоту моргания, что не работает, увы, <br />в FF, так что основной смысл теряется. Я задал вопрос в поддержке FF, и вот что мне ответили:</p><p><a href="https://support.mozilla.com/ru/questions/870784#answers">https://support.mozilla.com/ru/questions/870784#answers</a></p>]]></description>
			<author><![CDATA[null@example.com (Kamagi)]]></author>
			<pubDate>Mon, 05 Sep 2011 08:22:44 +0000</pubDate>
			<guid>https://forum.script-coding.com/viewtopic.php?pid=51213#p51213</guid>
		</item>
		<item>
			<title><![CDATA[Re: AHK: при изменении раскладки меняется вид каретки]]></title>
			<link>https://forum.script-coding.com/viewtopic.php?pid=51196#p51196</link>
			<description><![CDATA[<p>Честно говоря, про каретку там не нашёл, там есть про курсор <em>Ibeam</em>. Курсор и каретка — не одно и то же.</p>]]></description>
			<author><![CDATA[null@example.com (teadrinker)]]></author>
			<pubDate>Sun, 04 Sep 2011 20:07:30 +0000</pubDate>
			<guid>https://forum.script-coding.com/viewtopic.php?pid=51196#p51196</guid>
		</item>
		<item>
			<title><![CDATA[Re: AHK: при изменении раскладки меняется вид каретки]]></title>
			<link>https://forum.script-coding.com/viewtopic.php?pid=51137#p51137</link>
			<description><![CDATA[<p>Нашел решение. Стоило поискать подольше и вот оно, здесь, на форуме.</p><p><a href="http://forum.script-coding.com/viewtopic.php?id=5108">http://forum.script-coding.com/viewtopic.php?id=5108</a></p><p>ID для текстового курсора - 32513</p><p>Можно, пожалуй, даже шлёпнуть тему.</p>]]></description>
			<author><![CDATA[null@example.com (Kamagi)]]></author>
			<pubDate>Sat, 03 Sep 2011 17:03:03 +0000</pubDate>
			<guid>https://forum.script-coding.com/viewtopic.php?pid=51137#p51137</guid>
		</item>
		<item>
			<title><![CDATA[Re: AHK: при изменении раскладки меняется вид каретки]]></title>
			<link>https://forum.script-coding.com/viewtopic.php?pid=51136#p51136</link>
			<description><![CDATA[<p>Ну а теперь прошу прощения :)</p>]]></description>
			<author><![CDATA[null@example.com (Kamagi)]]></author>
			<pubDate>Sat, 03 Sep 2011 15:50:00 +0000</pubDate>
			<guid>https://forum.script-coding.com/viewtopic.php?pid=51136#p51136</guid>
		</item>
		<item>
			<title><![CDATA[Re: AHK: при изменении раскладки меняется вид каретки]]></title>
			<link>https://forum.script-coding.com/viewtopic.php?pid=51123#p51123</link>
			<description><![CDATA[<p><span style="color: green"><strong>Kamagi</strong>, в заголовке темы замени &quot; Прошу помочь - &quot; на &quot;AHK: &quot;. <a href="http://forum.script-coding.com/viewtopic.php?pid=44437#p44437">Как правильно называть темы.</a></span></p>]]></description>
			<author><![CDATA[null@example.com (teadrinker)]]></author>
			<pubDate>Sat, 03 Sep 2011 06:16:47 +0000</pubDate>
			<guid>https://forum.script-coding.com/viewtopic.php?pid=51123#p51123</guid>
		</item>
		<item>
			<title><![CDATA[AHK: при изменении раскладки меняется вид каретки]]></title>
			<link>https://forum.script-coding.com/viewtopic.php?pid=51122#p51122</link>
			<description><![CDATA[<p>Приветствую! </p><p>Для изменения раскладки клавиатуры я использую скрипт, который еще и меняет внешний вид курсора<br />(ножка стрелки закрашивается черным - не режет глаз, привычно и сразу понятно, какая раскладка). <br />Это полезно и удобно, но если бы менялся внешний вид каретки (выглядит как заглавная англ &quot;и&quot; - I), <br />было бы просто шикарно. </p><p>Насколько я понимаю, принцип тот же, что и при смене курсора - <br />стандартный виндусовый файл с курсором меняется на мой. <br />Часть скрипта, меняющая вид курсора взял отсюда - <a href="http://www.autohotkey.com/forum/topic35600.html&amp;highlight=caret">http://www.autohotkey.com/forum/topic35 … ight=caret</a><br />Но про каретку там ничего. Идеи?</p><div class="codebox"><pre><code>RCtrl::
  SetFormat, Integer, H
  Locale1=0x4090409  ; Английский (американский).
  Locale2=0x4190419  ; Русский.
  WinGet, WinID,, A
  ThreadID:=DllCall(&quot;GetWindowThreadProcessId&quot;, &quot;Int&quot;, WinID, &quot;Int&quot;, &quot;0&quot;)
  InputLocaleID:=DllCall(&quot;GetKeyboardLayout&quot;, &quot;Int&quot;, ThreadID)
  if(InputLocaleID=Locale1)
{
    SendMessage, 0x50,, % Locale2,, A
    Cursor = %A_ScriptDir%\1.cur
    CursorHandle := DllCall( &quot;LoadCursorFromFile&quot;, Str,Cursor )
    Cursors = 32512,32513,32514,32515,32516,32640,32641,32642,32643,32644,32645,32646,32648,32649,32650,32651
    Loop, Parse, Cursors, `,
        {
    DllCall( &quot;SetSystemCursor&quot;, Uint,CursorHandle, Int,A_Loopfield )
        }
    Return
}
  else if(InputLocaleID=Locale2)
{
    SendMessage, 0x50,, % Locale1,, A
    SPI_SETCURSORS := 0x57
    DllCall( &quot;SystemParametersInfo&quot;, UInt,SPI_SETCURSORS, UInt,0, UInt,0, UInt,0 )
}

Return</code></pre></div>]]></description>
			<author><![CDATA[null@example.com (Kamagi)]]></author>
			<pubDate>Sat, 03 Sep 2011 05:38:06 +0000</pubDate>
			<guid>https://forum.script-coding.com/viewtopic.php?pid=51122#p51122</guid>
		</item>
	</channel>
</rss>
