<?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="http://forum.script-coding.com/extern.php?action=feed&amp;tid=7470&amp;type=atom" />
	<updated>2012-08-17T07:58:15Z</updated>
	<generator>PunBB</generator>
	<id>http://forum.script-coding.com/viewtopic.php?id=7470</id>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Опции при выводе кнопки]]></title>
			<link rel="alternate" href="http://forum.script-coding.com/viewtopic.php?pid=62880#p62880" />
			<content type="html"><![CDATA[<p>Огромное спасибо.</p>]]></content>
			<author>
				<name><![CDATA[Mikki]]></name>
				<uri>http://forum.script-coding.com/profile.php?id=5905</uri>
			</author>
			<updated>2012-08-17T07:58:15Z</updated>
			<id>http://forum.script-coding.com/viewtopic.php?pid=62880#p62880</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Опции при выводе кнопки]]></title>
			<link rel="alternate" href="http://forum.script-coding.com/viewtopic.php?pid=62854#p62854" />
			<content type="html"><![CDATA[<p>Нужны пробелы между опциями:<br /></p><div class="codebox"><pre><code>#SingleInstance Force
#Persistent
#NoEnv
SetTitleMatchMode 2
 
t1=200
t2=300
t3=400
t4=500
 
 
Gui, +AlwaysOnTop +LastFound -Caption +Toolwindow -E0x08000000 ; окно поверх всего, без рамок,границ,заголовия
Gui, 1:Font, s10, Times New Roman
loop, 4 {
    Gui, Add, Button, % &quot;x&quot; 10 &quot; y&quot; (5+(A_Index-1)*30) &quot; w&quot; 50 &quot; h&quot; 30 &quot; g&quot; T%A_Index%, % T%A_Index%   ; здесь добавлены пробелы
}
Gui, Add, Button, x60 yp+22 w10 h10 gTClose, &amp;#215; 
Gui, 1:Show, w70 yCenter x950
 
Return
 
200:
300:
400:
500:
Gui, 1:Hide
    Sleep, 1000
            SoundBeep, 750, 100
            SoundBeep, 750, 100
            SoundBeep, 750, 100
    Gui, 1:Show,
return
 
TClose:
    ExitApp</code></pre></div>]]></content>
			<author>
				<name><![CDATA[teadrinker]]></name>
				<uri>http://forum.script-coding.com/profile.php?id=24515</uri>
			</author>
			<updated>2012-08-16T14:58:52Z</updated>
			<id>http://forum.script-coding.com/viewtopic.php?pid=62854#p62854</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[AHK: Опции при выводе кнопки]]></title>
			<link rel="alternate" href="http://forum.script-coding.com/viewtopic.php?pid=62849#p62849" />
			<content type="html"><![CDATA[<p>При задании в цикле 4-х кнопок не получается задать им ссылки <strong>gX</strong> (скрипт просто не переходит по ссылкам). Как я начинаю подозревать размеры кнопок тоже берутся автоматические, а не те что указаны после <strong>w</strong> и <strong>h</strong>. Поправте синтаксис мой, пожалуйста.</p><div class="codebox"><pre><code>#SingleInstance Force
#Persistent
#NoEnv
SetTitleMatchMode 2

t1=200
t2=300
t3=400
t4=500


Gui, +AlwaysOnTop +LastFound -Caption +Toolwindow -E0x08000000 ; окно поверх всего, без рамок,границ,заголовия
Gui, 1:Font, s10, Times New Roman
loop, 4 {
	Gui, Add, Button, % &quot;x&quot; 10 &quot;y&quot; (5+(A_Index-1)*30) &quot;w&quot; 50 &quot;h&quot; 30 &quot;g&quot; T%A_Index%, % T%A_Index%
}
Gui, Add, Button, x60 yp+22 w10 h10 gTClose, &amp;#215; 
Gui, 1:Show, w70 yCenter x950

Return

200:
300:
400:
500:
Gui, 1:Hide
	Sleep, 193000
			SoundBeep, 750, 100
			SoundBeep, 750, 100
			SoundBeep, 750, 100
	Gui, 1:Show,
return

TClose:
	ExitApp</code></pre></div>]]></content>
			<author>
				<name><![CDATA[Mikki]]></name>
				<uri>http://forum.script-coding.com/profile.php?id=5905</uri>
			</author>
			<updated>2012-08-16T11:32:18Z</updated>
			<id>http://forum.script-coding.com/viewtopic.php?pid=62849#p62849</id>
		</entry>
</feed>
