<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[Серый форум &mdash; AHK: Цикл в GUI]]></title>
		<link>https://forum.script-coding.com/viewtopic.php?id=11279</link>
		<atom:link href="https://forum.script-coding.com/extern.php?action=feed&amp;tid=11279&amp;type=rss" rel="self" type="application/rss+xml" />
		<description><![CDATA[Недавние сообщения в теме «AHK: Цикл в GUI».]]></description>
		<lastBuildDate>Mon, 01 Feb 2016 18:15:42 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: AHK: Цикл в GUI]]></title>
			<link>https://forum.script-coding.com/viewtopic.php?pid=100766#p100766</link>
			<description><![CDATA[<p><a href="http://www.script-coding.com/AutoHotkey/LoopReadFileContents.html">Loop (чтение файла).</a><br /><a href="http://www.script-coding.com/AutoHotkey/GUI.html#controls">Размещение и задание размеров элементов управления.</a><br /></p><div class="codebox"><pre><code>gui,+resize
gui, show,w200 h600
aFileRead = %A_scriptDir%\list.txt
Loop,read,% aFileRead
{
  gui, add, text,y+5, %A_LoopReadLine%
  sleep 1000
}
return
</code></pre></div>]]></description>
			<author><![CDATA[null@example.com (Alectric)]]></author>
			<pubDate>Mon, 01 Feb 2016 18:15:42 +0000</pubDate>
			<guid>https://forum.script-coding.com/viewtopic.php?pid=100766#p100766</guid>
		</item>
		<item>
			<title><![CDATA[AHK: Цикл в GUI]]></title>
			<link>https://forum.script-coding.com/viewtopic.php?pid=100762#p100762</link>
			<description><![CDATA[<p>Доброе время суток.<br />В AutoHotKey пишу не так давно. Подскажите пожалуйста что я не правильно указываю.<br />Код:<br /></p><div class="codebox"><pre><code>aFileRead = %A_WorkingDir%\list.txt
Loop
{
    FileReadLine, line, %aFileRead%, %A_Index%
	gui, add, text,, %line%
	gui, show
	sleep 2000
	return
}</code></pre></div><p>Что получается я хочу добиться данным кодом: получить в переменную <strong>aFileRead </strong>содержимое с файла <strong>list.txt </strong>и построчно отобразить с интервалом в 2 секунды используя <strong>GUI text</strong>. И еще момент, как можно сделать данное окно не в фокусе?</p>]]></description>
			<author><![CDATA[null@example.com (lukas_endigo_91)]]></author>
			<pubDate>Mon, 01 Feb 2016 17:43:26 +0000</pubDate>
			<guid>https://forum.script-coding.com/viewtopic.php?pid=100762#p100762</guid>
		</item>
	</channel>
</rss>
