<?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=15928</link>
		<atom:link href="https://forum.script-coding.com/extern.php?action=feed&amp;tid=15928&amp;type=rss" rel="self" type="application/rss+xml" />
		<description><![CDATA[Недавние сообщения в теме «AHK: Проверка переменной на наличие кириллицы».]]></description>
		<lastBuildDate>Fri, 18 Dec 2020 23:01:21 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: AHK: Проверка переменной на наличие кириллицы]]></title>
			<link>https://forum.script-coding.com/viewtopic.php?pid=144273#p144273</link>
			<description><![CDATA[<p><strong>serzh82saratov</strong></p><p>Ну, как видим тут есть те, кто утверждает обратное.</p>]]></description>
			<author><![CDATA[null@example.com (__Михаил__)]]></author>
			<pubDate>Fri, 18 Dec 2020 23:01:21 +0000</pubDate>
			<guid>https://forum.script-coding.com/viewtopic.php?pid=144273#p144273</guid>
		</item>
		<item>
			<title><![CDATA[Re: AHK: Проверка переменной на наличие кириллицы]]></title>
			<link>https://forum.script-coding.com/viewtopic.php?pid=144270#p144270</link>
			<description><![CDATA[<div class="quotebox"><cite>Phoenixxx_Czar пишет:</cite><blockquote><p><strong>__Михаил__</strong>, если вашу функцию вызвать с параметром &quot;#s&quot;, то вернет &quot;#s&quot;. Данного символа нет в регулярном выражении.</p></blockquote></div><p>Знакомая функция. Уверен что автор сделал её только для контрола Hotkey, а &quot;#&quot; в нём быть не может.</p>]]></description>
			<author><![CDATA[null@example.com (serzh82saratov)]]></author>
			<pubDate>Fri, 18 Dec 2020 19:50:14 +0000</pubDate>
			<guid>https://forum.script-coding.com/viewtopic.php?pid=144270#p144270</guid>
		</item>
		<item>
			<title><![CDATA[Re: AHK: Проверка переменной на наличие кириллицы]]></title>
			<link>https://forum.script-coding.com/viewtopic.php?pid=144269#p144269</link>
			<description><![CDATA[<p><strong>Phoenixxx_Czar</strong></p><p>Взял давно с форума, меня полностью устраивает. Если вас нет - доработайте.</p>]]></description>
			<author><![CDATA[null@example.com (__Михаил__)]]></author>
			<pubDate>Fri, 18 Dec 2020 18:40:43 +0000</pubDate>
			<guid>https://forum.script-coding.com/viewtopic.php?pid=144269#p144269</guid>
		</item>
		<item>
			<title><![CDATA[Re: AHK: Проверка переменной на наличие кириллицы]]></title>
			<link>https://forum.script-coding.com/viewtopic.php?pid=144268#p144268</link>
			<description><![CDATA[<p><strong>__Михаил__</strong>, если вашу функцию вызвать с параметром &quot;#s&quot;, то вернет &quot;#s&quot;. Данного символа нет в регулярном выражении.</p>]]></description>
			<author><![CDATA[null@example.com (Phoenixxx_Czar)]]></author>
			<pubDate>Fri, 18 Dec 2020 17:47:19 +0000</pubDate>
			<guid>https://forum.script-coding.com/viewtopic.php?pid=144268#p144268</guid>
		</item>
		<item>
			<title><![CDATA[Re: AHK: Проверка переменной на наличие кириллицы]]></title>
			<link>https://forum.script-coding.com/viewtopic.php?pid=144267#p144267</link>
			<description><![CDATA[<p><strong>Phoenixxx_Czar</strong></p><p>А что с &#039;#&#039; не так? Хороший символ - используйте на здоровье.</p>]]></description>
			<author><![CDATA[null@example.com (__Михаил__)]]></author>
			<pubDate>Fri, 18 Dec 2020 17:17:32 +0000</pubDate>
			<guid>https://forum.script-coding.com/viewtopic.php?pid=144267#p144267</guid>
		</item>
		<item>
			<title><![CDATA[Re: AHK: Проверка переменной на наличие кириллицы]]></title>
			<link>https://forum.script-coding.com/viewtopic.php?pid=144250#p144250</link>
			<description><![CDATA[<p><strong>__Михаил__</strong>, а как же &quot;#&quot;?</p>]]></description>
			<author><![CDATA[null@example.com (Phoenixxx_Czar)]]></author>
			<pubDate>Fri, 18 Dec 2020 10:11:55 +0000</pubDate>
			<guid>https://forum.script-coding.com/viewtopic.php?pid=144250#p144250</guid>
		</item>
		<item>
			<title><![CDATA[Re: AHK: Проверка переменной на наличие кириллицы]]></title>
			<link>https://forum.script-coding.com/viewtopic.php?pid=144242#p144242</link>
			<description><![CDATA[<p><strong>Vsevolod</strong></p><p>Для сохранения в файл настроек и дальнейшего использования для перехвата, лучше использовать конвертер:</p><div class="codebox"><pre><code>FormatHotkey(Hotkey)
{
 RegExMatch(Hotkey, &quot;S)^([\^\+!]*)(.*?)$&quot;, K)
 If (StrLen(K2) = 1)
  Return K1 . Format(&quot;sc{:X}&quot;, GetKeySC(K2))
 Return Hotkey
}</code></pre></div><p>Сам так же их начал сохранять, всё работает не зависимо от языка ввода. В &#039;Hotkey&#039; будет виден и русский текст но запишет в настройки как надо.</p>]]></description>
			<author><![CDATA[null@example.com (__Михаил__)]]></author>
			<pubDate>Thu, 17 Dec 2020 17:50:45 +0000</pubDate>
			<guid>https://forum.script-coding.com/viewtopic.php?pid=144242#p144242</guid>
		</item>
		<item>
			<title><![CDATA[Re: AHK: Проверка переменной на наличие кириллицы]]></title>
			<link>https://forum.script-coding.com/viewtopic.php?pid=144238#p144238</link>
			<description><![CDATA[<p>Гляньте <a href="http://forum.script-coding.com/viewtopic.php?id=14032">http://forum.script-coding.com/viewtopic.php?id=14032</a>.</p>]]></description>
			<author><![CDATA[null@example.com (ypppu)]]></author>
			<pubDate>Thu, 17 Dec 2020 15:11:17 +0000</pubDate>
			<guid>https://forum.script-coding.com/viewtopic.php?pid=144238#p144238</guid>
		</item>
		<item>
			<title><![CDATA[Re: AHK: Проверка переменной на наличие кириллицы]]></title>
			<link>https://forum.script-coding.com/viewtopic.php?pid=144237#p144237</link>
			<description><![CDATA[<p><strong>ypppu</strong><br />Нашёл только это <a href="http://forum.script-coding.com/viewtopic.php?id=12329">http://forum.script-coding.com/viewtopic.php?id=12329</a> , но там замена и в открытом файле, а мне нужно просто проверку в переменной скрипта. Да и как это работает я даже близко не понял.</p>]]></description>
			<author><![CDATA[null@example.com (Vsevolod)]]></author>
			<pubDate>Thu, 17 Dec 2020 13:37:46 +0000</pubDate>
			<guid>https://forum.script-coding.com/viewtopic.php?pid=144237#p144237</guid>
		</item>
		<item>
			<title><![CDATA[Re: AHK: Проверка переменной на наличие кириллицы]]></title>
			<link>https://forum.script-coding.com/viewtopic.php?pid=144236#p144236</link>
			<description><![CDATA[<p>Поищите по форуму по словам &quot;кириллица&quot; и &quot;Regex&quot;.</p>]]></description>
			<author><![CDATA[null@example.com (ypppu)]]></author>
			<pubDate>Thu, 17 Dec 2020 13:08:42 +0000</pubDate>
			<guid>https://forum.script-coding.com/viewtopic.php?pid=144236#p144236</guid>
		</item>
		<item>
			<title><![CDATA[AHK: Проверка переменной на наличие кириллицы]]></title>
			<link>https://forum.script-coding.com/viewtopic.php?pid=144235#p144235</link>
			<description><![CDATA[<p>Здравствуйте, в моём скрипте есть настройка горячих клавиш, но HotKey Box пропускает кириллицу, а потом скрипт выдаёт ошибку. Сделайте пожалуйста проверку наличия букв русского языка, и при обнаружении выдачу ошибки с определённым текстом. Вот кусок скрипта. Надеюсь на вашу помощь.</p><div class="codebox"><pre><code>Gui Show, w415 h337, Настройки
Gui Font,, Microsoft Sans Serif
Gui Add, Text, x0 y56 w134 h23 +0x200, Автостроитель прямо
Gui Font
Gui Add, Hotkey, x136 y56 w120 h21 vMyLabel
Gui Font,, Microsoft Sans Serif
Gui Add, Text, x0 y88 w158 h23 +0x200, Автостроитель диагональ
Gui Font
Gui Add, Hotkey, x160 y88 w120 h21 vMyLabel1
Gui Font,, Microsoft Sans Serif
Gui Add, Text, x0 y120 w41 h23 +0x200, Меню
Gui Font
Gui Add, Hotkey, x40 y120 w120 h21 vMyLabel2
Gui Font,, Microsoft Sans Serif
Gui Add, Text, x0 y152 w78 h23 +0x200, Авто разбег
Gui Font
Gui Add, Hotkey, x80 y152 w120 h21 vMyLabel3
Gui Font,, Microsoft Sans Serif
Gui Add, Text, x0 y184 w111 h23 +0x200, Вылет с сервера
Gui Font
Gui Add, Hotkey, x112 y184 w120 h21 vMyLabel4
Gui Font,, Microsoft Sans Serif
Gui Add, Text, x0 y216 w97 h23 +0x200, Спящий режим
Gui Font
Gui Add, Hotkey, x104 y216 w120 h21 vMyLabel5
Gui Font,, Microsoft Sans Serif
Gui Add, Text, x0 y248 w67 h23 +0x200, Хитбоксы
Gui Font
Gui Add, Hotkey, x72 y248 w120 h21 vMyLabel6
Gui Font
Gui Add, Button, gBindSave x80 y312 w143 h23, Сохранить и применить
return

BindSave:
Gui Submit
Gui Destroy
return</code></pre></div><p>И если не сложно, сделайте проверку на наличие двух одинаковых горячих клавиш.</p>]]></description>
			<author><![CDATA[null@example.com (Vsevolod)]]></author>
			<pubDate>Thu, 17 Dec 2020 11:50:39 +0000</pubDate>
			<guid>https://forum.script-coding.com/viewtopic.php?pid=144235#p144235</guid>
		</item>
	</channel>
</rss>
