<?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="https://forum.script-coding.com/extern.php?action=feed&amp;tid=6399&amp;type=atom" />
	<updated>2011-11-05T12:37:28Z</updated>
	<generator>PunBB</generator>
	<id>https://forum.script-coding.com/viewtopic.php?id=6399</id>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Обход действия]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=53268#p53268" />
			<content type="html"><![CDATA[<p>Спасибо. А можно сделать так, чтобы он проверял, забит мэйл и пароль, или не забит. Если забит то больше не вводить.</p>]]></content>
			<author>
				<name><![CDATA[Mostransformer]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=27331</uri>
			</author>
			<updated>2011-11-05T12:37:28Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=53268#p53268</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Обход действия]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=53267#p53267" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>Mostransformer пишет:</cite><blockquote><p>Если альт нажали, то ...</p></blockquote></div><p><a href="http://www.script-coding.com/AutoHotkey/GetKeyState.html">GetKeyState</a></p>]]></content>
			<author>
				<name><![CDATA[Александр_]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=24888</uri>
			</author>
			<updated>2011-11-05T12:27:01Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=53267#p53267</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Обход действия]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=53266#p53266" />
			<content type="html"><![CDATA[<p>Нет, Вы не поняли. Во-первых нужно по Alt, во вторых нужно чтобы не ждало окна Батлфилда. Если альт нажали, то окно увеличилось, если не нажали то программа не ждёт и пропускает этот шаг. Но я уже сам решил.<br /></p><div class="codebox"><pre><code>#NoTrayIcon
#Persistent
Label1:
IfWinActive Battlelog / Sign in - Opera
Gosub, Label2
IfWinActive Battlefield 3
GoSub, Label3

Label2:
WinWaitActive, Battlelog / Sign in - Opera
sleep 1500
MouseClick,left, 800,280
Send, @mail
MouseClick,left, 800,320
Send, пароль
sleep 4000
Gosub, Label1

Label3:
Alt::
WinMaximize Battlefield 3
Process, priority, bf3.exe, High
return
GoSub, Label1</code></pre></div>]]></content>
			<author>
				<name><![CDATA[Mostransformer]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=27331</uri>
			</author>
			<updated>2011-11-05T12:22:50Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=53266#p53266</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Обход действия]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=53250#p53250" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>Mostransformer пишет:</cite><blockquote><p>И как?</p></blockquote></div><div class="codebox"><pre><code>WinWait Battlefield 3
; Sleep 1000
WinMaximize Battlefield 3
Process, priority, bf3.exe, High</code></pre></div>]]></content>
			<author>
				<name><![CDATA[Александр_]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=24888</uri>
			</author>
			<updated>2011-11-05T10:34:44Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=53250#p53250</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Обход действия]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=53184#p53184" />
			<content type="html"><![CDATA[<p>И как?</p>]]></content>
			<author>
				<name><![CDATA[Mostransformer]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=27331</uri>
			</author>
			<updated>2011-11-03T16:24:33Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=53184#p53184</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Обход действия]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=53183#p53183" />
			<content type="html"><![CDATA[<p><a href="http://www.script-coding.com/AutoHotkey/WinWait.html">WinWait</a> или <a href="http://www.script-coding.com/AutoHotkey/WinWaitActive.html">WinWaitActive</a>.</p>]]></content>
			<author>
				<name><![CDATA[Александр_]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=24888</uri>
			</author>
			<updated>2011-11-03T16:20:32Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=53183#p53183</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[AHK: Обход действия]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=53182#p53182" />
			<content type="html"><![CDATA[<p>Первое действие автоматически забивает @mail и пароль в Battlelog, а второе, по нажатию Alt, максимизирует окно Battlefild 3 и ставит &quot;Высокий&quot; приоритет в диспетчере задач. Как сделать так, чтобы @mail и пароль вводились при КАЖДОМ заходе в Battlelog и не ждала нажатия Alt? Не смотрите на то как по &quot;нубски&quot; написан код, язык учу один день. </p><div class="codebox"><pre><code>#Persistent
WinWaitActive, Battlelog / Sign in - Opera
sleep 1000
MouseClick,left, 800,325
Send, @mail
MouseClick,left, 800,370
Send, пароль

Alt::
{
WinMaximize Battlefield 3
Process, priority, bf3.exe, High
}</code></pre></div>]]></content>
			<author>
				<name><![CDATA[Mostransformer]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=27331</uri>
			</author>
			<updated>2011-11-03T16:06:38Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=53182#p53182</id>
		</entry>
</feed>
