<?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=14606&amp;type=atom" />
	<updated>2019-02-25T13:22:54Z</updated>
	<generator>PunBB</generator>
	<id>https://forum.script-coding.com/viewtopic.php?id=14606</id>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Поиск слов без учета регистра]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=132502#p132502" />
			<content type="html"><![CDATA[<p>А перевести текст в нижний регистр - глупо?</p>]]></content>
			<author>
				<name><![CDATA[Phoenixxx_Czar]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=34426</uri>
			</author>
			<updated>2019-02-25T13:22:54Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=132502#p132502</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Поиск слов без учета регистра]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=132497#p132497" />
			<content type="html"><![CDATA[<p>Сразу после метки, либо лучше даже после условия A_EventInfo.</p><p>UPD: Не актуально <img src="//forum.script-coding.com/img/smilies/sad.png" width="15" height="15" />.</p>]]></content>
			<author>
				<name><![CDATA[belyankin12]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=34408</uri>
			</author>
			<updated>2019-02-25T06:05:29Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=132497#p132497</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Поиск слов без учета регистра]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=132496#p132496" />
			<content type="html"><![CDATA[<p><strong>belyankin12</strong><br />Все разобрался, только я еще пытался SearchString вместо StrSplit заменить, и не выходило, а потом понял что это лишнее.<br />СПАСИБО БОЛЬШОЕ! Помогли, а то я несколько дней голову ломал )</p>]]></content>
			<author>
				<name><![CDATA[strannik]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=39978</uri>
			</author>
			<updated>2019-02-25T06:01:32Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=132496#p132496</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Поиск слов без учета регистра]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=132495#p132495" />
			<content type="html"><![CDATA[<p><strong>belyankin12</strong><br />Хм, не получается, видимо я не туда вписываю, а можете в готовый код подставить?</p>]]></content>
			<author>
				<name><![CDATA[strannik]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=39978</uri>
			</author>
			<updated>2019-02-25T05:53:37Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=132495#p132495</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Поиск слов без учета регистра]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=132494#p132494" />
			<content type="html"><![CDATA[<p>Вы в буфер помещаете русские символы видимо? Попробуйте воспользоваться командой StringCaseSense с параметром locale.</p>]]></content>
			<author>
				<name><![CDATA[belyankin12]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=34408</uri>
			</author>
			<updated>2019-02-25T05:27:15Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=132494#p132494</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[AHK: Поиск слов без учета регистра]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=132493#p132493" />
			<content type="html"><![CDATA[<p>Здравствуйте уважаемые гуру!<br />Обращаюсь к вам за помощью, надеюсь только на вас.</p><p>Скрипт ищет слова взятые из буфера обмена, и сравнивает их в текстовом файле, так скажем фильтр слов, это имена людей.<br />Но проблема в том, если регистр слов не совпадает, то ничего не находит.<br />Возможно ли сделать так чтобы поиск производился без учета регистра?<br />Находились все слова неважно в каком регистре</p><p>Вот код скрипта<br /></p><div class="codebox"><pre><code>#Persistent
return

OnClipboardChange:
if (A_EventInfo == 1)
sleep 200
{
	FileRead, temp_text, ФильтрИмен.txt
	for k, v in StrSplit(temp_text, &quot;|&quot;)
	{
		if ClipBoard contains % v
		{
			FileAppend, %v%`n , НайденныеСлова.txt,
			Clipboard = 1
			MsgBox, Найдено слово %v%
			ExitApp
		}
	}
}
ExitApp</code></pre></div>]]></content>
			<author>
				<name><![CDATA[strannik]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=39978</uri>
			</author>
			<updated>2019-02-25T04:45:34Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=132493#p132493</id>
		</entry>
</feed>
