<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[Серый форум &mdash; AHK: Acc_ObjectFromPoint без наведения мыши в скрытом окне.]]></title>
	<link rel="self" href="http://forum.script-coding.com/extern.php?action=feed&amp;tid=12053&amp;type=atom" />
	<updated>2017-05-17T10:29:07Z</updated>
	<generator>PunBB</generator>
	<id>http://forum.script-coding.com/viewtopic.php?id=12053</id>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Acc_ObjectFromPoint без наведения мыши в скрытом окне.]]></title>
			<link rel="alternate" href="http://forum.script-coding.com/viewtopic.php?pid=115909#p115909" />
			<content type="html"><![CDATA[<p>Почитал ещё раз. Мутная штука вообще, а с&nbsp; ByRef, так особенно. Я формировал специальные составные переменные, если мне нужно было вывести больше одной переменной.</p>]]></content>
			<author>
				<name><![CDATA[Kurskador]]></name>
				<uri>http://forum.script-coding.com/profile.php?id=33207</uri>
			</author>
			<updated>2017-05-17T10:29:07Z</updated>
			<id>http://forum.script-coding.com/viewtopic.php?pid=115909#p115909</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Acc_ObjectFromPoint без наведения мыши в скрытом окне.]]></title>
			<link rel="alternate" href="http://forum.script-coding.com/viewtopic.php?pid=115907#p115907" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>Kurskador пишет:</cite><blockquote><p>но как-то не думал, что туда можно впереть ещё и знаки присвоения, и кавычки. Тем более там ещё какой-то ByRef</p></blockquote></div><div class="quotebox"><cite>Kurskador пишет:</cite><blockquote><p>С хелпом по функциям я как бы знаком</p></blockquote></div><p>Чувствуется, что знакомы не до конца. <img src="//forum.script-coding.com/img/smilies/wink.png" width="15" height="15" /></p>]]></content>
			<author>
				<name><![CDATA[teadrinker]]></name>
				<uri>http://forum.script-coding.com/profile.php?id=24515</uri>
			</author>
			<updated>2017-05-17T10:06:34Z</updated>
			<id>http://forum.script-coding.com/viewtopic.php?pid=115907#p115907</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Acc_ObjectFromPoint без наведения мыши в скрытом окне.]]></title>
			<link rel="alternate" href="http://forum.script-coding.com/viewtopic.php?pid=115906#p115906" />
			<content type="html"><![CDATA[<p>С хелпом по функциям я как бы знаком. Уж точно лучше, чем с устройством смартфона, которым пользуюсь каждый день.<br />Функциями тоже пользуюсь каждый день.<br /> Но я вот так делаю:<br /></p><div class="codebox"><pre><code>
var1 := 10
var2 := 20

MsgBox, % Summa(var1,var2)
Return

Summa(aaa,bbb)
	{
	sm := aaa * bbb
	Return, sm
	}</code></pre></div><p>Я как бы понимал, что в самой функции можно аргументы подставить в виде любых asdfghj, но как-то не думал, что туда можно впереть ещё и знаки присвоения, и кавычки. Тем более там ещё какой-то ByRef с чилдом с подчёркиваниями и др. Поэтому не воспринимал&nbsp; Acc_ObjectFromPoint(ByRef _idChild_ = &quot;&quot;, x = &quot;&quot;, y = &quot;&quot;) как обычную функцию. Ведь совершенно не ясно где что, и что откуда берётся. </p><p>Но спасибо за подсказку, она хоть и выставляет меня дебилом, но помогла. Если понять, что это просто обычная функция, то найти нужный вариант можно. Теперь я понимаю, что такая форма написания призвана объяснить что куда нужно писать, но именно она меня и сбила.</p>]]></content>
			<author>
				<name><![CDATA[Kurskador]]></name>
				<uri>http://forum.script-coding.com/profile.php?id=33207</uri>
			</author>
			<updated>2017-05-17T09:42:24Z</updated>
			<id>http://forum.script-coding.com/viewtopic.php?pid=115906#p115906</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Acc_ObjectFromPoint без наведения мыши в скрытом окне.]]></title>
			<link rel="alternate" href="http://forum.script-coding.com/viewtopic.php?pid=115903#p115903" />
			<content type="html"><![CDATA[<p><strong>Kurskador</strong>, вам не отвечают по причине несуразности ситуации, когда человек собирается работать с IAccessible интерфейсом, но при этом не знаком даже с простым синтаксисом вызова функции. Между тем, для ответа на ваши вопросы достаточно открыть хэлп (даже переводной) на странице &quot;Функции&quot;.</p>]]></content>
			<author>
				<name><![CDATA[teadrinker]]></name>
				<uri>http://forum.script-coding.com/profile.php?id=24515</uri>
			</author>
			<updated>2017-05-16T21:26:53Z</updated>
			<id>http://forum.script-coding.com/viewtopic.php?pid=115903#p115903</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Acc_ObjectFromPoint без наведения мыши в скрытом окне.]]></title>
			<link rel="alternate" href="http://forum.script-coding.com/viewtopic.php?pid=115899#p115899" />
			<content type="html"><![CDATA[<p>Мне достаточно понять как подставлять координаты нужного элемента в Acc_ObjectFromPoint. Не цифрами, а через переменную меняющую значение. <br /> Например<br /> </p><div class="codebox"><pre><code>Acc_ObjectFromPoint(ByRef _idChild_ = &quot;&quot;, x = &quot;var1&quot;, y = &quot;var2&quot;)</code></pre></div><p>Устроит и для активного окна.</p>]]></content>
			<author>
				<name><![CDATA[Kurskador]]></name>
				<uri>http://forum.script-coding.com/profile.php?id=33207</uri>
			</author>
			<updated>2017-05-16T18:20:01Z</updated>
			<id>http://forum.script-coding.com/viewtopic.php?pid=115899#p115899</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Acc_ObjectFromPoint без наведения мыши в скрытом окне.]]></title>
			<link rel="alternate" href="http://forum.script-coding.com/viewtopic.php?pid=108135#p108135" />
			<content type="html"><![CDATA[<p>Но код: </p><div class="codebox"><pre><code>Acc := Acc_ObjectFromPoint(child, -12, 65)</code></pre></div><p> Не работает.</p>]]></content>
			<author>
				<name><![CDATA[OmTatSat]]></name>
				<uri>http://forum.script-coding.com/profile.php?id=33453</uri>
			</author>
			<updated>2016-10-01T07:44:11Z</updated>
			<id>http://forum.script-coding.com/viewtopic.php?pid=108135#p108135</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Acc_ObjectFromPoint без наведения мыши в скрытом окне.]]></title>
			<link rel="alternate" href="http://forum.script-coding.com/viewtopic.php?pid=108134#p108134" />
			<content type="html"><![CDATA[<div class="codebox"><pre><code>Acc_ObjectFromPoint(ByRef _idChild_ = &quot;&quot;, x = &quot;&quot;, y = &quot;&quot;)
{
	Acc_Init()
	If	DllCall(&quot;oleacc\AccessibleObjectFromPoint&quot;, &quot;Int64&quot;, x==&quot;&quot;||y==&quot;&quot;?0*DllCall(&quot;GetCursorPos&quot;,&quot;Int64*&quot;,pt)+pt:x&amp;0xFFFFFFFF|y&lt;&lt;32, &quot;Ptr*&quot;, pacc, &quot;Ptr&quot;, VarSetCapacity(varChild,8+2*A_PtrSize,0)*0+&amp;varChild)=0
	Return	ComObjEnwrap(9,pacc,1), _idChild_:=NumGet(varChild,8,&quot;UInt&quot;)
}</code></pre></div><p>Может если не сворачивать окно а просто затащить за экран, можно будет как-то вытащить текст? Только как задать вручную координаты Х,У? Вроде так Acc := Acc_ObjectFromPoint(child, 55, 56)</p>]]></content>
			<author>
				<name><![CDATA[OmTatSat]]></name>
				<uri>http://forum.script-coding.com/profile.php?id=33453</uri>
			</author>
			<updated>2016-10-01T07:25:44Z</updated>
			<id>http://forum.script-coding.com/viewtopic.php?pid=108134#p108134</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Acc_ObjectFromPoint без наведения мыши в скрытом окне.]]></title>
			<link rel="alternate" href="http://forum.script-coding.com/viewtopic.php?pid=108133#p108133" />
			<content type="html"><![CDATA[<p>Нужно достать текст 01:56.<br />Cкрины AHK Spy:<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://images.vfl.ru/ii/1475301612/b0a38e4d/14330477.jpg" alt="http://images.vfl.ru/ii/1475301612/b0a38e4d/14330477.jpg" /></span> <span class="postimg"><img src="http://images.vfl.ru/ii/1475301612/86b7090a/14330478.jpg" alt="http://images.vfl.ru/ii/1475301612/86b7090a/14330478.jpg" /></span></p></div></div>]]></content>
			<author>
				<name><![CDATA[OmTatSat]]></name>
				<uri>http://forum.script-coding.com/profile.php?id=33453</uri>
			</author>
			<updated>2016-10-01T06:03:07Z</updated>
			<id>http://forum.script-coding.com/viewtopic.php?pid=108133#p108133</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[AHK: Acc_ObjectFromPoint без наведения мыши в скрытом окне.]]></title>
			<link rel="alternate" href="http://forum.script-coding.com/viewtopic.php?pid=108132#p108132" />
			<content type="html"><![CDATA[<p>Здравствуйте, есть окно с текстом который доступен только при использовании , возможно ли получить к нему доступ без реального наведения мыши в скрытом окне?</p>]]></content>
			<author>
				<name><![CDATA[OmTatSat]]></name>
				<uri>http://forum.script-coding.com/profile.php?id=33453</uri>
			</author>
			<updated>2016-10-01T05:30:11Z</updated>
			<id>http://forum.script-coding.com/viewtopic.php?pid=108132#p108132</id>
		</entry>
</feed>
