<?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=5774</link>
		<atom:link href="https://forum.script-coding.com/extern.php?action=feed&amp;tid=5774&amp;type=rss" rel="self" type="application/rss+xml" />
		<description><![CDATA[Недавние сообщения в теме «AHK:Построчное копирование из одного окна в другое».]]></description>
		<lastBuildDate>Wed, 04 May 2011 18:32:33 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: AHK:Построчное копирование из одного окна в другое]]></title>
			<link>https://forum.script-coding.com/viewtopic.php?pid=48104#p48104</link>
			<description><![CDATA[<p>Например, так:<br /></p><div class="codebox"><pre><code>   EM_LINEINDEX := 0xBB, EM_LINELENGTH := 0xC1
   EM_SETSEL := 0xB1, EM_SCROLLCARET := 0xB7
 
   Gui, Add, Edit, vEdit1 x0 y0 w110 h70 hwndhEdit1
      , Первая`nВторая не помещается в строку`nТретья`nЧетвёртая не помещается в строку`nПятая
   Gui, Add, Edit, vEdit2 x115 yp wp hp ReadOnly hwndhEdit2
   Gui, Add, Button, x82 w61, Start
   Gui, Show, w225
   Return
 
ButtonStart:
   GuiControl, Focus, Edit2
   GuiControlGet, Text1,, Edit1
   ControlGet, Count, LineCount,,, ahk_id %hEdit1%
   Loop, % Count
   {
      SendMessage, EM_LINEINDEX, A_Index - 1,,, ahk_id %hEdit1%
      Start := ErrorLevel
      SendMessage, EM_LINELENGTH, Start,,, ahk_id %hEdit1%
      Length := ErrorLevel
      End := Start + Length
      SendMessage, EM_LINEINDEX, A_Index,,, ahk_id %hEdit1%
      NextStart := ErrorLevel
      String := SubStr(Text1, 1, StrLen(String) + Length + (End = NextStart ? 0 : 1))
      GuiControl,, Edit2, %String%
      SendMessage, EM_SETSEL, End, End,, ahk_id %hEdit2%
      SendMessage, EM_SCROLLCARET,,,, ahk_id %hEdit2%
      Sleep, 3000
   }
   String = 
   Return</code></pre></div>]]></description>
			<author><![CDATA[null@example.com (teadrinker)]]></author>
			<pubDate>Wed, 04 May 2011 18:32:33 +0000</pubDate>
			<guid>https://forum.script-coding.com/viewtopic.php?pid=48104#p48104</guid>
		</item>
		<item>
			<title><![CDATA[Re: AHK:Построчное копирование из одного окна в другое]]></title>
			<link>https://forum.script-coding.com/viewtopic.php?pid=48089#p48089</link>
			<description><![CDATA[<p><a href="http://forum.script-coding.com/viewtopic.php?id=5760">http://forum.script-coding.com/viewtopic.php?id=5760</a></p>]]></description>
			<author><![CDATA[null@example.com (Malcev)]]></author>
			<pubDate>Wed, 04 May 2011 09:14:24 +0000</pubDate>
			<guid>https://forum.script-coding.com/viewtopic.php?pid=48089#p48089</guid>
		</item>
		<item>
			<title><![CDATA[Re: AHK:Построчное копирование из одного окна в другое]]></title>
			<link>https://forum.script-coding.com/viewtopic.php?pid=48076#p48076</link>
			<description><![CDATA[<p>Пожалуйста помогите!<br />Как сделать копирование каждые 3 сек. по очереди???</p>]]></description>
			<author><![CDATA[null@example.com (coder_xxx)]]></author>
			<pubDate>Tue, 03 May 2011 17:28:44 +0000</pubDate>
			<guid>https://forum.script-coding.com/viewtopic.php?pid=48076#p48076</guid>
		</item>
		<item>
			<title><![CDATA[Re: AHK:Построчное копирование из одного окна в другое]]></title>
			<link>https://forum.script-coding.com/viewtopic.php?pid=48067#p48067</link>
			<description><![CDATA[<p>Ну примерно через 3 секунды</p><p>Это нужно для того чтобы успеть просмотреть то что копируется.</p>]]></description>
			<author><![CDATA[null@example.com (coder_xxx)]]></author>
			<pubDate>Tue, 03 May 2011 15:35:43 +0000</pubDate>
			<guid>https://forum.script-coding.com/viewtopic.php?pid=48067#p48067</guid>
		</item>
		<item>
			<title><![CDATA[Re: AHK:Построчное копирование из одного окна в другое]]></title>
			<link>https://forum.script-coding.com/viewtopic.php?pid=48066#p48066</link>
			<description><![CDATA[<p>Тут только что-то одно возможно, либо сразу, либо по очереди. Если сразу — значит одновременно, если по очереди, то через какой-то промежуток времени. Вот я и спрашиваю, через какой? И зачем вообще нужна эта очерёдность? Какой в ней смысл?</p>]]></description>
			<author><![CDATA[null@example.com (teadrinker)]]></author>
			<pubDate>Tue, 03 May 2011 15:30:41 +0000</pubDate>
			<guid>https://forum.script-coding.com/viewtopic.php?pid=48066#p48066</guid>
		</item>
		<item>
			<title><![CDATA[Re: AHK:Построчное копирование из одного окна в другое]]></title>
			<link>https://forum.script-coding.com/viewtopic.php?pid=48065#p48065</link>
			<description><![CDATA[<p>Нет сразу, просто по очереди!</p>]]></description>
			<author><![CDATA[null@example.com (coder_xxx)]]></author>
			<pubDate>Tue, 03 May 2011 15:25:30 +0000</pubDate>
			<guid>https://forum.script-coding.com/viewtopic.php?pid=48065#p48065</guid>
		</item>
		<item>
			<title><![CDATA[Re: AHK:Построчное копирование из одного окна в другое]]></title>
			<link>https://forum.script-coding.com/viewtopic.php?pid=48064#p48064</link>
			<description><![CDATA[<p>А когда — потом? Через час? Завтра?</p>]]></description>
			<author><![CDATA[null@example.com (teadrinker)]]></author>
			<pubDate>Tue, 03 May 2011 15:19:01 +0000</pubDate>
			<guid>https://forum.script-coding.com/viewtopic.php?pid=48064#p48064</guid>
		</item>
		<item>
			<title><![CDATA[Re: AHK:Построчное копирование из одного окна в другое]]></title>
			<link>https://forum.script-coding.com/viewtopic.php?pid=48063#p48063</link>
			<description><![CDATA[<p>После нажатия кнопки Start<br />спочатку попируется первая строка<br />потом вторая <br />и т.д.</p><p>А не все сразу!</p>]]></description>
			<author><![CDATA[null@example.com (coder_xxx)]]></author>
			<pubDate>Tue, 03 May 2011 15:16:47 +0000</pubDate>
			<guid>https://forum.script-coding.com/viewtopic.php?pid=48063#p48063</guid>
		</item>
		<item>
			<title><![CDATA[Re: AHK:Построчное копирование из одного окна в другое]]></title>
			<link>https://forum.script-coding.com/viewtopic.php?pid=48061#p48061</link>
			<description><![CDATA[<p>Как это — по очереди? Что должно происходить после нажатия кнопки?</p>]]></description>
			<author><![CDATA[null@example.com (teadrinker)]]></author>
			<pubDate>Tue, 03 May 2011 14:55:09 +0000</pubDate>
			<guid>https://forum.script-coding.com/viewtopic.php?pid=48061#p48061</guid>
		</item>
		<item>
			<title><![CDATA[Re: AHK:Построчное копирование из одного окна в другое]]></title>
			<link>https://forum.script-coding.com/viewtopic.php?pid=48060#p48060</link>
			<description><![CDATA[<div class="quotebox"><cite>teadrinker пишет:</cite><blockquote><div class="codebox"><pre><code>   Gui, Add, Edit, vEdit1 x0 y0 w110 h70, Первая строчка`nВторая строчка
   Gui, Add, Edit, vEdit2 ReadOnly x115 yp wp hp
   Gui, Add, Button, x82 w61, Start
   Gui, Show, w225
   Return
   
ButtonStart:
   GuiControlGet, Text,, Edit1
   GuiControl,, Edit2, % Text
   Return</code></pre></div></blockquote></div><p>Спасибо!<br />Но у меня еще вопрос а можно чтобы копировалось по очереди а не все разом?</p>]]></description>
			<author><![CDATA[null@example.com (coder_xxx)]]></author>
			<pubDate>Tue, 03 May 2011 14:50:20 +0000</pubDate>
			<guid>https://forum.script-coding.com/viewtopic.php?pid=48060#p48060</guid>
		</item>
		<item>
			<title><![CDATA[Re: AHK:Построчное копирование из одного окна в другое]]></title>
			<link>https://forum.script-coding.com/viewtopic.php?pid=48059#p48059</link>
			<description><![CDATA[<div class="codebox"><pre><code>   Gui, Add, Edit, vEdit1 x0 y0 w110 h70, Первая строчка`nВторая строчка
   Gui, Add, Edit, vEdit2 ReadOnly x115 yp wp hp
   Gui, Add, Button, x82 w61, Start
   Gui, Show, w225
   Return
   
ButtonStart:
   GuiControlGet, Text,, Edit1
   GuiControl,, Edit2, % Text
   Return</code></pre></div>]]></description>
			<author><![CDATA[null@example.com (teadrinker)]]></author>
			<pubDate>Tue, 03 May 2011 14:39:22 +0000</pubDate>
			<guid>https://forum.script-coding.com/viewtopic.php?pid=48059#p48059</guid>
		</item>
		<item>
			<title><![CDATA[Re: AHK:Построчное копирование из одного окна в другое]]></title>
			<link>https://forum.script-coding.com/viewtopic.php?pid=48057#p48057</link>
			<description><![CDATA[<p>Я просто думал что с этим кодом у меня получится сделать то что я хочу но вижу не получилось!</p><p>Вот теперь прошу у Вас помощи помочь мне так сделать как я просил в 1 посте.</p>]]></description>
			<author><![CDATA[null@example.com (coder_xxx)]]></author>
			<pubDate>Tue, 03 May 2011 14:19:39 +0000</pubDate>
			<guid>https://forum.script-coding.com/viewtopic.php?pid=48057#p48057</guid>
		</item>
		<item>
			<title><![CDATA[Re: AHK:Построчное копирование из одного окна в другое]]></title>
			<link>https://forum.script-coding.com/viewtopic.php?pid=48055#p48055</link>
			<description><![CDATA[<p>Всё равно не пойму, почему ты выбрал именно этот код? С таким же успехом можно было взять любой другой.</p>]]></description>
			<author><![CDATA[null@example.com (teadrinker)]]></author>
			<pubDate>Tue, 03 May 2011 14:16:14 +0000</pubDate>
			<guid>https://forum.script-coding.com/viewtopic.php?pid=48055#p48055</guid>
		</item>
		<item>
			<title><![CDATA[Re: AHK:Построчное копирование из одного окна в другое]]></title>
			<link>https://forum.script-coding.com/viewtopic.php?pid=48054#p48054</link>
			<description><![CDATA[<p>Вот я нашел его тут: <a href="http://forum.script-coding.com/viewtopic.php?id=5162">http://forum.script-coding.com/viewtopic.php?id=5162</a><br />Думал так реализовать но не получилось</p>]]></description>
			<author><![CDATA[null@example.com (coder_xxx)]]></author>
			<pubDate>Tue, 03 May 2011 14:00:59 +0000</pubDate>
			<guid>https://forum.script-coding.com/viewtopic.php?pid=48054#p48054</guid>
		</item>
		<item>
			<title><![CDATA[Re: AHK:Построчное копирование из одного окна в другое]]></title>
			<link>https://forum.script-coding.com/viewtopic.php?pid=48052#p48052</link>
			<description><![CDATA[<p><strong>coder_xxx</strong>, я никак не пойму, что вот этот код делает:<br /></p><div class="codebox"><pre><code>button:
Gui,Submit,Nohide
New = %Clipboard%

    Loop, Parse, new
    {
        Char = %A_LoopField%
        If (Asc(Char) &lt; 128)
            PostMessage, 0x50,, 0x4090409,, A
        Else
            PostMessage, 0x50,, 0x4190419,, A
        Send, %Char%
        Sleep, 250
    }
WinClose</code></pre></div><p>Ты можешь объяснить? Желательно построчно!</p>]]></description>
			<author><![CDATA[null@example.com (teadrinker)]]></author>
			<pubDate>Tue, 03 May 2011 13:51:17 +0000</pubDate>
			<guid>https://forum.script-coding.com/viewtopic.php?pid=48052#p48052</guid>
		</item>
	</channel>
</rss>
