<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[Серый форум &mdash; Автоподкат в игре "Warface".]]></title>
	<link rel="self" href="http://forum.script-coding.com/extern.php?action=feed&amp;tid=10600&amp;type=atom" />
	<updated>2015-04-25T20:37:05Z</updated>
	<generator>PunBB</generator>
	<id>http://forum.script-coding.com/viewtopic.php?id=10600</id>
		<entry>
			<title type="html"><![CDATA[Re: Автоподкат в игре "Warface".]]></title>
			<link rel="alternate" href="http://forum.script-coding.com/viewtopic.php?pid=93612#p93612" />
			<content type="html"><![CDATA[<p>Что-то не работает.</p>]]></content>
			<author>
				<name><![CDATA[Woha28]]></name>
				<uri>http://forum.script-coding.com/profile.php?id=33020</uri>
			</author>
			<updated>2015-04-25T20:37:05Z</updated>
			<id>http://forum.script-coding.com/viewtopic.php?pid=93612#p93612</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Автоподкат в игре "Warface".]]></title>
			<link rel="alternate" href="http://forum.script-coding.com/viewtopic.php?pid=93610#p93610" />
			<content type="html"><![CDATA[<p>Примерно вот так:<br /></p><div class="codebox"><pre><code>#IfWinActive, ahk_class CryENGINE
SC012:: ; событие нажатия кнопки E\У
if !getkeystate(&quot;SC011&quot;,&quot;p&quot;) ; если не нажата кнопка w
send {SC011 down} ; она нажмется(не отпускается)
send {shift down} ; следом нажимается шифт(тоже не отпускается)
sleep 10 ; ждем 10 мс
send {SC02E} ; жмем с
send {shift up}{SC011 up} ;отпускаем шифт и w.
return
#IfWinActive</code></pre></div>]]></content>
			<author>
				<name><![CDATA[yalanne]]></name>
				<uri>http://forum.script-coding.com/profile.php?id=32850</uri>
			</author>
			<updated>2015-04-25T18:20:30Z</updated>
			<id>http://forum.script-coding.com/viewtopic.php?pid=93610#p93610</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Автоподкат в игре "Warface".]]></title>
			<link rel="alternate" href="http://forum.script-coding.com/viewtopic.php?pid=93609#p93609" />
			<content type="html"><![CDATA[<p>И так, чтобы сделать подкат в игре &quot;Warface&quot;, нужно сделать 3 действия:<br />1.Обязательно должна быть нажата клавиша: &quot;W&quot;.<br />2.Во время удержания клавиши &quot;W&quot; нажать клавишу &quot;LShift&quot; а затем через определенный промежуток времени нажать клавишу &quot;C&quot;<br />Вот мне и надо сделать скрипт AutoHotKey чтобы при нажатии клавиши &quot;E&quot; совершались такие действия:<br />Проверялось нажата ли клавиша &quot;W&quot;, и если нет то:<br />имитировать нажатие клавиши &quot;W&quot;, затем &quot;LShift&quot;, а затем через определенный промежуток времени &quot;C&quot;.<br />Если же клавиша &quot;W&quot; нажата то:<br />имитировать нажатие клавиши &quot;LShift&quot;,а затем через определенный промежуток времени &quot;C&quot;.<br />Я не очень &#039;шарю&#039; в скриптах ну вот что-то примерно:</p><div class="codebox"><pre><code>#IfWinActive, ahk_class CryENGINE
*~W::
{
    GetKeyState, state, W, P  ;проверяет нажата ли W или нет
    if state = U
      Send, {W}
      Sleep, 10
             Send, {+}
      Sleep, 10
      Send, {vk43}
           else
             Send, {+}
      Sleep, 10
      Send, {vk43}
}
Return</code></pre></div><p>Но, почему-то не работает.<br />Если кто-то может, помогите сделать рабочий скрипт.<br />За ранее благодарен!</p>]]></content>
			<author>
				<name><![CDATA[Woha28]]></name>
				<uri>http://forum.script-coding.com/profile.php?id=33020</uri>
			</author>
			<updated>2015-04-25T16:59:36Z</updated>
			<id>http://forum.script-coding.com/viewtopic.php?pid=93609#p93609</id>
		</entry>
</feed>
