<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[Серый форум &mdash; AHK:Помогите соеденить несколько скриптов в один, с биндами активации]]></title>
		<link>http://forum.script-coding.com/viewtopic.php?id=15079</link>
		<atom:link href="http://forum.script-coding.com/extern.php?action=feed&amp;tid=15079&amp;type=rss" rel="self" type="application/rss+xml" />
		<description><![CDATA[Недавние сообщения в теме «AHK:Помогите соеденить несколько скриптов в один, с биндами активации».]]></description>
		<lastBuildDate>Fri, 06 Dec 2019 08:58:00 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: AHK:Помогите соеденить несколько скриптов в один, с биндами активации]]></title>
			<link>http://forum.script-coding.com/viewtopic.php?pid=136775#p136775</link>
			<description><![CDATA[<p>Да, так проще, а проверка это проверка на запуск процесса, а не убиение <img src="//forum.script-coding.com/img/smilies/wink.png" width="15" height="15" />.</p>]]></description>
			<author><![CDATA[null@example.com (Indomito)]]></author>
			<pubDate>Fri, 06 Dec 2019 08:58:00 +0000</pubDate>
			<guid>http://forum.script-coding.com/viewtopic.php?pid=136775#p136775</guid>
		</item>
		<item>
			<title><![CDATA[Re: AHK:Помогите соеденить несколько скриптов в один, с биндами активации]]></title>
			<link>http://forum.script-coding.com/viewtopic.php?pid=136773#p136773</link>
			<description><![CDATA[<p>Согласен костыльно, но проще. Я бы вообще не проверял ничего. ПРосто process, process, run. Ничего не случиться, если убить несуществующий процесс.</p>]]></description>
			<author><![CDATA[null@example.com (belyankin12)]]></author>
			<pubDate>Fri, 06 Dec 2019 06:55:58 +0000</pubDate>
			<guid>http://forum.script-coding.com/viewtopic.php?pid=136773#p136773</guid>
		</item>
		<item>
			<title><![CDATA[Re: AHK:Помогите соеденить несколько скриптов в один, с биндами активации]]></title>
			<link>http://forum.script-coding.com/viewtopic.php?pid=136772#p136772</link>
			<description><![CDATA[<p><strong>Indomito</strong>, за програмку спабисо огромное!)))</p>]]></description>
			<author><![CDATA[null@example.com (X_vorost)]]></author>
			<pubDate>Fri, 06 Dec 2019 04:17:21 +0000</pubDate>
			<guid>http://forum.script-coding.com/viewtopic.php?pid=136772#p136772</guid>
		</item>
		<item>
			<title><![CDATA[Re: AHK:Помогите соеденить несколько скриптов в один, с биндами активации]]></title>
			<link>http://forum.script-coding.com/viewtopic.php?pid=136762#p136762</link>
			<description><![CDATA[<p><strong>belyankin12</strong><br />Не проще, ибо надо в каждом скрипте делать так.<br />Скрипт 1 - запускает скрипты 2 и 3 с проверкой.<br />Скрипт 2 - запускает скрипты 1 и 3 с проверкой.<br />Скрипт 3 - запускает скрипты 1 и 2 с проверкой.</p><p>Мне, лично такая механика не нравится. <br />IMHO</p>]]></description>
			<author><![CDATA[null@example.com (Indomito)]]></author>
			<pubDate>Thu, 05 Dec 2019 15:23:15 +0000</pubDate>
			<guid>http://forum.script-coding.com/viewtopic.php?pid=136762#p136762</guid>
		</item>
		<item>
			<title><![CDATA[Re: AHK:Помогите соеденить несколько скриптов в один, с биндами активации]]></title>
			<link>http://forum.script-coding.com/viewtopic.php?pid=136761#p136761</link>
			<description><![CDATA[<p>Мне кажется проще по ХК открывать скрипт с нужными биндами и закрывать все остальные.</p>]]></description>
			<author><![CDATA[null@example.com (belyankin12)]]></author>
			<pubDate>Thu, 05 Dec 2019 15:08:54 +0000</pubDate>
			<guid>http://forum.script-coding.com/viewtopic.php?pid=136761#p136761</guid>
		</item>
		<item>
			<title><![CDATA[Re: AHK:Помогите соеденить несколько скриптов в один, с биндами активации]]></title>
			<link>http://forum.script-coding.com/viewtopic.php?pid=136754#p136754</link>
			<description><![CDATA[<p>Если я верно понимаю, то надо сделать один скрипт с тремя секциями, ну а условие ты сам озвучил - <em>&quot;то есть при нажатии (например Num1) активировался один скрипт, но не начинал работать без горячей клавиши MButton (колесико мыши)&quot;</em>.<br />Меню можешь сделать сам программой - SmartGUI Creator.</p>]]></description>
			<author><![CDATA[null@example.com (Indomito)]]></author>
			<pubDate>Wed, 04 Dec 2019 14:45:54 +0000</pubDate>
			<guid>http://forum.script-coding.com/viewtopic.php?pid=136754#p136754</guid>
		</item>
		<item>
			<title><![CDATA[AHK:Помогите соеденить несколько скриптов в один, с биндами активации]]></title>
			<link>http://forum.script-coding.com/viewtopic.php?pid=136752#p136752</link>
			<description><![CDATA[<p>Макрос на &quot;фастзум&quot; в игре &quot;Warface&quot;<br />Мне нужно соединить все эти скрипты в один с биндами активации, то есть при нажатии (например Num1) активировался один скрипт, но не начинал работать без горячей клавиши MButton (колесико мыши).</p><p>1 скрипт:<br /></p><div class="codebox"><pre><code>$*MButton::
   Suspend
   SoundPlay, % A_IsSuspended ? &quot;*64&quot; : &quot;*16&quot;
   Return
   
$*Insert::
   Reload
   SoundPlay, % A_IsReload ? &quot;*16&quot; : &quot;*16&quot;
   Return
   
End:: ExitApp

RButton::
Send {RButton Down}
Sleep 85
Send {LButton Down}
KeyWait MButton
Send {LButton up}{RButton up}

~W &amp; RButton::
Send {RButton Down}
Sleep 85
Send {LButton Down}
KeyWait MButton
Send {LButton up}{RButton up}

~A &amp; RButton::
Send {RButton Down}
Sleep 85
Send {LButton Down}
KeyWait MButton
Send {LButton up}{RButton up}

~D &amp; RButton::
Send {RButton Down}
Sleep 85
Send {LButton Down}
KeyWait MButton
Send {LButton up}{RButton up}

~S &amp; RButton::
Send {RButton Down}
Sleep 85
Send {LButton Down}
KeyWait MButton
Send {LButton up}{RButton up}

~Shift &amp; RButton::
Send {RButton Down}
Sleep 85
Send {LButton Down}
KeyWait MButton
Send {LButton up}{RButton up}

Return</code></pre></div><p>2 скрипт:<br /></p><div class="codebox"><pre><code>$*MButton::
   Suspend
   SoundPlay, % A_IsSuspended ? &quot;*64&quot; : &quot;*16&quot;
   Return
   
$*Insert::
   Reload
   SoundPlay, % A_IsReload ? &quot;*16&quot; : &quot;*16&quot;
   Return
   
End:: ExitApp

RButton::
Send {RButton Down}
Sleep 60
Send {LButton Down}
KeyWait MButton
Send {LButton up}{RButton up}

~W &amp; RButton::
Send {RButton Down}
Sleep 60
Send {LButton Down}
KeyWait MButton
Send {LButton up}{RButton up}

~A &amp; RButton::
Send {RButton Down}
Sleep 60
Send {LButton Down}
KeyWait MButton
Send {LButton up}{RButton up}

~D &amp; RButton::
Send {RButton Down}
Sleep 60
Send {LButton Down}
KeyWait MButton
Send {LButton up}{RButton up}

~S &amp; RButton::
Send {RButton Down}
Sleep 60
Send {LButton Down}
KeyWait MButton
Send {LButton up}{RButton up}

Return</code></pre></div><p>3 скрипт:<br /></p><div class="codebox"><pre><code>$*MButton::
   Suspend
   SoundPlay, % A_IsSuspended ? &quot;*64&quot; : &quot;*16&quot;
   Return
   
$*Insert::
   Reload
   SoundPlay, % A_IsReload ? &quot;*16&quot; : &quot;*16&quot;
   Return
   
End:: ExitApp

RButton::
Send {RButton Down}
Sleep 125
Send {LButton Down}
KeyWait MButton
Send {LButton up}{RButton up}

~W &amp; RButton::
Send {RButton Down}
Sleep 125
Send {LButton Down}
KeyWait MButton
Send {LButton up}{RButton up}

~A &amp; RButton::
Send {RButton Down}
Sleep 125
Send {LButton Down}
KeyWait MButton
Send {LButton up}{RButton up}

~D &amp; RButton::
Send {RButton Down}
Sleep 125
Send {LButton Down}
KeyWait MButton
Send {LButton up}{RButton up}

~S &amp; RButton::
Send {RButton Down}
Sleep 125
Send {LButton Down}
KeyWait MButton
Send {LButton up}{RButton up}

Return</code></pre></div><p>Если сделаете менюшку с биндами, буду очень благодарен!!<br />Хочу сделать похожую менюшку как прикрепил в док-те.</p>]]></description>
			<author><![CDATA[null@example.com (X_vorost)]]></author>
			<pubDate>Wed, 04 Dec 2019 11:27:38 +0000</pubDate>
			<guid>http://forum.script-coding.com/viewtopic.php?pid=136752#p136752</guid>
		</item>
	</channel>
</rss>
