<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[Серый форум &mdash; AHK: Синтаксис: GuiControlGet и ahk_id]]></title>
	<link rel="self" href="https://forum.script-coding.com/extern.php?action=feed&amp;tid=8323&amp;type=atom" />
	<updated>2013-05-20T10:09:01Z</updated>
	<generator>PunBB</generator>
	<id>https://forum.script-coding.com/viewtopic.php?id=8323</id>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Синтаксис: GuiControlGet и ahk_id]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=72278#p72278" />
			<content type="html"><![CDATA[<p>К месту, к месту. Это был, просто, &quot;приведенный&quot; кусок кода, чтоб не выкладывать большой скрипт.</p><p>И, большое спасибо за помощь. <strong>creature.ws</strong>, вы как всегда на высоте.</p>]]></content>
			<author>
				<name><![CDATA[Mikki]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=5905</uri>
			</author>
			<updated>2013-05-20T10:09:01Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=72278#p72278</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Синтаксис: GuiControlGet и ahk_id]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=72277#p72277" />
			<content type="html"><![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>]]></content>
			<author>
				<name><![CDATA[creature.ws]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=26105</uri>
			</author>
			<updated>2013-05-20T09:00:12Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=72277#p72277</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[AHK: Синтаксис: GuiControlGet и ahk_id]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=72275#p72275" />
			<content type="html"><![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>]]></content>
			<author>
				<name><![CDATA[Mikki]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=5905</uri>
			</author>
			<updated>2013-05-20T08:06:26Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=72275#p72275</id>
		</entry>
</feed>
