<?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=14295</link>
		<atom:link href="http://forum.script-coding.com/extern.php?action=feed&amp;tid=14295&amp;type=rss" rel="self" type="application/rss+xml" />
		<description><![CDATA[Недавние сообщения в теме «AHK: Получение координаты мыши».]]></description>
		<lastBuildDate>Sat, 03 Nov 2018 11:02:02 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[AHK: Получение координаты мыши]]></title>
			<link>http://forum.script-coding.com/viewtopic.php?pid=129609#p129609</link>
			<description><![CDATA[<p>Добрый день. Решил сделать простенький скрипт для игры ,но не могу получить координаты мыши в игре. Пробовал и Pulover&#039;s Macro Creator и следующий скрипт<br /></p><div class="codebox"><pre><code>#Persistent
CoordMode, ToolTip, screen
SetTimer, WatchCursor, 100
return

WatchCursor:
CoordMode, mouse, Screen ; Coordinates are relative to the desktop (entire screen).
MouseGetPos, x_1, y_1, id_1, control_1

CoordMode, mouse, Window ; Synonymous with Relative and recommended for clarity.
MouseGetPos, x_2, y_2, id_2, control_2

CoordMode, mouse, Client ; Coordinates are relative to the active window&#039;s client area
MouseGetPos, x_3, y_3, id_3, control_3

ToolTip, Screen :`t`tx %x_1% y %y_1%`nWindow :`tx %x_2% y %y_2%`nClient :`t`tx %x_3% y %y_3%, % A_ScreenWidth-200, % A_ScreenHeight-200
return</code></pre></div><p>Все равно получаю координаты в игре x960y540&nbsp; куда бы я не наводил курсор или нажимал.</p>]]></description>
			<author><![CDATA[null@example.com (composter)]]></author>
			<pubDate>Sat, 03 Nov 2018 11:02:02 +0000</pubDate>
			<guid>http://forum.script-coding.com/viewtopic.php?pid=129609#p129609</guid>
		</item>
	</channel>
</rss>
