<?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=12850&amp;type=atom" />
	<updated>2017-07-28T15:24:06Z</updated>
	<generator>PunBB</generator>
	<id>http://forum.script-coding.com/viewtopic.php?id=12850</id>
		<entry>
			<title type="html"><![CDATA[Re: AHK:нужно объединить два скрипта.]]></title>
			<link rel="alternate" href="http://forum.script-coding.com/viewtopic.php?pid=117634#p117634" />
			<content type="html"><![CDATA[<p>спасибо разобрался. тема закрыта</p>]]></content>
			<author>
				<name><![CDATA[Denzel]]></name>
				<uri>http://forum.script-coding.com/profile.php?id=38656</uri>
			</author>
			<updated>2017-07-28T15:24:06Z</updated>
			<id>http://forum.script-coding.com/viewtopic.php?pid=117634#p117634</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK:нужно объединить два скрипта.]]></title>
			<link rel="alternate" href="http://forum.script-coding.com/viewtopic.php?pid=117631#p117631" />
			<content type="html"><![CDATA[<p><strong>belyankin12</strong><br />побробнее.</p>]]></content>
			<author>
				<name><![CDATA[Denzel]]></name>
				<uri>http://forum.script-coding.com/profile.php?id=38656</uri>
			</author>
			<updated>2017-07-28T08:57:55Z</updated>
			<id>http://forum.script-coding.com/viewtopic.php?pid=117631#p117631</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK:нужно объединить два скрипта.]]></title>
			<link rel="alternate" href="http://forum.script-coding.com/viewtopic.php?pid=117630#p117630" />
			<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>2017-07-28T04:08:17Z</updated>
			<id>http://forum.script-coding.com/viewtopic.php?pid=117630#p117630</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[AHK:нужно объединить два скрипта.]]></title>
			<link rel="alternate" href="http://forum.script-coding.com/viewtopic.php?pid=117627#p117627" />
			<content type="html"><![CDATA[<p>ребята помогите &quot;склеить&quot;&nbsp; два скрипта.<br />первый скрипт.<br /></p><div class="codebox"><pre><code>#NoEnv
#NoTrayIcon
#NoEnv
#SingleInstance, force
SendMode Input

isMouseShown()
	{
		StructSize := A_PtrSize + 16
		VarSetCapacity(InfoStruct, StructSize)
		NumPut(StructSize, InfoStruct)
		DllCall(&quot;GetCursorInfo&quot;, UInt, &amp;InfoStruct)
		Result := NumGet(InfoStruct, 8)

	if Result &gt; 1
      Return 1
	else
      Return 0
	}
	Loop
	{
		if isMouseShown() == 1
			Suspend On
		else
			Suspend Off
		Sleep 1
}
	
~*HOME::
Suspend Toggle
if (!A_IsSuspended)
{
SoundPlay, C:\vkl.wav
}
Else
{
SoundPlay, C:\vukl.wav
}
return
	
~*LButton::
loop
{
GetKeyState,updn, LButton, P
if updn = U
break
MouseClick, left,,, 1, 0, D
MouseClick, left,,, 1, 0, U
DllCall(&quot;mouse_event&quot;,uint,1,int,0,int,5,uint,0,int,0)
Sleep, 1
DllCall(&quot;mouse_event&quot;,uint,1,int,0,int,6,uint,0,int,0)
Sleep, 1
}</code></pre></div><p>второй скрипт.<br /></p><div class="codebox"><pre><code>!Numpad2::
MouseClickDrag, Left, 259, 171, 1002, 484 , 0
return</code></pre></div>]]></content>
			<author>
				<name><![CDATA[Denzel]]></name>
				<uri>http://forum.script-coding.com/profile.php?id=38656</uri>
			</author>
			<updated>2017-07-27T20:52:30Z</updated>
			<id>http://forum.script-coding.com/viewtopic.php?pid=117627#p117627</id>
		</entry>
</feed>
