<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[Серый форум &mdash; AHK: Как пользоваться Edit]]></title>
	<link rel="self" href="https://forum.script-coding.com/extern.php?action=feed&amp;tid=9036&amp;type=atom" />
	<updated>2014-01-25T19:10:23Z</updated>
	<generator>PunBB</generator>
	<id>https://forum.script-coding.com/viewtopic.php?id=9036</id>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Как пользоваться Edit]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=79468#p79468" />
			<content type="html"><![CDATA[<p>Если вы используете просто Edit, то:<br /></p><div class="codebox"><pre><code>Gui, Add, Text, vString
Gui, Add, Edit, vMyEdit
Gui, Add, Button, gReloadText, YOUR TEXT
Gui, Show
Return

ReloadText:
GuiControlGet, MyEdit
GuiControl, , String, %MyEdit%
return</code></pre></div><p>Если вы используете, допустим, HOT-KEY-поле, то [ИСПОЛЬЗУЮ ИЗ СВОЕЙ РАЗРАБОТКИ]:<br /></p><div class="codebox"><pre><code>
SETTING:
Gui, Destroy
Gui, Add, Hotkey, x6 y25 w60 h20 vHKey, 
Gui, Add, Text, x6 y5 w280 h20 , » НАСТРОЙКА УБИВАТОРА ПРОГРАММЫ:
Gui, Add, Text, x76 y25 w560 h20 , - ГОРЯЧАЯ КЛАВИША
Gui, Add, Text, x126 y145 w560 h340 , МЕНЮ В РАЗРАБОТКЕ!
Gui, Add, Button, x6 y125 w100 h20 , IN MENU
Gui, Add, Text, x116 y125 w160 h20 , - ВЫЙТИ В МЕНЮ
Gui, Add, Text, x6 y105 w190 h20 , » ДОПОЛНИТЕЛЬНО:
Gui, Add, Text, x6 y55 w170 h20 , УСТАНОВЛЕННАЯ КЛАВИША -
Gui, Add, Text, x170 y55 w180 h20 vTEXT, 
Gui, Add, Button, x6 y75 w100 h20 gACCEPT, ПРИМЕНИТЬ
Gui, Add, Text, x116 y75 w270 h20 , - SET SETTING&#039;S
Gui, Show, x425 y308 h166 w252, CHEATER-BOT by Ic0n - SETTING&#039;S
Gui, Submit, NoHide
Return

Hotkey, %HKey%, Hotkey, UseErrorLevel
PrevKey := HKey
return

ACCEPT:
Gui, Submit, NoHide
    Hotkey, % PrevKey , Hotkey, Off UseErrorLevel
    Hotkey, % HKey , Hotkey, On UseErrorLevel
    if !ErrorLevel
        PrevKey%n% := HKey
GuiControlGet, Hkey
GuiControl, , TEXT, %Hkey%
return

Hotkey:
ExitApp</code></pre></div><p>Думаю, помог, удачи!</p>]]></content>
			<author>
				<name><![CDATA[Ic0n]]></name>
			</author>
			<updated>2014-01-25T19:10:23Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=79468#p79468</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Как пользоваться Edit]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=78315#p78315" />
			<content type="html"><![CDATA[<p>Почему плох, просто при использовании этого метода получают значения все ассоциированные переменные, что иногда избыточно.</p>]]></content>
			<author>
				<name><![CDATA[teadrinker]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=24515</uri>
			</author>
			<updated>2013-12-20T13:24:26Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=78315#p78315</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Как пользоваться Edit]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=78314#p78314" />
			<content type="html"><![CDATA[<p>А чем вариант с <strong>Submit</strong> плох?<br /></p><div class="codebox"><pre><code>; &lt;...&gt;
Go:
Gui, Submit, NoHide
MsgBox, %Count%
Return</code></pre></div>]]></content>
			<author>
				<name><![CDATA[Irbis]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=27384</uri>
			</author>
			<updated>2013-12-20T13:04:19Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=78314#p78314</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Как пользоваться Edit]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=78305#p78305" />
			<content type="html"><![CDATA[<p>Возможно, имеет смысл обратить внимание на мой предыдущий пост.</p>]]></content>
			<author>
				<name><![CDATA[teadrinker]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=24515</uri>
			</author>
			<updated>2013-12-20T11:36:16Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=78305#p78305</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Как пользоваться Edit]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=78304#p78304" />
			<content type="html"><![CDATA[<p>Я пробовал так:<br /></p><div class="codebox"><pre><code>Gui, Add, Button, x12 y150 w110 h40 gGo, ПЩ!!
Gui, Add, Edit, Limit4 Number vCount, 
Gui, Show, h500 w500, Окно
Return

Go:
MsgBox, %Count%
Return</code></pre></div><p>Но ничего не получается. Пожалуйста дайте пример правильного кода.</p>]]></content>
			<author>
				<name><![CDATA[Captain_SERG]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=31229</uri>
			</author>
			<updated>2013-12-20T11:22:44Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=78304#p78304</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Как пользоваться Edit]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=78301#p78301" />
			<content type="html"><![CDATA[<p><a href="http://www.autohotkey.com/docs/commands/GuiControlGet.htm">GuiControlGet</a></p>]]></content>
			<author>
				<name><![CDATA[teadrinker]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=24515</uri>
			</author>
			<updated>2013-12-20T10:39:14Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=78301#p78301</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Как пользоваться Edit]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=78300#p78300" />
			<content type="html"><![CDATA[<p>Помогите пожалуйста, не могу разобраться как данные из поля Edit перевести в переменную</p>]]></content>
			<author>
				<name><![CDATA[Captain_SERG]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=31229</uri>
			</author>
			<updated>2013-12-20T10:15:11Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=78300#p78300</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Как пользоваться Edit]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=78218#p78218" />
			<content type="html"><![CDATA[<p><span style="color: #008800"><strong>Captain_SERG</strong>, ознакомьтесь с <a href="http://forum.script-coding.com/viewtopic.php?pid=44437#p44437">этой</a> темой, отредактируйте заголовок.</span></p>]]></content>
			<author>
				<name><![CDATA[teadrinker]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=24515</uri>
			</author>
			<updated>2013-12-17T11:37:17Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=78218#p78218</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[AHK: Как пользоваться Edit]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=78216#p78216" />
			<content type="html"><![CDATA[<p>Мне, к примеру, надо вывести на MsgBox текст который я ввел в Edit через GUI. Как мне это сделать?<br />Я пытался разобраться самостоятельно, но ничего не получилось. Я безнадежен <img src="//forum.script-coding.com/img/smilies/smile.png" width="15" height="15" /></p>]]></content>
			<author>
				<name><![CDATA[Captain_SERG]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=31229</uri>
			</author>
			<updated>2013-12-17T11:31:14Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=78216#p78216</id>
		</entry>
</feed>
