<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[Серый форум &mdash; AHK: Button]]></title>
	<link rel="self" href="https://forum.script-coding.com/extern.php?action=feed&amp;tid=8756&amp;type=atom" />
	<updated>2013-10-11T12:17:32Z</updated>
	<generator>PunBB</generator>
	<id>https://forum.script-coding.com/viewtopic.php?id=8756</id>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Button]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=75953#p75953" />
			<content type="html"><![CDATA[<p>Так же, как размеры задаёте, только буковки, естественно, икс и игрек.</p>]]></content>
			<author>
				<name><![CDATA[YMP]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=81</uri>
			</author>
			<updated>2013-10-11T12:17:32Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=75953#p75953</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Button]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=75949#p75949" />
			<content type="html"><![CDATA[<p>Спасибо! проблема решена! Еще есть вопрос, как задать кнопке координаты? чтобы она не по умолчанию высвечивалась, а там где надо.</p>]]></content>
			<author>
				<name><![CDATA[der1998]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=30891</uri>
			</author>
			<updated>2013-10-11T11:10:36Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=75949#p75949</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Button]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=75939#p75939" />
			<content type="html"><![CDATA[<p>Зачем убирать все кроме последнего? Достаточно было перенести команду добавления второй кнопки перед первым Return.</p>]]></content>
			<author>
				<name><![CDATA[YMP]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=81</uri>
			</author>
			<updated>2013-10-11T02:20:07Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=75939#p75939</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Button]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=75917#p75917" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>YMP пишет:</cite><blockquote><p>В том, что при запуске скрипта код выполняется до первой команды Return. Дальше не пойдёт.</p></blockquote></div><p>Я убрал все return кроме последнего, еперь скрипт выполняет все действия как только запустиш, а не по нажатию кнопки. Как исправить? А вторая кнопка появляется вовсе после того как иполнит все действия 1 ая.</p>]]></content>
			<author>
				<name><![CDATA[der1998]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=30891</uri>
			</author>
			<updated>2013-10-10T07:23:47Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=75917#p75917</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Button]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=75916#p75916" />
			<content type="html"><![CDATA[<p>В том, что при запуске скрипта код выполняется до первой команды Return. Дальше не пойдёт.</p>]]></content>
			<author>
				<name><![CDATA[YMP]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=81</uri>
			</author>
			<updated>2013-10-10T07:14:26Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=75916#p75916</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[AHK: Button]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=75914#p75914" />
			<content type="html"><![CDATA[<p>Привет всем. Создал скрипт но 2 ой элемент управления не высвечивается на экран GUI, его нет вообще.(ButtonLOGIN)<br />В чём проблема?<br /></p><div class="codebox"><pre><code>
gui, show, w400 h400

gui, add, Button, h40 w80, GAVNUK
Return
ButtonGAVNUK:
sleep 100
DllCall(&quot;SetCursorPos&quot;, int, 710, int, 30)
sleep 100
MouseClick left, , , 3
sleep 10
Setkeydelay 10, 10
sleep 3000
MouseClick, left, 830, 440, 2
sleep 100
Mouseclick, left, 850, 750
sleep 1000
SendMessage, 0x50,, 0x4090409,, A ; английский
Send Lopol220
Sleep 100
Send {enter}
Sleep 100
Send Lampohka220
Sleep 100
Send {enter}
Sleep 5000
Send {enter}
Setkeydelay 0, 10
Return

Gui, add, Button, w40 h70, LOGIN ;вот это не работает

Return
ButtonLOGIN:
MouseClick, left, 830, 440, 2
sleep 100
Mouseclick, left, 850, 750
sleep 100
Send Lopol220
Sleep 100
Send {enter}
sleep 100
send Lampohka220
sleep 10
Send {enter}
Sleep 5000
send {enter}
return
</code></pre></div>]]></content>
			<author>
				<name><![CDATA[der1998]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=30891</uri>
			</author>
			<updated>2013-10-10T06:53:15Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=75914#p75914</id>
		</entry>
</feed>
