<?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=15113&amp;type=atom" />
	<updated>2020-01-07T11:35:35Z</updated>
	<generator>PunBB</generator>
	<id>http://forum.script-coding.com/viewtopic.php?id=15113</id>
		<entry>
			<title type="html"><![CDATA[Re: AHK: ввод в гуи недопустимых значений]]></title>
			<link rel="alternate" href="http://forum.script-coding.com/viewtopic.php?pid=137190#p137190" />
			<content type="html"><![CDATA[<div class="codebox"><pre><code>% Count * 60000</code></pre></div><p>И запусти лучше таймер.</p>]]></content>
			<author>
				<name><![CDATA[Phoenixxx_Czar]]></name>
				<uri>http://forum.script-coding.com/profile.php?id=34426</uri>
			</author>
			<updated>2020-01-07T11:35:35Z</updated>
			<id>http://forum.script-coding.com/viewtopic.php?pid=137190#p137190</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: ввод в гуи недопустимых значений]]></title>
			<link rel="alternate" href="http://forum.script-coding.com/viewtopic.php?pid=137180#p137180" />
			<content type="html"><![CDATA[<p>Спасибо, помогло. Но скрипт не умножает введенную переменную на 60.000, можете помочь это решить?</p><p>сам код <br /></p><div class="codebox"><pre><code>
Gui, show, center h200 w300,
Gui, Font, S25
Gui, add, text, x95 y15  ,Anti-afk
Gui, Font, S12
Gui, add, text, x20 y55, Через сколько скринит экран 
Gui, add, text, x60 y80 h50 w100, мин
Gui, Add, Button, x200 y80 h30 w40  gButton1, OK
Gui, Add, Edit, x95 y80 h10 w100 r1 vCount Number,
return

Button1:
Gui, submit
if( Count &lt; 0 )
{
	MsgBox, Введи число &gt;0
	exitapp
	return
}

else if ( Count = 0 ) 
{
	MsgBox, Введи число &gt;0
	exitapp
	return
}
else if ( Count &gt; 0 )
{
	Loop 
	{
		Random, Rand, 0,10 
		Random, Rand1,0,30 
		MouseClick ,left,800+Rand,800+Rand1, 1, 2 
		Sleep 10 
		Sendinput , {Shift} 
		Sleep 10 
		Sendinput , {t} 
		Sleep 50 
		Sendinput , /paytime {enter} 
		Sleep, %Count% * 60000
	}
	return
}
return

!end::
exitapp
</code></pre></div>]]></content>
			<author>
				<name><![CDATA[romanov0vany]]></name>
				<uri>http://forum.script-coding.com/profile.php?id=39959</uri>
			</author>
			<updated>2020-01-06T19:17:05Z</updated>
			<id>http://forum.script-coding.com/viewtopic.php?pid=137180#p137180</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: ввод в гуи недопустимых значений]]></title>
			<link rel="alternate" href="http://forum.script-coding.com/viewtopic.php?pid=137173#p137173" />
			<content type="html"><![CDATA[<p>В блок метки Button1.</p>]]></content>
			<author>
				<name><![CDATA[Phoenixxx_Czar]]></name>
				<uri>http://forum.script-coding.com/profile.php?id=34426</uri>
			</author>
			<updated>2020-01-06T16:03:24Z</updated>
			<id>http://forum.script-coding.com/viewtopic.php?pid=137173#p137173</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: ввод в гуи недопустимых значений]]></title>
			<link rel="alternate" href="http://forum.script-coding.com/viewtopic.php?pid=137162#p137162" />
			<content type="html"><![CDATA[<p>куда именно нужно его прикрутить?</p>]]></content>
			<author>
				<name><![CDATA[romanov0vany]]></name>
				<uri>http://forum.script-coding.com/profile.php?id=39959</uri>
			</author>
			<updated>2020-01-05T12:59:46Z</updated>
			<id>http://forum.script-coding.com/viewtopic.php?pid=137162#p137162</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[AHK: ввод в гуи недопустимых значений]]></title>
			<link rel="alternate" href="http://forum.script-coding.com/viewtopic.php?pid=137138#p137138" />
			<content type="html"><![CDATA[<p>Привет. Мне нужен скрипт, чтоб при вводе в edit 0 или значений ниже 0 выдавалась ошибка, а при вводе положительных значений(1,2,3, и тд) скрипт продолжал свою работу. Пробовал написать что-то своё, но не выходит. Вот что я написал <br /></p><div class="codebox"><pre><code>
Gui, show, center h200 w300,
Gui, Font, S25
Gui, add, text, x95 y15  ,Anti-afk
Gui, Font, S12
Gui, add, text, x20 y55, Через сколько скринит экран 
Gui, add, text, x60 y80 h50 w100, мин
Gui, Add, Button, x200 y80 h30 w40  gButton1, OK
Gui, Add, Edit, x95 y80 h10 w100 r1 vCount Number,


Button1:
if( Count &lt; 0 )
{
	MsgBox, Введи число &gt;0
	return
}

else if ( Count = 0 ) 
{
	MsgBox, Введи число &gt;0
	return
}
else if ( Count &gt; 0 )
{
	c:= %Count% * 60000 
	Loop 
	{
		Random, Rand, 0,10 
		Random, Rand1,0,30 
		MouseClick ,left,800+Rand,800+Rand1, 1, 2 
		Sleep 10 
		Sendinput , {Shift} 
		Sleep 10 
		Sendinput , {t} 
		Sleep 50 
		Sendinput , /paytime {enter} 
		Sleep, %c%  
	}
	return
}
return
</code></pre></div>]]></content>
			<author>
				<name><![CDATA[romanov0vany]]></name>
				<uri>http://forum.script-coding.com/profile.php?id=39959</uri>
			</author>
			<updated>2020-01-03T19:42:13Z</updated>
			<id>http://forum.script-coding.com/viewtopic.php?pid=137138#p137138</id>
		</entry>
</feed>
