<?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=15079&amp;type=atom" />
	<updated>2019-12-06T08:58:00Z</updated>
	<generator>PunBB</generator>
	<id>http://forum.script-coding.com/viewtopic.php?id=15079</id>
		<entry>
			<title type="html"><![CDATA[Re: AHK:Помогите соеденить несколько скриптов в один, с биндами активации]]></title>
			<link rel="alternate" href="http://forum.script-coding.com/viewtopic.php?pid=136775#p136775" />
			<content type="html"><![CDATA[<p>Да, так проще, а проверка это проверка на запуск процесса, а не убиение <img src="//forum.script-coding.com/img/smilies/wink.png" width="15" height="15" />.</p>]]></content>
			<author>
				<name><![CDATA[Indomito]]></name>
				<uri>http://forum.script-coding.com/profile.php?id=27285</uri>
			</author>
			<updated>2019-12-06T08:58:00Z</updated>
			<id>http://forum.script-coding.com/viewtopic.php?pid=136775#p136775</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK:Помогите соеденить несколько скриптов в один, с биндами активации]]></title>
			<link rel="alternate" href="http://forum.script-coding.com/viewtopic.php?pid=136773#p136773" />
			<content type="html"><![CDATA[<p>Согласен костыльно, но проще. Я бы вообще не проверял ничего. ПРосто process, process, run. Ничего не случиться, если убить несуществующий процесс.</p>]]></content>
			<author>
				<name><![CDATA[belyankin12]]></name>
				<uri>http://forum.script-coding.com/profile.php?id=34408</uri>
			</author>
			<updated>2019-12-06T06:55:58Z</updated>
			<id>http://forum.script-coding.com/viewtopic.php?pid=136773#p136773</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK:Помогите соеденить несколько скриптов в один, с биндами активации]]></title>
			<link rel="alternate" href="http://forum.script-coding.com/viewtopic.php?pid=136772#p136772" />
			<content type="html"><![CDATA[<p><strong>Indomito</strong>, за програмку спабисо огромное!)))</p>]]></content>
			<author>
				<name><![CDATA[X_vorost]]></name>
				<uri>http://forum.script-coding.com/profile.php?id=40325</uri>
			</author>
			<updated>2019-12-06T04:17:21Z</updated>
			<id>http://forum.script-coding.com/viewtopic.php?pid=136772#p136772</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK:Помогите соеденить несколько скриптов в один, с биндами активации]]></title>
			<link rel="alternate" href="http://forum.script-coding.com/viewtopic.php?pid=136762#p136762" />
			<content type="html"><![CDATA[<p><strong>belyankin12</strong><br />Не проще, ибо надо в каждом скрипте делать так.<br />Скрипт 1 - запускает скрипты 2 и 3 с проверкой.<br />Скрипт 2 - запускает скрипты 1 и 3 с проверкой.<br />Скрипт 3 - запускает скрипты 1 и 2 с проверкой.</p><p>Мне, лично такая механика не нравится. <br />IMHO</p>]]></content>
			<author>
				<name><![CDATA[Indomito]]></name>
				<uri>http://forum.script-coding.com/profile.php?id=27285</uri>
			</author>
			<updated>2019-12-05T15:23:15Z</updated>
			<id>http://forum.script-coding.com/viewtopic.php?pid=136762#p136762</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK:Помогите соеденить несколько скриптов в один, с биндами активации]]></title>
			<link rel="alternate" href="http://forum.script-coding.com/viewtopic.php?pid=136761#p136761" />
			<content type="html"><![CDATA[<p>Мне кажется проще по ХК открывать скрипт с нужными биндами и закрывать все остальные.</p>]]></content>
			<author>
				<name><![CDATA[belyankin12]]></name>
				<uri>http://forum.script-coding.com/profile.php?id=34408</uri>
			</author>
			<updated>2019-12-05T15:08:54Z</updated>
			<id>http://forum.script-coding.com/viewtopic.php?pid=136761#p136761</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK:Помогите соеденить несколько скриптов в один, с биндами активации]]></title>
			<link rel="alternate" href="http://forum.script-coding.com/viewtopic.php?pid=136754#p136754" />
			<content type="html"><![CDATA[<p>Если я верно понимаю, то надо сделать один скрипт с тремя секциями, ну а условие ты сам озвучил - <em>&quot;то есть при нажатии (например Num1) активировался один скрипт, но не начинал работать без горячей клавиши MButton (колесико мыши)&quot;</em>.<br />Меню можешь сделать сам программой - SmartGUI Creator.</p>]]></content>
			<author>
				<name><![CDATA[Indomito]]></name>
				<uri>http://forum.script-coding.com/profile.php?id=27285</uri>
			</author>
			<updated>2019-12-04T14:45:54Z</updated>
			<id>http://forum.script-coding.com/viewtopic.php?pid=136754#p136754</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[AHK:Помогите соеденить несколько скриптов в один, с биндами активации]]></title>
			<link rel="alternate" href="http://forum.script-coding.com/viewtopic.php?pid=136752#p136752" />
			<content type="html"><![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>]]></content>
			<author>
				<name><![CDATA[X_vorost]]></name>
				<uri>http://forum.script-coding.com/profile.php?id=40325</uri>
			</author>
			<updated>2019-12-04T11:27:38Z</updated>
			<id>http://forum.script-coding.com/viewtopic.php?pid=136752#p136752</id>
		</entry>
</feed>
