<?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=14984&amp;type=atom" />
	<updated>2019-09-25T00:09:52Z</updated>
	<generator>PunBB</generator>
	<id>https://forum.script-coding.com/viewtopic.php?id=14984</id>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Цикличный вывод и повтор текста от точки до точки]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=136177#p136177" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>awtorizator пишет:</cite><blockquote><p>по предложениям от точки до точки</p></blockquote></div><div class="quotebox"><cite>awtorizator пишет:</cite><blockquote><p>в этом варианте пунктуацию пропускает,</p></blockquote></div><p>Сам запутал)</p>]]></content>
			<author>
				<name><![CDATA[dmitry-semin]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=39549</uri>
			</author>
			<updated>2019-09-25T00:09:52Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=136177#p136177</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Цикличный вывод и повтор текста от точки до точки]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=136176#p136176" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>awtorizator пишет:</cite><blockquote><p>можно ли задать размеры окна MsgBox самому?</p></blockquote></div><p>Теоретически как-то можно, но проще вместо этого своё окно создать.<br /></p><div class="quotebox"><blockquote><p>И чтобы не тратить время просто так сколько стоит такой скрипт?</p></blockquote></div><p>Не совсем понял, какой именно. Можно здесь в чат писать (справа вверху страницы кнопка).</p>]]></content>
			<author>
				<name><![CDATA[teadrinker]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=24515</uri>
			</author>
			<updated>2019-09-24T18:16:15Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=136176#p136176</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Цикличный вывод и повтор текста от точки до точки]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=136175#p136175" />
			<content type="html"><![CDATA[<p><strong>teadrinker</strong>, теперь все работает как и хотел, еще пара вопросов можно ли задать размеры окна MsgBox самому? И чтобы не тратить время просто так сколько стоит такой скрипт? Можно ответить на майл (в профиле)</p>]]></content>
			<author>
				<name><![CDATA[awtorizator]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=39622</uri>
			</author>
			<updated>2019-09-24T17:52:36Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=136175#p136175</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Цикличный вывод и повтор текста от точки до точки]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=136174#p136174" />
			<content type="html"><![CDATA[<p>Если разделители разные, тогда немного сложнее, придётся использовать RegexMatch():<br /></p><div class="codebox"><pre><code>text = Abc def. Ghi jkl! Mno pqr?! Stu vwx?

match := &quot;&quot;
while RegExMatch(text, &quot;O)\S.*?[\.\?!]+&quot;, match, match ? match.Pos + match.Len : 1)
   MsgBox, % match[0]</code></pre></div>]]></content>
			<author>
				<name><![CDATA[teadrinker]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=24515</uri>
			</author>
			<updated>2019-09-24T16:52:37Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=136174#p136174</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Цикличный вывод и повтор текста от точки до точки]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=136172#p136172" />
			<content type="html"><![CDATA[<p><strong>teadrinker</strong>, все работает отлично, а как мне еще в синтаксисе добавить знак вопроса и вопрос-восклицание и наоборот? И еще он в конце пустое окно выдает.<br /><strong>dmitry-semin</strong> в этом варианте пунктуацию пропускает, если попадается восклицание, то сворачивает окно.</p>]]></content>
			<author>
				<name><![CDATA[awtorizator]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=39622</uri>
			</author>
			<updated>2019-09-24T13:08:17Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=136172#p136172</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Цикличный вывод и повтор текста от точки до точки]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=136162#p136162" />
			<content type="html"><![CDATA[<div class="codebox"><pre><code>currentcount := 0
TestString := &quot;This is a test. Test. Test123.&quot;
word_array := StrSplit(TestString, &quot;.&quot;)   ; 

F11::
currentcount := currentcount + 1
if (word_array[currentcount] = &quot;&quot;)
{
send `r`n
currentcount := 0
}
send % word_array[currentcount]
return
</code></pre></div>]]></content>
			<author>
				<name><![CDATA[dmitry-semin]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=39549</uri>
			</author>
			<updated>2019-09-24T00:35:14Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=136162#p136162</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Цикличный вывод и повтор текста от точки до точки]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=136161#p136161" />
			<content type="html"><![CDATA[<p>Есть <a href="https://www.autohotkey.com/docs/commands/LoopParse.htm">Loop, parse</a>:<br /></p><div class="codebox"><pre><code>text = Abc def. Ghi jkl. Mno pqr.
Loop, parse, text, .
{
   sentense := Trim(A_LoopField, &quot; `r`n&quot;)
   MsgBox, % sentense . (sentense = &quot;&quot; ? &quot;&quot; : &quot;.&quot;)
}</code></pre></div>]]></content>
			<author>
				<name><![CDATA[teadrinker]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=24515</uri>
			</author>
			<updated>2019-09-23T15:09:47Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=136161#p136161</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Цикличный вывод и повтор текста от точки до точки]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=136160#p136160" />
			<content type="html"><![CDATA[<p><strong>teadrinker</strong>, понятно, тогда в этой теме можно продолжить? Если да, то&nbsp; с циклом Loop&nbsp; можно это сделать? И как сделать условия &quot;до точки&quot; или &quot;до слова с заглавной буквы&quot;.</p>]]></content>
			<author>
				<name><![CDATA[awtorizator]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=39622</uri>
			</author>
			<updated>2019-09-23T13:38:27Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=136160#p136160</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Цикличный вывод и повтор текста от точки до точки]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=136159#p136159" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>awtorizator пишет:</cite><blockquote><p>знать бы как</p></blockquote></div><p>Вопросы типа «напишите мне скрипт» обычно предлагается задавать в коммерческом разделе, за исключением вариантов, когда тема покажется кому-то из участников настолько интересной, что он захочет написать код. В остальных случаях вам для получения адекватной помощи нужно разбить задачу на простейшие составляющие, те из них, что понятны, делаете сами, по тем, что непонятны, задаёте <span class="bbu">конкретные</span> вопросы, например «как отправить текст в активное окно».</p>]]></content>
			<author>
				<name><![CDATA[teadrinker]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=24515</uri>
			</author>
			<updated>2019-09-23T12:35:10Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=136159#p136159</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Цикличный вывод и повтор текста от точки до точки]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=136158#p136158" />
			<content type="html"><![CDATA[<p><strong>dmitry-semin</strong>, добрый, да по горячей клавише, можно любую, я уже под себя переделаю.<br /><strong>teadrinker</strong>, знать бы как <img src="//forum.script-coding.com/img/smilies/hmm.png" width="15" height="15" /> мой вариант (взят с сайта) слишком долго редактировать под себя, если текст объемный<br /></p><div class="codebox"><pre><code>!q::
Gosub % &quot;Key&quot; a := (!a || a = 2) ? 1 : a+1
KeyWait, % A_ThisHotkey
Return
Key1:
SendInput За окном темнела ночь.
Return
Key2:
SendInput {Enter}Я не мог уснуть.
Return</code></pre></div>]]></content>
			<author>
				<name><![CDATA[awtorizator]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=39622</uri>
			</author>
			<updated>2019-09-23T12:01:52Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=136158#p136158</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Цикличный вывод и повтор текста от точки до точки]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=136156#p136156" />
			<content type="html"><![CDATA[<p><strong>awtorizator</strong><br />Добрый день! По горячей клавише?</p>]]></content>
			<author>
				<name><![CDATA[dmitry-semin]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=39549</uri>
			</author>
			<updated>2019-09-23T06:40:56Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=136156#p136156</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Цикличный вывод и повтор текста от точки до точки]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=136144#p136144" />
			<content type="html"><![CDATA[<p>Мы не против. <img src="//forum.script-coding.com/img/smilies/smile.png" width="15" height="15" /></p>]]></content>
			<author>
				<name><![CDATA[teadrinker]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=24515</uri>
			</author>
			<updated>2019-09-22T14:10:21Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=136144#p136144</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[AHK: Цикличный вывод и повтор текста от точки до точки]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=136143#p136143" />
			<content type="html"><![CDATA[<p>Здравствуйте, я бы хотел сделать код, чтобы выводил текст по предложениям от точки до точки. (например из заданного). По окончанию пустая строка и снова повтор по типу:<br /></p><div class="quotebox"><blockquote><p>13213.<br />12321.<br />12321.<br />	(пустая строка)<br />13213.<br />12321.<br />12321.</p></blockquote></div>]]></content>
			<author>
				<name><![CDATA[awtorizator]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=39622</uri>
			</author>
			<updated>2019-09-22T13:54:42Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=136143#p136143</id>
		</entry>
</feed>
