<?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=5203&amp;type=atom" />
	<updated>2010-11-23T22:30:34Z</updated>
	<generator>PunBB</generator>
	<id>https://forum.script-coding.com/viewtopic.php?id=5203</id>
		<entry>
			<title type="html"><![CDATA[Re: AHK: запись координат мыши в переменную]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=42126#p42126" />
			<content type="html"><![CDATA[<p>Всем большое спасибо. Тему можна закрывать.</p>]]></content>
			<author>
				<name><![CDATA[Kbps]]></name>
			</author>
			<updated>2010-11-23T22:30:34Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=42126#p42126</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: запись координат мыши в переменную]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=42118#p42118" />
			<content type="html"><![CDATA[<div class="codebox"><pre><code>i := 0
Coordmode, mouse,screen

z &amp; lbutton::
i := i+1
if i &gt; 16
{
   Msgbox Уже записано 16 координат, эта 17-я.`nЗакомменитруйте эту строчку, если надо убрать это сообщение
return
}

Mousegetpos, x%i%, y%i%

MsgBox % &quot;X&quot; . i . &quot;=&quot; . x%i% . &quot;`r`n&quot; . &quot;Y&quot; . i . &quot;=&quot; . y%i%

return</code></pre></div>]]></content>
			<author>
				<name><![CDATA[InFlames]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=24849</uri>
			</author>
			<updated>2010-11-23T18:54:45Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=42118#p42118</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: запись координат мыши в переменную]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=42117#p42117" />
			<content type="html"><![CDATA[<p>вообще код <strong>ypppu</strong> устраивает меня проста я хотел сделать чтоб он повторялбис 16 раз фиксировано и нельзя било вести координати допустим 17 раз и&nbsp; после того как будут записаны 16 координат z+lbutton уже не работала</p>]]></content>
			<author>
				<name><![CDATA[Kbps]]></name>
			</author>
			<updated>2010-11-23T18:09:00Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=42117#p42117</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: запись координат мыши в переменную]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=42116#p42116" />
			<content type="html"><![CDATA[<p>А чем не устроил код <strong>ypppu</strong> из поста №4? Наводите мышь, куда надо, нажимаете z+lbutton, появляется окно с координатами. В результате созданы переменные x1 и y1. Далее опять наводите в нужное место мышь и нажимаете z+lbutton. Будут созданы переменные x2 и y2. И так далее.</p>]]></content>
			<author>
				<name><![CDATA[InFlames]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=24849</uri>
			</author>
			<updated>2010-11-23T17:59:35Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=42116#p42116</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: запись координат мыши в переменную]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=42111#p42111" />
			<content type="html"><![CDATA[<p><strong>InFlames</strong> Так он берёт 1 точку 16 раз а мне надо 16 разных точек сохранит в переменные</p>]]></content>
			<author>
				<name><![CDATA[Kbps]]></name>
			</author>
			<updated>2010-11-23T17:44:01Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=42111#p42111</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: запись координат мыши в переменную]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=42110#p42110" />
			<content type="html"><![CDATA[<div class="codebox"><pre><code>i := 0
z &amp; lbutton::
Loop 16
{
Coordmode, mouse,relative
i := i+1
Mousegetpos, x%i%, y%i%

MsgBox % &quot;X&quot; . i . &quot;=&quot; . x%i% . &quot;`r`n&quot; . &quot;Y&quot; . i . &quot;=&quot; . y%i%
}
Return</code></pre></div>]]></content>
			<author>
				<name><![CDATA[InFlames]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=24849</uri>
			</author>
			<updated>2010-11-23T17:39:27Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=42110#p42110</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: запись координат мыши в переменную]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=42109#p42109" />
			<content type="html"><![CDATA[<p>подскажите пожалуйста в чем ошибка?<br /></p><div class="codebox"><pre><code>i := 0
Loop 16
{
Coordmode, mouse,relative
z &amp; lbutton::
i := i+1
Mousegetpos, x%i%, y%i%

MsgBox % &quot;X&quot; . i . &quot;=&quot; . x%i% . &quot;`r`n&quot; . &quot;Y&quot; . i . &quot;=&quot; . y%i%
}
Return</code></pre></div>]]></content>
			<author>
				<name><![CDATA[Kbps]]></name>
			</author>
			<updated>2010-11-23T17:37:34Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=42109#p42109</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: запись координат мыши в переменную]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=42107#p42107" />
			<content type="html"><![CDATA[<div class="codebox"><pre><code>i := 0
Coordmode, mouse,screen

z &amp; lbutton::
i := i+1
Mousegetpos, x%i%, y%i%

MsgBox % &quot;X&quot; . i . &quot;=&quot; . x%i% . &quot;`r`n&quot; . &quot;Y&quot; . i . &quot;=&quot; . y%i%</code></pre></div>]]></content>
			<author>
				<name><![CDATA[ypppu]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=5974</uri>
			</author>
			<updated>2010-11-23T16:53:22Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=42107#p42107</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: запись координат мыши в переменную]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=42106#p42106" />
			<content type="html"><![CDATA[<p>Спасибо. Если нетрудно подскажите пожалуйста как луче записать таким способом 16 переменных чтоб в последствий их можнобило использовать в скрипте. Несколько понял масивов в нету?</p>]]></content>
			<author>
				<name><![CDATA[Kbps]]></name>
			</author>
			<updated>2010-11-23T16:25:25Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=42106#p42106</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: запись координат мыши в переменную]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=42100#p42100" />
			<content type="html"><![CDATA[<div class="codebox"><pre><code>Coordmode, mouse,screen
z &amp; lbutton::
Mousegetpos, x, y
msgbox, %x%  %y%</code></pre></div>]]></content>
			<author>
				<name><![CDATA[ypppu]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=5974</uri>
			</author>
			<updated>2010-11-23T12:41:51Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=42100#p42100</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[AHK: запись координат мыши в переменную]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=42099#p42099" />
			<content type="html"><![CDATA[<p>Как сделать в Auto Hot Key чтобы допустим при нажатий клавиши Z и потом кликнув мишкой на экране в переменную X записались координати положения мишки varХ а в переменную varY координати положения мишки Y.</p>]]></content>
			<author>
				<name><![CDATA[Kbps]]></name>
			</author>
			<updated>2010-11-23T11:30:45Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=42099#p42099</id>
		</entry>
</feed>
