<?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>https://forum.script-coding.com/viewtopic.php?id=10921</link>
		<atom:link href="https://forum.script-coding.com/extern.php?action=feed&amp;tid=10921&amp;type=rss" rel="self" type="application/rss+xml" />
		<description><![CDATA[Недавние сообщения в теме «AHK: Не могу определить клиентские координаты для клика».]]></description>
		<lastBuildDate>Fri, 04 Sep 2015 17:25:49 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: AHK: Не могу определить клиентские координаты для клика]]></title>
			<link>https://forum.script-coding.com/viewtopic.php?pid=97096#p97096</link>
			<description><![CDATA[<p><strong>serzh82saratov</strong>, спасиб огромное !</p>]]></description>
			<author><![CDATA[null@example.com (Hydrogenium)]]></author>
			<pubDate>Fri, 04 Sep 2015 17:25:49 +0000</pubDate>
			<guid>https://forum.script-coding.com/viewtopic.php?pid=97096#p97096</guid>
		</item>
		<item>
			<title><![CDATA[Re: AHK: Не могу определить клиентские координаты для клика]]></title>
			<link>https://forum.script-coding.com/viewtopic.php?pid=97095#p97095</link>
			<description><![CDATA[<div class="codebox"><pre><code>
FuncClick(this_id)  { 
    x := 104, y := 142  
    GetClientPos(WinExist(&quot;ahk_pid&quot; this_id), left, top) 
    ControlClick, % &quot;X&quot; x+left &quot; Y&quot; y+top
}

GetClientPos(hwnd, ByRef left, ByRef top)  {
    VarSetCapacity(pwi, 60, 0), NumPut(60, pwi, 0, &quot;UInt&quot;)
    DllCall(&quot;GetWindowInfo&quot;, &quot;Ptr&quot;, hwnd, &quot;UInt&quot;, &amp;pwi)
    top:=NumGet(pwi,24,&quot;int&quot;)-NumGet(pwi,8,&quot;int&quot;)
    left:=NumGet(pwi,52,&quot;int&quot;) 
}
</code></pre></div>]]></description>
			<author><![CDATA[null@example.com (serzh82saratov)]]></author>
			<pubDate>Fri, 04 Sep 2015 17:20:24 +0000</pubDate>
			<guid>https://forum.script-coding.com/viewtopic.php?pid=97095#p97095</guid>
		</item>
		<item>
			<title><![CDATA[Re: AHK: Не могу определить клиентские координаты для клика]]></title>
			<link>https://forum.script-coding.com/viewtopic.php?pid=97094#p97094</link>
			<description><![CDATA[<p><strong>Задача:</strong><br /></p><div class="quotebox"><blockquote><p>Есть неактивное окно с определённым ID (this_id).<br />Требуется совершить в нём клик по клиентским координатам (при этом не активируя окно).</p></blockquote></div><p>И не имеет значение с <em>CoordMode</em> или без.<br /><em>CoordMode</em> для визуального примера был упомянут. Я ещё в 1-ом посте описал, что меня терзают смутные сомнения его использовать !</p>]]></description>
			<author><![CDATA[null@example.com (Hydrogenium)]]></author>
			<pubDate>Fri, 04 Sep 2015 17:18:31 +0000</pubDate>
			<guid>https://forum.script-coding.com/viewtopic.php?pid=97094#p97094</guid>
		</item>
		<item>
			<title><![CDATA[Re: AHK: Не могу определить клиентские координаты для клика]]></title>
			<link>https://forum.script-coding.com/viewtopic.php?pid=97092#p97092</link>
			<description><![CDATA[<p>А кто сказал, что команда <em>ControlClick</em> подчиняется <em>CoordMode</em>?</p><div class="quotebox"><blockquote><p><strong>CoordMode</strong><br />Sets coordinate mode for various commands to be relative to either the active window or the screen.<br /></p><ul><li><p>Param1 <strong>Mouse:</strong> Affects MouseGetPos, Click, and MouseMove/Click/Drag.</p></li></ul></blockquote></div>]]></description>
			<author><![CDATA[null@example.com (ypppu)]]></author>
			<pubDate>Fri, 04 Sep 2015 17:01:21 +0000</pubDate>
			<guid>https://forum.script-coding.com/viewtopic.php?pid=97092#p97092</guid>
		</item>
		<item>
			<title><![CDATA[Re: AHK: Не могу определить клиентские координаты для клика]]></title>
			<link>https://forum.script-coding.com/viewtopic.php?pid=97090#p97090</link>
			<description><![CDATA[<p>Есть неактивное окно с определённым ID (this_id).</p><p>Требуется совершить в нём клик по клиентским координатам, типа:<br /></p><div class="codebox"><pre><code>
WinGet, active_id, ID, A
CoordMode, Mouse, Client
Click %x%, %y%
</code></pre></div><p>(при этом не активируя окно)</p><div class="codebox"><pre><code>ControlClick, X%x% Y%y%, ahk_pid %this_id%,,LEFT,1</code></pre></div><p>Тут <em>ControlClick</em> норм работает и кликает в неактивном окне, но я не могу привязать его к клиентской части</p>]]></description>
			<author><![CDATA[null@example.com (Hydrogenium)]]></author>
			<pubDate>Fri, 04 Sep 2015 16:07:52 +0000</pubDate>
			<guid>https://forum.script-coding.com/viewtopic.php?pid=97090#p97090</guid>
		</item>
		<item>
			<title><![CDATA[Re: AHK: Не могу определить клиентские координаты для клика]]></title>
			<link>https://forum.script-coding.com/viewtopic.php?pid=97088#p97088</link>
			<description><![CDATA[<p>Так я не пойму, задача в том, чтобы определить координаты клиентской области окна?</p>]]></description>
			<author><![CDATA[null@example.com (teadrinker)]]></author>
			<pubDate>Fri, 04 Sep 2015 15:34:18 +0000</pubDate>
			<guid>https://forum.script-coding.com/viewtopic.php?pid=97088#p97088</guid>
		</item>
		<item>
			<title><![CDATA[Re: AHK: Не могу определить клиентские координаты для клика]]></title>
			<link>https://forum.script-coding.com/viewtopic.php?pid=97087#p97087</link>
			<description><![CDATA[<p>Поправил.</p>]]></description>
			<author><![CDATA[null@example.com (Hydrogenium)]]></author>
			<pubDate>Fri, 04 Sep 2015 14:07:00 +0000</pubDate>
			<guid>https://forum.script-coding.com/viewtopic.php?pid=97087#p97087</guid>
		</item>
		<item>
			<title><![CDATA[Re: AHK: Не могу определить клиентские координаты для клика]]></title>
			<link>https://forum.script-coding.com/viewtopic.php?pid=97086#p97086</link>
			<description><![CDATA[<p><span style="color: green"><strong>Hydrogenium</strong>, <a href="http://forum.script-coding.com/viewtopic.php?id=6148">не нужно</a> цитировать предыдущий пост. Отредактируйте свои сообщения.</span></p>]]></description>
			<author><![CDATA[null@example.com (teadrinker)]]></author>
			<pubDate>Fri, 04 Sep 2015 14:02:42 +0000</pubDate>
			<guid>https://forum.script-coding.com/viewtopic.php?pid=97086#p97086</guid>
		</item>
		<item>
			<title><![CDATA[Re: AHK: Не могу определить клиентские координаты для клика]]></title>
			<link>https://forum.script-coding.com/viewtopic.php?pid=97085#p97085</link>
			<description><![CDATA[<p>В заголовке темы и сказано про определение &quot;клиентских&quot; координат, а не про что-то другое.</p>]]></description>
			<author><![CDATA[null@example.com (Hydrogenium)]]></author>
			<pubDate>Fri, 04 Sep 2015 13:59:55 +0000</pubDate>
			<guid>https://forum.script-coding.com/viewtopic.php?pid=97085#p97085</guid>
		</item>
		<item>
			<title><![CDATA[Re: AHK: Не могу определить клиентские координаты для клика]]></title>
			<link>https://forum.script-coding.com/viewtopic.php?pid=97084#p97084</link>
			<description><![CDATA[<p>Значит Вы научились пользоваться&nbsp; <em>ControlClick</em>. Осталось попасть.</p>]]></description>
			<author><![CDATA[null@example.com (ypppu)]]></author>
			<pubDate>Fri, 04 Sep 2015 13:58:07 +0000</pubDate>
			<guid>https://forum.script-coding.com/viewtopic.php?pid=97084#p97084</guid>
		</item>
		<item>
			<title><![CDATA[Re: AHK: Не могу определить клиентские координаты для клика]]></title>
			<link>https://forum.script-coding.com/viewtopic.php?pid=97083#p97083</link>
			<description><![CDATA[<p>Это для теста на калькуляторе:<br /></p><div class="codebox"><pre><code>1::ControlClick, x102 y200, Калькулятор</code></pre></div><p>А код:<br /></p><div class="codebox"><pre><code>
F10::     
    1::ControlClick, x300 y300, Безымянный - Paint
Return
</code></pre></div><p>Рисует линии<br /></p><div class="fancy_spoiler_switcher"><div class="fancy_spoiler_switcher_header" data-lang-open="открыть спойлер" data-lang-close="скрыть спойлер"><strong>+</strong>&nbsp;открыть спойлер</div><div class="fancy_spoiler"><p><span class="postimg"><img src="http://f6.s.qip.ru/OgbqiopU.png" alt="http://f6.s.qip.ru/OgbqiopU.png" /></span></p></div></div>]]></description>
			<author><![CDATA[null@example.com (Hydrogenium)]]></author>
			<pubDate>Fri, 04 Sep 2015 13:44:47 +0000</pubDate>
			<guid>https://forum.script-coding.com/viewtopic.php?pid=97083#p97083</guid>
		</item>
		<item>
			<title><![CDATA[Re: AHK: Не могу определить клиентские координаты для клика]]></title>
			<link>https://forum.script-coding.com/viewtopic.php?pid=97082#p97082</link>
			<description><![CDATA[<p>На клиентские <em>ЧТО</em> не реагирует?</p><p>Где в программе Paint цифры 9 и 3?</p>]]></description>
			<author><![CDATA[null@example.com (ypppu)]]></author>
			<pubDate>Fri, 04 Sep 2015 13:31:17 +0000</pubDate>
			<guid>https://forum.script-coding.com/viewtopic.php?pid=97082#p97082</guid>
		</item>
		<item>
			<title><![CDATA[Re: AHK: Не могу определить клиентские координаты для клика]]></title>
			<link>https://forum.script-coding.com/viewtopic.php?pid=97079#p97079</link>
			<description><![CDATA[<div class="codebox"><pre><code>1::ControlClick, x102 y200, Калькулятор</code></pre></div><p>Если окно не свёрнуто, то на клиентские не реагирует и кликает цифру &quot;9&quot;<br />Если окно свёрнуто, то кликает по клиентским координатам (цифра &quot;3&quot;)</p>]]></description>
			<author><![CDATA[null@example.com (Hydrogenium)]]></author>
			<pubDate>Fri, 04 Sep 2015 13:06:41 +0000</pubDate>
			<guid>https://forum.script-coding.com/viewtopic.php?pid=97079#p97079</guid>
		</item>
		<item>
			<title><![CDATA[Re: AHK: Не могу определить клиентские координаты для клика]]></title>
			<link>https://forum.script-coding.com/viewtopic.php?pid=97071#p97071</link>
			<description><![CDATA[<p>Попробуйте в Paint. У меня работает хоть в неактивном, хоть в свёрнутом окне:<br /></p><div class="codebox"><pre><code>1::ControlClick, x300 y300, Безымянный - Paint</code></pre></div>]]></description>
			<author><![CDATA[null@example.com (ypppu)]]></author>
			<pubDate>Fri, 04 Sep 2015 07:49:49 +0000</pubDate>
			<guid>https://forum.script-coding.com/viewtopic.php?pid=97071#p97071</guid>
		</item>
		<item>
			<title><![CDATA[Re: AHK: Не могу определить клиентские координаты для клика]]></title>
			<link>https://forum.script-coding.com/viewtopic.php?pid=97069#p97069</link>
			<description><![CDATA[<p>Как быть ?</p>]]></description>
			<author><![CDATA[null@example.com (Hydrogenium)]]></author>
			<pubDate>Fri, 04 Sep 2015 06:32:23 +0000</pubDate>
			<guid>https://forum.script-coding.com/viewtopic.php?pid=97069#p97069</guid>
		</item>
	</channel>
</rss>
