<?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=14104&amp;type=atom" />
	<updated>2018-09-05T21:44:09Z</updated>
	<generator>PunBB</generator>
	<id>https://forum.script-coding.com/viewtopic.php?id=14104</id>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Определение положения каретки для ввода текста]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=128513#p128513" />
			<content type="html"><![CDATA[<p>Так вот же условие:<br /></p><div class="codebox"><pre><code>If ((Clipboard = &quot;`n&quot;) Or (Clipboard = &quot;`r&quot;) Or (Clipboard = &quot;`r`n&quot;) Or (Clipboard = &quot;.&quot;) Or (Clipboard = &quot;&quot;))
	MsgBox</code></pre></div><p><em>(Clipboard = &quot;.&quot;)</em> - после точки.<br /><em>(Clipboard = &quot;&quot;)</em> - в начале строки.<br /><em>(Clipboard = &quot;`n&quot;) Or (Clipboard = &quot;`r&quot;) Or (Clipboard = &quot;`r`n&quot;)</em> - после переноса строки.</p>]]></content>
			<author>
				<name><![CDATA[Malcev]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=26930</uri>
			</author>
			<updated>2018-09-05T21:44:09Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=128513#p128513</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Определение положения каретки для ввода текста]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=128512#p128512" />
			<content type="html"><![CDATA[<p><strong>Malcev</strong>, как из этого скрипта верно сделать условие? Т.е. если каретка в начале строки или после точки, то..</p>]]></content>
			<author>
				<name><![CDATA[becauseim]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=33149</uri>
			</author>
			<updated>2018-09-05T21:33:30Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=128512#p128512</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Определение положения каретки для ввода текста]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=128511#p128511" />
			<content type="html"><![CDATA[<p>У меня в предыдущем коде ошибка:<br /></p><div class="quotebox"><blockquote><p>ClipboardAll is not supported inside comma-separated expressions; that is, it should be assigned on a line by itself such as ClipSaved := ClipboardAll.</p></blockquote></div><p>Правильно так:<br /></p><div class="codebox"><pre><code>F1::
tmp := ClipboardAll
Clipboard := &quot;&quot;
Send +{Left}^{vk43}
If (Clipboard != &quot;&quot;)
   Send {Right}
If ((Clipboard = &quot;`n&quot;) Or (Clipboard = &quot;`r&quot;) Or (Clipboard = &quot;`r`n&quot;) Or (Clipboard = &quot;.&quot;) Or (Clipboard = &quot;&quot;))
	MsgBox
Clipboard := tmp
Return</code></pre></div>]]></content>
			<author>
				<name><![CDATA[Malcev]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=26930</uri>
			</author>
			<updated>2018-09-05T21:18:49Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=128511#p128511</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Определение положения каретки для ввода текста]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=128312#p128312" />
			<content type="html"><![CDATA[<p>Правильней так:<br /></p><div class="codebox"><pre><code>F1::
tmp := ClipboardAll, Clipboard := &quot;&quot;
Send +{Left}^{vk43}
If (Clipboard != &quot;&quot;)
   Send {Right}
If ((Clipboard = &quot;`n&quot;) Or (Clipboard = &quot;`r&quot;) Or (Clipboard = &quot;`r`n&quot;) Or (Clipboard = &quot;.&quot;) Or (Clipboard = &quot;&quot;))
	MsgBox
Clipboard := tmp
Return</code></pre></div>]]></content>
			<author>
				<name><![CDATA[Malcev]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=26930</uri>
			</author>
			<updated>2018-08-28T14:01:11Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=128312#p128312</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Определение положения каретки для ввода текста]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=128311#p128311" />
			<content type="html"><![CDATA[<p><strong>stealzy</strong>, спасибо! Но не понял, как скрипт работает и что он определяет. Вне зависимости от того, где находится каретка - она возварщается на прежнее место без уведомлений.</p>]]></content>
			<author>
				<name><![CDATA[becauseim]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=33149</uri>
			</author>
			<updated>2018-08-28T13:38:35Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=128311#p128311</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[AHK: Определение положения каретки для ввода текста]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=128204#p128204" />
			<content type="html"><![CDATA[<p>Как определить, что текущее положение каретки находится после точки или в начале строки? Спасибо!</p>]]></content>
			<author>
				<name><![CDATA[becauseim]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=33149</uri>
			</author>
			<updated>2018-08-23T16:15:56Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=128204#p128204</id>
		</entry>
</feed>
