<?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=18183&amp;type=atom" />
	<updated>2024-05-06T17:57:22Z</updated>
	<generator>PunBB</generator>
	<id>https://forum.script-coding.com/viewtopic.php?id=18183</id>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Совмещение двух скриптов]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=160880#p160880" />
			<content type="html"><![CDATA[<p>А в каком виде сейчас не работает?</p>]]></content>
			<author>
				<name><![CDATA[teadrinker]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=24515</uri>
			</author>
			<updated>2024-05-06T17:57:22Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=160880#p160880</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Совмещение двух скриптов]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=160879#p160879" />
			<content type="html"><![CDATA[<p><strong>teadrinker</strong><br />Вы конечно меня извините, но я не совсем понимаю в чем ошибка, по отдельности все работает.<br />Правильно ли я понимаю, в скрипте содержится две подпрограммы, которые должны циклически отрабатывать одна за другой?, но одна не отрабатывает, наверно неправильный синтаксис написания скрипта.</p>]]></content>
			<author>
				<name><![CDATA[dimar72]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=41956</uri>
			</author>
			<updated>2024-05-06T15:46:32Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=160879#p160879</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Совмещение двух скриптов]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=160878#p160878" />
			<content type="html"><![CDATA[<p>Нет, в том порядке, в котором запостили сначала.</p>]]></content>
			<author>
				<name><![CDATA[teadrinker]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=24515</uri>
			</author>
			<updated>2024-05-06T11:02:59Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=160878#p160878</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Совмещение двух скриптов]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=160877#p160877" />
			<content type="html"><![CDATA[<p><strong>teadrinker</strong><br />Так?</p><div class="codebox"><pre><code>sc29::Suspend

x = 958
y = 538

w = 4
h = 4
Color = 0x00ff11
WS_EX_TRANSPARENT := 0x20
WS_EX_LAYERED := 0x80000
Gui, +AlwaysOnTop -Caption +ToolWindow +LastFound
Gui, Color, % Color
Gui, Show, x%x% y%y% w%w% h%h% NA
WinSet, ExStyle, % &quot;+&quot; WS_EX_LAYERED|WS_EX_TRANSPARENT

return

LButton::
Loop
{
SetMouseDelay 50
Click
If(GetKeyState(&quot;LButton&quot;,&quot;P&quot;)=0)
Break
}

return</code></pre></div>]]></content>
			<author>
				<name><![CDATA[dimar72]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=41956</uri>
			</author>
			<updated>2024-05-06T09:52:28Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=160877#p160877</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Совмещение двух скриптов]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=160876#p160876" />
			<content type="html"><![CDATA[<p>Теперь попробуйте наоборот.</p>]]></content>
			<author>
				<name><![CDATA[teadrinker]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=24515</uri>
			</author>
			<updated>2024-05-06T07:16:26Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=160876#p160876</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Совмещение двух скриптов]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=160875#p160875" />
			<content type="html"><![CDATA[<p><strong>teadrinker</strong><br />Вот так.<br /></p><div class="codebox"><pre><code>
sc29::Suspend
LButton::
Loop
{
SetMouseDelay 50
Click
If(GetKeyState(&quot;LButton&quot;,&quot;P&quot;)=0)
Break
}

return



x = 958
y = 538

w = 4
h = 4
Color = 0x00ff11
WS_EX_TRANSPARENT := 0x20
WS_EX_LAYERED := 0x80000
Gui, +AlwaysOnTop -Caption +ToolWindow +LastFound
Gui, Color, % Color
Gui, Show, x%x% y%y% w%w% h%h% NA
WinSet, ExStyle, % &quot;+&quot; WS_EX_LAYERED|WS_EX_TRANSPARENT

return</code></pre></div>]]></content>
			<author>
				<name><![CDATA[dimar72]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=41956</uri>
			</author>
			<updated>2024-05-06T06:24:01Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=160875#p160875</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Совмещение двух скриптов]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=160872#p160872" />
			<content type="html"><![CDATA[<p><strong>dimar72</strong><br />Покажите, как пробовали.</p>]]></content>
			<author>
				<name><![CDATA[teadrinker]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=24515</uri>
			</author>
			<updated>2024-05-05T17:20:21Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=160872#p160872</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Совмещение двух скриптов]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=160871#p160871" />
			<content type="html"><![CDATA[<p>Я пробовал, проклик работает а точка не появляется.<strong>__Михаил__</strong></p>]]></content>
			<author>
				<name><![CDATA[dimar72]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=41956</uri>
			</author>
			<updated>2024-05-05T16:03:17Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=160871#p160871</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Совмещение двух скриптов]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=160870#p160870" />
			<content type="html"><![CDATA[<p><strong>dimar72</strong><br />В чём проблема соединить в один скрипт? Вы попробуйте для начала.</p>]]></content>
			<author>
				<name><![CDATA[__Михаил__]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=40928</uri>
			</author>
			<updated>2024-05-05T12:37:16Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=160870#p160870</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[AHK: Совмещение двух скриптов]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=160867#p160867" />
			<content type="html"><![CDATA[<p>Добрый день, возникла необходимость совместить два скрипта, при активации первого скрипта появляется точка на экране, при активации второго скрипта включается автокликер мыши, не получается объеденить эти скрипты, важно чтобы после запуска скрипта активация скрипта происходила после нажатия клавиши тильда, а деактивация после повторного нажатия клавиши тильда.<br />Первый скрипт.</p><div class="codebox"><pre><code>
; pricel
x = 958
y = 538

w = 4
h = 4
Color = 0x00ff11
WS_EX_TRANSPARENT := 0x20
WS_EX_LAYERED := 0x80000
Gui, +AlwaysOnTop -Caption +ToolWindow +LastFound
Gui, Color, % Color
Gui, Show, x%x% y%y% w%w% h%h% NA
WinSet, ExStyle, % &quot;+&quot; WS_EX_LAYERED|WS_EX_TRANSPARENT
</code></pre></div><p>Второй скрипт.<br /></p><div class="codebox"><pre><code>
sc29::Suspend
LButton::
Loop
{
SetMouseDelay 50
Click
If(GetKeyState(&quot;LButton&quot;,&quot;P&quot;)=0)
Break
}

return
</code></pre></div>]]></content>
			<author>
				<name><![CDATA[dimar72]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=41956</uri>
			</author>
			<updated>2024-05-05T09:04:42Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=160867#p160867</id>
		</entry>
</feed>
