<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[Серый форум &mdash; AHK: Синтаксис: GuiControlGet и ahk_id]]></title>
		<link>https://forum.script-coding.com/viewtopic.php?id=8323</link>
		<atom:link href="https://forum.script-coding.com/extern.php?action=feed&amp;tid=8323&amp;type=rss" rel="self" type="application/rss+xml" />
		<description><![CDATA[Недавние сообщения в теме «AHK: Синтаксис: GuiControlGet и ahk_id».]]></description>
		<lastBuildDate>Mon, 20 May 2013 10:09:01 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: AHK: Синтаксис: GuiControlGet и ahk_id]]></title>
			<link>https://forum.script-coding.com/viewtopic.php?pid=72278#p72278</link>
			<description><![CDATA[<p>К месту, к месту. Это был, просто, &quot;приведенный&quot; кусок кода, чтоб не выкладывать большой скрипт.</p><p>И, большое спасибо за помощь. <strong>creature.ws</strong>, вы как всегда на высоте.</p>]]></description>
			<author><![CDATA[null@example.com (Mikki)]]></author>
			<pubDate>Mon, 20 May 2013 10:09:01 +0000</pubDate>
			<guid>https://forum.script-coding.com/viewtopic.php?pid=72278#p72278</guid>
		</item>
		<item>
			<title><![CDATA[Re: AHK: Синтаксис: GuiControlGet и ahk_id]]></title>
			<link>https://forum.script-coding.com/viewtopic.php?pid=72277#p72277</link>
			<description><![CDATA[<div class="codebox"><pre><code>#Persistent
#NoEnv
#Singleinstance force

Gui Margin, 40, 20
Gui, Add, Button, vBB gGB hwndHB, MMM
Gui, Show
Return

GB:
    ControlGetPos, Key5, Key6, Key7, Key8, , % &quot;ahk_id&quot; HB ;, % &quot;ahk_id&quot;Key3
    ControlGetText, BtextC, , % &quot;ahk_id&quot; HB
    GuiControlGet, Btext, , % HB
    MsgBox, % Key1 &quot; &quot; Key2 &quot; &quot; Key3 &quot; &quot; Key4 &quot; &quot; Key5 &quot; &quot; Key6 &quot; &quot; Key7 &quot; &quot; Key8 &quot; &quot; BText
    MsgBox, % BtextC &quot;}   {&quot; BText
REturn</code></pre></div><p>Если используется hwndHB, то MouseGetPos, мягко говоря, не к месту.</p>]]></description>
			<author><![CDATA[null@example.com (creature.ws)]]></author>
			<pubDate>Mon, 20 May 2013 09:00:12 +0000</pubDate>
			<guid>https://forum.script-coding.com/viewtopic.php?pid=72277#p72277</guid>
		</item>
		<item>
			<title><![CDATA[AHK: Синтаксис: GuiControlGet и ahk_id]]></title>
			<link>https://forum.script-coding.com/viewtopic.php?pid=72275#p72275</link>
			<description><![CDATA[<p>Добрый день.<br />Пытаюсь получить текст контрала (кнопки) в созданном мною окне через его hwnd и столкнулся с ситуацией, когда через <strong>ControlGetText</strong> работает, а через <strong>GuiControlGet</strong> - нет.&nbsp; Поправте мой код пожалуйста. (через присвоенную переменную не надо)<br /></p><div class="codebox"><pre><code>#Persistent
#NoEnv
#Singleinstance force

Gui, Add, Button, vBB gGB hwndHB, MMM
Gui, Show
Return

GB:
    MouseGetPos, Key1, Key2, Key3, Key4, 2
    ControlGetPos, Key5, Key6, Key7, Key8, , % &quot;ahk_id&quot;Key4 ;, % &quot;ahk_id&quot;Key3
    ControlGetText, BtextC, , % &quot;ahk_id&quot;Key4
    GuiControlGet, Btext, , % &quot;ahk_id&quot;Key4
    ;MsgBox, % Key1 &quot; &quot; Key2 &quot; &quot; Key3 &quot; &quot; Key4 &quot; &quot; Key5 &quot; &quot; Key6 &quot; &quot; Key7 &quot; &quot; Key8 &quot; &quot; BText
    MsgBox, % BtextC &quot;}   {&quot; BText
REturn
</code></pre></div>]]></description>
			<author><![CDATA[null@example.com (Mikki)]]></author>
			<pubDate>Mon, 20 May 2013 08:06:26 +0000</pubDate>
			<guid>https://forum.script-coding.com/viewtopic.php?pid=72275#p72275</guid>
		</item>
	</channel>
</rss>
