<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[Серый форум &mdash; Как можно привязать ahk к Gta 5 или RAGE Multiplayer]]></title>
		<link>http://forum.script-coding.com/viewtopic.php?id=16355</link>
		<atom:link href="http://forum.script-coding.com/extern.php?action=feed&amp;tid=16355&amp;type=rss" rel="self" type="application/rss+xml" />
		<description><![CDATA[Недавние сообщения в теме «Как можно привязать ahk к Gta 5 или RAGE Multiplayer».]]></description>
		<lastBuildDate>Sun, 16 May 2021 12:47:08 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: Как можно привязать ahk к Gta 5 или RAGE Multiplayer]]></title>
			<link>http://forum.script-coding.com/viewtopic.php?pid=147912#p147912</link>
			<description><![CDATA[<p>&#039;ControlClick&#039; капризная команда и не обязана работать везде где мы хотим.<br />Обычные &#039;Send&#039; команды будут работать (где нет защиты античита), но только когда окно игры не в полноэкранном режиме.</p>]]></description>
			<author><![CDATA[null@example.com (__Михаил__)]]></author>
			<pubDate>Sun, 16 May 2021 12:47:08 +0000</pubDate>
			<guid>http://forum.script-coding.com/viewtopic.php?pid=147912#p147912</guid>
		</item>
		<item>
			<title><![CDATA[Re: Как можно привязать ahk к Gta 5 или RAGE Multiplayer]]></title>
			<link>http://forum.script-coding.com/viewtopic.php?pid=147906#p147906</link>
			<description><![CDATA[<p><strong>__Михаил__</strong><br />Не работает! Не знаю что делать.</p>]]></description>
			<author><![CDATA[null@example.com (dimkacum)]]></author>
			<pubDate>Sun, 16 May 2021 08:25:35 +0000</pubDate>
			<guid>http://forum.script-coding.com/viewtopic.php?pid=147906#p147906</guid>
		</item>
		<item>
			<title><![CDATA[Re: Как можно привязать ahk к Gta 5 или RAGE Multiplayer]]></title>
			<link>http://forum.script-coding.com/viewtopic.php?pid=147903#p147903</link>
			<description><![CDATA[<p>Пример:</p><div class="codebox"><pre><code>#IfWinActive, ahk_exe GTA5.exe

NumPad1::
ControlClick, x1075 y290, ahk_id 0xc08e0,, RIGHT
Sleep, 175
ControlClick, x1157 y286, ahk_id 0xc08e0,, RIGHT
Sleep, 175
ControlClick, x810 y575, ahk_id 0xc08e0,, RIGHT
Sleep, 175
ControlClick, x810 y676, ahk_id 0xc08e0,, LEFT
Sleep, 5150
Return

#If
</code></pre></div>]]></description>
			<author><![CDATA[null@example.com (__Михаил__)]]></author>
			<pubDate>Sun, 16 May 2021 01:08:21 +0000</pubDate>
			<guid>http://forum.script-coding.com/viewtopic.php?pid=147903#p147903</guid>
		</item>
		<item>
			<title><![CDATA[Re: Как можно привязать ahk к Gta 5 или RAGE Multiplayer]]></title>
			<link>http://forum.script-coding.com/viewtopic.php?pid=147897#p147897</link>
			<description><![CDATA[<p><strong>__Михаил__</strong><br />Честно говоря я уже запутался, написал даже такой код не знаю что делать вроде все перепробовал. Ниче не работает. Вот весь код. Помогите чем сможете( я запутался<br />Фото прикрепил слева в окне оно показывается как RAGE Multiplayer<br />А в диспетчере как Grand Theft Auto V и если развернуть то увидим<br />cef_process(развернуть его получается cef_process.exe),<br />RAGE Multiplayer(развернуть его получается GTA5.exe)<br />Social Club UI ван не понадобится!<br />Что смог то прикрепил надеюсь на помощь.<br />У меня такое чувство что я просто перестаю это понимать(<br />Если будете объяснять распишите поподробнее. Спасибо!</p><div class="codebox"><pre><code>DetectHiddenWindows, On

#If WinExist(&quot;ahk_class RAGE Multiplayer ahk_exe cef_process.exe&quot;)
F6:: ExitApp
F5::pause
Pause::Pause
NumPad1::
	While WinExist(&quot;ahk_class RAGE Multiplayer V ahk_exe cef_process.exe&quot;)
Loop, 1
{
    ControlClick, x1075 y290, ahk_id 0xc08e0,, RIGHT
        sleep, 175
    ControlClick, x1157 y286, ahk_id 0xc08e0,, RIGHT
        sleep, 175
    ControlClick, x810 y575, ahk_id 0xc08e0,, RIGHT
        sleep, 175
    ControlClick, x810 y676, ahk_id 0xc08e0,, LEFT
        sleep, 5150
}
SoundBeep, 
sleep 100
#If</code></pre></div>]]></description>
			<author><![CDATA[null@example.com (dimkacum)]]></author>
			<pubDate>Sat, 15 May 2021 23:49:45 +0000</pubDate>
			<guid>http://forum.script-coding.com/viewtopic.php?pid=147897#p147897</guid>
		</item>
		<item>
			<title><![CDATA[Re: Как можно привязать ahk к Gta 5 или RAGE Multiplayer]]></title>
			<link>http://forum.script-coding.com/viewtopic.php?pid=147878#p147878</link>
			<description><![CDATA[<p>А зачем это нужно? В коде нет привязок к каким либо окнам - толку 0.</p>]]></description>
			<author><![CDATA[null@example.com (__Михаил__)]]></author>
			<pubDate>Sat, 15 May 2021 18:11:43 +0000</pubDate>
			<guid>http://forum.script-coding.com/viewtopic.php?pid=147878#p147878</guid>
		</item>
		<item>
			<title><![CDATA[Re: Как можно привязать ahk к Gta 5 или RAGE Multiplayer]]></title>
			<link>http://forum.script-coding.com/viewtopic.php?pid=147877#p147877</link>
			<description><![CDATA[<p><strong>__Михаил__</strong><br />IfWinNotActive ето если окно не активное</p>]]></description>
			<author><![CDATA[null@example.com (dimkacum)]]></author>
			<pubDate>Sat, 15 May 2021 17:53:00 +0000</pubDate>
			<guid>http://forum.script-coding.com/viewtopic.php?pid=147877#p147877</guid>
		</item>
		<item>
			<title><![CDATA[Re: Как можно привязать ahk к Gta 5 или RAGE Multiplayer]]></title>
			<link>http://forum.script-coding.com/viewtopic.php?pid=147871#p147871</link>
			<description><![CDATA[<p>В коде используется &#039;IfWinNotActive&#039; - для чего она? Откуда взялась?</p>]]></description>
			<author><![CDATA[null@example.com (__Михаил__)]]></author>
			<pubDate>Sat, 15 May 2021 17:29:14 +0000</pubDate>
			<guid>http://forum.script-coding.com/viewtopic.php?pid=147871#p147871</guid>
		</item>
		<item>
			<title><![CDATA[Re: Как можно привязать ahk к Gta 5 или RAGE Multiplayer]]></title>
			<link>http://forum.script-coding.com/viewtopic.php?pid=147870#p147870</link>
			<description><![CDATA[<p>Если перейти по ссылке что я оставил выше, можно найти примеры использования.<br />В чём проблема заменить привязку на своё окно?</p>]]></description>
			<author><![CDATA[null@example.com (__Михаил__)]]></author>
			<pubDate>Sat, 15 May 2021 17:25:54 +0000</pubDate>
			<guid>http://forum.script-coding.com/viewtopic.php?pid=147870#p147870</guid>
		</item>
		<item>
			<title><![CDATA[Re: Как можно привязать ahk к Gta 5 или RAGE Multiplayer]]></title>
			<link>http://forum.script-coding.com/viewtopic.php?pid=147868#p147868</link>
			<description><![CDATA[<p><strong>__Михаил__</strong><br />Напиши пожалуйста что это а то я только начинаю писать ахк и толком еше ниче не понимаю. Буду очень благодарен если исправишь мои ошибки. Спасибо!<br />Если какие-то нужны файлы могу докинуть!<br /><a href="https://forum.script-coding.com/viewtopic.php?id=16355">https://forum.script-coding.com/viewtopic.php?id=16355</a></p>]]></description>
			<author><![CDATA[null@example.com (dimkacum)]]></author>
			<pubDate>Sat, 15 May 2021 17:00:27 +0000</pubDate>
			<guid>http://forum.script-coding.com/viewtopic.php?pid=147868#p147868</guid>
		</item>
		<item>
			<title><![CDATA[Re: Как можно привязать ahk к Gta 5 или RAGE Multiplayer]]></title>
			<link>http://forum.script-coding.com/viewtopic.php?pid=147864#p147864</link>
			<description><![CDATA[<p>Тут всё расписано <a href="http://www.script-coding.com/AutoHotkey/IfWinActive.html">IfWinActive</a>.</p>]]></description>
			<author><![CDATA[null@example.com (__Михаил__)]]></author>
			<pubDate>Sat, 15 May 2021 16:48:33 +0000</pubDate>
			<guid>http://forum.script-coding.com/viewtopic.php?pid=147864#p147864</guid>
		</item>
		<item>
			<title><![CDATA[Re: Как можно привязать ahk к Gta 5 или RAGE Multiplayer]]></title>
			<link>http://forum.script-coding.com/viewtopic.php?pid=147863#p147863</link>
			<description><![CDATA[<p>Директивы нужно правильно использовать, конечно не будет эффекта.</p>]]></description>
			<author><![CDATA[null@example.com (__Михаил__)]]></author>
			<pubDate>Sat, 15 May 2021 16:45:15 +0000</pubDate>
			<guid>http://forum.script-coding.com/viewtopic.php?pid=147863#p147863</guid>
		</item>
		<item>
			<title><![CDATA[Как можно привязать ahk к Gta 5 или RAGE Multiplayer]]></title>
			<link>http://forum.script-coding.com/viewtopic.php?pid=147862#p147862</link>
			<description><![CDATA[<p>Искал на форумах, пробовал привязать, но ничего не помогло. В режиме оконный без рамки гта не морозится, вроде должно работать, но ничего не происходит. <br />Сам по себе он работает когда ты в окне гта но когда ты сворачиваешься в браузер например он в браузере работает по тех же координатах.<br /></p><div class="codebox"><pre><code>
WinGet, roid, List, Grand Theft Auto V
sc4D::
IfWinNotActive, Grand Theft Auto V
F6:: ExitApp
F5::pause
Pause::Pause
NumPad1::
Loop, 1
{
    ControlClick,{Click right 1075, 290}
        sleep, 175
    Send,{Click right 1157, 286}
        sleep, 175
    Send,{Click right 810, 575}
        sleep, 175
    Send,{Click, 810, 676}
        sleep, 5150
}
SoundBeep, 
sleep 1000

</code></pre></div>]]></description>
			<author><![CDATA[null@example.com (dimkacum)]]></author>
			<pubDate>Sat, 15 May 2021 15:46:56 +0000</pubDate>
			<guid>http://forum.script-coding.com/viewtopic.php?pid=147862#p147862</guid>
		</item>
	</channel>
</rss>
