<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[Серый форум &mdash; AHK: Чтение всплывающей подсказки (title)]]></title>
	<link rel="self" href="https://forum.script-coding.com/extern.php?action=feed&amp;tid=17446&amp;type=atom" />
	<updated>2022-10-31T13:43:36Z</updated>
	<generator>PunBB</generator>
	<id>https://forum.script-coding.com/viewtopic.php?id=17446</id>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Чтение всплывающей подсказки (title)]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=155499#p155499" />
			<content type="html"><![CDATA[<p><strong>teadrinker</strong><br />Да, именно то что мне необходимо. Спасибо!</p>]]></content>
			<author>
				<name><![CDATA[eric-cartmanez]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=38746</uri>
			</author>
			<updated>2022-10-31T13:43:36Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=155499#p155499</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Чтение всплывающей подсказки (title)]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=155498#p155498" />
			<content type="html"><![CDATA[<p>Попробуйте так:<br /></p><div class="codebox"><pre><code>F11::
   if !AccObj := AccObjectFromPoint(child)
      throw &quot;Failed to get accessible object from point&quot;
   MsgBox, % AccObj.accHelp(child)
   Return
   
AccObjectFromPoint(ByRef _idChild_ = &quot;&quot;, x = &quot;&quot;, y = &quot;&quot;) {
   static VT_DISPATCH := 9, F_OWNVALUE := 1, h := DllCall(&quot;LoadLibrary&quot;, &quot;Str&quot;, &quot;oleacc&quot;, &quot;Ptr&quot;)
   
   AccObject := 0
   (x = &quot;&quot; || y = &quot;&quot;) ? DllCall(&quot;GetCursorPos&quot;, &quot;Int64P&quot;, pt) : pt := x &amp; 0xFFFFFFFF | y &lt;&lt; 32
   VarSetCapacity(varChild, 8 + 2*A_PtrSize, 0)
   if	DllCall(&quot;oleacc\AccessibleObjectFromPoint&quot;, &quot;Int64&quot;, pt, &quot;PtrP&quot;, pAcc, &quot;Ptr&quot;, &amp;varChild) = 0
      _idChild_ := NumGet(varChild, 8, &quot;UInt&quot;), AccObject := ComObject(VT_DISPATCH, pAcc, F_OWNVALUE)
   Return AccObject
}</code></pre></div>]]></content>
			<author>
				<name><![CDATA[teadrinker]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=24515</uri>
			</author>
			<updated>2022-10-31T13:29:59Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=155498#p155498</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[AHK: Чтение всплывающей подсказки (title)]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=155494#p155494" />
			<content type="html"><![CDATA[<p>При наведении курсора мыши на какой-нибудь элемент, под курсором всплывает подсказка. Как с помощью AHK прочитать и сохранить в переменную эту подсказку? С помощью AhkSpy эту информацию можно получить, но я не смог разобраться как она там вычитывается.<br /><a href="https://ibb.co/3dNfXhy"><span class="postimg"><img src="https://i.ibb.co/Gp2swPv/image.png" alt="https://i.ibb.co/Gp2swPv/image.png" /></span></a></p>]]></content>
			<author>
				<name><![CDATA[eric-cartmanez]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=38746</uri>
			</author>
			<updated>2022-10-31T12:30:38Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=155494#p155494</id>
		</entry>
</feed>
