<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[Серый форум &mdash; AHK: Edit]]></title>
	<link rel="self" href="https://forum.script-coding.com/extern.php?action=feed&amp;tid=8985&amp;type=atom" />
	<updated>2013-12-09T18:39:26Z</updated>
	<generator>PunBB</generator>
	<id>https://forum.script-coding.com/viewtopic.php?id=8985</id>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Edit]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=77955#p77955" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>teadrinker пишет:</cite><blockquote><p>Каретку можно переместить вручную куда угодно, поэтому не факт, что она будет внизу.</p></blockquote></div><p>Точно, был неправ.</p>]]></content>
			<author>
				<name><![CDATA[serzh82saratov]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=27879</uri>
			</author>
			<updated>2013-12-09T18:39:26Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=77955#p77955</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Edit]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=77942#p77942" />
			<content type="html"><![CDATA[<p>Каретку можно переместить вручную куда угодно, поэтому не факт, что она будет внизу.</p>]]></content>
			<author>
				<name><![CDATA[teadrinker]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=24515</uri>
			</author>
			<updated>2013-12-09T13:13:54Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=77942#p77942</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Edit]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=77941#p77941" />
			<content type="html"><![CDATA[<p>Вроде всегда внизу:<br /></p><div class="codebox"><pre><code>
Нечетные := Array(&quot;Один&quot;, &quot;3&quot; , &quot;5&quot;, &quot;7&quot;, &quot;9&quot;, &quot;11&quot;, &quot;13&quot;)
Четные := Array(&quot;2&quot;, &quot;4&quot;, &quot;6&quot; , &quot;8&quot;, &quot;10&quot;, &quot;Дюжина&quot;, &quot;14&quot;, &quot;16&quot;)
Gui, add, button, gGen, Сгенерировать
Gui, add, radio, vUnEven Checked, Четные
Gui, add, radio, , Нечетные
Gui, add, edit, r5 readonly vedit hwndhedit
Gui, Show
return

Gen:
   GuiControlGet, UnEven
   Arr := UnEven ? &quot;Четные&quot; : &quot;Нечетные&quot;
   Random, Rand, 1, % %Arr%.MaxIndex() 
   Control, EditPaste, % %Arr%[Rand] . &quot;`r`n&quot;,, ahk_id %hedit%
   ControlFocus, , ahk_id %hedit%
   return
</code></pre></div><p>да и с параметром readonly каретка видимо совсем не требуется.</p>]]></content>
			<author>
				<name><![CDATA[serzh82saratov]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=27879</uri>
			</author>
			<updated>2013-12-09T13:06:30Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=77941#p77941</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Edit]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=77940#p77940" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>serzh82saratov пишет:</cite><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>2013-12-09T12:46:31Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=77940#p77940</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Edit]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=77939#p77939" />
			<content type="html"><![CDATA[<p>Точно нужно только EditPaste.<br />И </p><div class="codebox"><pre><code>ControlSend, Edit1, ^{End}</code></pre></div><p> тут <strong>лишнее</strong>.</p><div class="codebox"><pre><code>
Нечетные := Array(&quot;Один&quot;, &quot;3&quot; , &quot;5&quot;, &quot;7&quot;, &quot;9&quot;, &quot;11&quot;, &quot;13&quot;)
Четные := Array(&quot;2&quot;, &quot;4&quot;, &quot;6&quot; , &quot;8&quot;, &quot;10&quot;, &quot;Дюжина&quot;, &quot;14&quot;, &quot;16&quot;)
Gui, add, button, gGen, Сгенерировать
Gui, add, radio, vUnEven Checked, Четные
Gui, add, radio, , Нечетные
Gui, add, edit, r5 readonly vedit hwndhedit
Gui, Show
return

Gen:
   GuiControlGet, UnEven
   Arr := UnEven ? &quot;Четные&quot; : &quot;Нечетные&quot;
   Random, Rand, 1, % %Arr%.MaxIndex() 
   Control, EditPaste, % %Arr%[Rand] . &quot;`r`n&quot;,, ahk_id %hedit%
   return
</code></pre></div>]]></content>
			<author>
				<name><![CDATA[serzh82saratov]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=27879</uri>
			</author>
			<updated>2013-12-09T12:42:56Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=77939#p77939</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Edit]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=77937#p77937" />
			<content type="html"><![CDATA[<p>Я б так сделал:<br /></p><div class="codebox"><pre><code>Нечетные := Array(&quot;Один&quot;, &quot;3&quot; , &quot;5&quot;, &quot;7&quot;, &quot;9&quot;, &quot;11&quot;, &quot;13&quot;)
Четные := Array(&quot;2&quot;, &quot;4&quot;, &quot;6&quot; , &quot;8&quot;, &quot;10&quot;, &quot;Дюжина&quot;, &quot;14&quot;, &quot;16&quot;)
Gui, add, button, gGen, Сгенерировать
Gui, add, radio, vUnEven Checked, Четные
Gui, add, radio, , Нечетные
Gui, add, edit, r5 readonly vedit hwndhedit
Gui, Show
return

Gen:
   GuiControlGet, UnEven
   Arr := UnEven ? &quot;Четные&quot; : &quot;Нечетные&quot;
   Random, Rand, 1, % %Arr%.MaxIndex()
   ControlSend, Edit1, ^{End}
   Control, EditPaste, % %Arr%[Rand] . &quot;`r`n&quot;,, ahk_id %hedit%
   return</code></pre></div>]]></content>
			<author>
				<name><![CDATA[teadrinker]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=24515</uri>
			</author>
			<updated>2013-12-09T12:37:39Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=77937#p77937</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Edit]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=77936#p77936" />
			<content type="html"><![CDATA[<p>Спасибо, помогли)</p>]]></content>
			<author>
				<name><![CDATA[qwerlog]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=31302</uri>
			</author>
			<updated>2013-12-09T12:25:13Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=77936#p77936</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Edit]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=77931#p77931" />
			<content type="html"><![CDATA[<p><strong>ypppu</strong><br /></p><div class="codebox"><pre><code>
Нечетные := Array(&quot;Один&quot;, &quot;3&quot; , &quot;5&quot;, &quot;7&quot;, &quot;9&quot;, &quot;11&quot;, &quot;13&quot;)
Четные := Array(&quot;2&quot;, &quot;4&quot;, &quot;6&quot; , &quot;8&quot;, &quot;10&quot;, &quot;Дюжина&quot;, &quot;14&quot;, &quot;16&quot;)
Gui, add, button, gGen, Сгенерировать
Gui, add, radio, vUnEven Checked, Четные
Gui, add, radio, , Нечетные
Gui, add, edit, r5 readonly vedit hwndhedit
Gui, Show
return

Gen:
    GuiControlGet, UnEven
    GuiControlGet, edit
    Arr := UnEven ? &quot;Четные&quot; : &quot;Нечетные&quot;
    Random, Rand, 1, % %Arr%.MaxIndex() 
    GuiControl, -Redraw, edit
    GuiControl,, edit, % edit . %Arr%[Rand] . &quot;`n&quot;    
    GuiControl, +Redraw, edit
    ControlSend, Edit1, ^{End}
    return
</code></pre></div>]]></content>
			<author>
				<name><![CDATA[serzh82saratov]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=27879</uri>
			</author>
			<updated>2013-12-09T09:06:25Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=77931#p77931</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Edit]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=77930#p77930" />
			<content type="html"><![CDATA[<p>Каким образом? Не пойму, дайте пример.<br />Я говорю о том, что если часто нажимать &quot;Сгенерировать&quot; или зажать Enter, полоса прокрутки заметно мелькает.</p>]]></content>
			<author>
				<name><![CDATA[ypppu]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=5974</uri>
			</author>
			<updated>2013-12-09T08:44:37Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=77930#p77930</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Edit]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=77926#p77926" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>ypppu пишет:</cite><blockquote><p>не будет мельканий</p></blockquote></div><p>Разве <br /></p><div class="quotebox"><blockquote><p>GuiControl Redraw</p></blockquote></div><p>полностью это не устранит?</p>]]></content>
			<author>
				<name><![CDATA[serzh82saratov]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=27879</uri>
			</author>
			<updated>2013-12-08T19:47:48Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=77926#p77926</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Edit]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=77924#p77924" />
			<content type="html"><![CDATA[<div class="codebox"><pre><code>Нечетные := Array(&quot;Один&quot;, &quot;3&quot; , &quot;5&quot;, &quot;7&quot;, &quot;9&quot;, &quot;11&quot;, &quot;13&quot;)
Четные := Array(&quot;2&quot;, &quot;4&quot;, &quot;6&quot; , &quot;8&quot;, &quot;10&quot;, &quot;Дюжина&quot;, &quot;14&quot;, &quot;16&quot;)
Gui, add, button, gGen, Сгенерировать
Gui, add, radio, vUnEven Checked, Четные
Gui, add, radio, , Нечетные
Gui, add, edit, r5 readonly vedit
Gui, Show
return

Gen:
    GuiControlGet, UnEven
    GuiControlGet, edit
    Arr := UnEven ? &quot;Четные&quot; : &quot;Нечетные&quot;
    Random, Rand, 1, % %Arr%.MaxIndex()
    GuiControl,, edit, % edit . %Arr%[Rand] . &quot;`n&quot;
    ControlSend, Edit1, ^{End}
    return</code></pre></div><p>Другой вариант - отрезать верхнюю строчку, когда добавляется новая нижняя - так при большой скорости не будет мельканий. Если, конечно, это не противоречить условиям.</p>]]></content>
			<author>
				<name><![CDATA[ypppu]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=5974</uri>
			</author>
			<updated>2013-12-08T19:17:19Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=77924#p77924</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Edit]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=77923#p77923" />
			<content type="html"><![CDATA[<p>+1 строка к простому скрипту из #1<br /></p><div class="codebox"><pre><code>; &lt;...&gt;
    ControlSend, Edit1, ^{End}
    return</code></pre></div>]]></content>
			<author>
				<name><![CDATA[Irbis]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=27384</uri>
			</author>
			<updated>2013-12-08T18:58:20Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=77923#p77923</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Edit]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=77920#p77920" />
			<content type="html"><![CDATA[<p>Он &quot;^{end}&quot; тоже в строку прописывает.</p>]]></content>
			<author>
				<name><![CDATA[qwerlog]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=31302</uri>
			</author>
			<updated>2013-12-08T16:56:41Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=77920#p77920</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Edit]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=77917#p77917" />
			<content type="html"><![CDATA[<p>Ctrl+End попробуйте послать этому элементу управления.</p>]]></content>
			<author>
				<name><![CDATA[ypppu]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=5974</uri>
			</author>
			<updated>2013-12-08T16:32:30Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=77917#p77917</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[AHK: Edit]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=77915#p77915" />
			<content type="html"><![CDATA[<p>В общем, такая проблема, покажу на примере простого скрипта.<br /></p><div class="codebox"><pre><code>Нечетные := Array(&quot;Один&quot;, &quot;3&quot; , &quot;5&quot;, &quot;7&quot;, &quot;9&quot;, &quot;11&quot;, &quot;13&quot;)
Четные := Array(&quot;2&quot;, &quot;4&quot;, &quot;6&quot; , &quot;8&quot;, &quot;10&quot;, &quot;Дюжина&quot;, &quot;14&quot;, &quot;16&quot;)
Gui, add, button, gGen, Сгенерировать
Gui, add, radio, vUnEven Checked, Четные
Gui, add, radio, , Нечетные
Gui, add, edit, r5 readonly vedit
Gui, Show
return

Gen:
    GuiControlGet, UnEven
    GuiControlGet, edit
    Arr := UnEven ? &quot;Четные&quot; : &quot;Нечетные&quot;
    Random, Rand, 1, % %Arr%.MaxIndex()
    GuiControl,, edit, % edit . %Arr%[Rand] . &quot;`n&quot;
    return</code></pre></div><p>Так вот, суть в том, что числа уходят вниз, и приходится листать. Как сделать, чтобы строка автоматически перелистывалась вниз? порылся в справочнике, ничего дельного не нашел.</p>]]></content>
			<author>
				<name><![CDATA[qwerlog]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=31302</uri>
			</author>
			<updated>2013-12-08T15:52:59Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=77915#p77915</id>
		</entry>
</feed>
