<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[Серый форум &mdash; AHK: Вывод на ListBox]]></title>
		<link>https://forum.script-coding.com/viewtopic.php?id=12998</link>
		<atom:link href="https://forum.script-coding.com/extern.php?action=feed&amp;tid=12998&amp;type=rss" rel="self" type="application/rss+xml" />
		<description><![CDATA[Недавние сообщения в теме «AHK: Вывод на ListBox».]]></description>
		<lastBuildDate>Wed, 13 Sep 2017 14:18:16 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[AHK: Вывод на ListBox]]></title>
			<link>https://forum.script-coding.com/viewtopic.php?pid=119317#p119317</link>
			<description><![CDATA[<p>Вот пример скрипта:<br /></p><div class="codebox"><pre><code>global ini := &quot;IniFile.ini&quot;
ifExist, %ini%
    goto true
else
    goto false
false:
IniWrite, Key, %ini%, Hotkey, Key1
goto true
true:
IniRead, Dm1, %ini%, Hotkey, Key1
Gui, Font, S25 CDefault, Verdana
Gui, Add, ListBox, x2 y0 w420 h650 , Вывод:
Gui, Add, Button, x462 y250 w240 h40 gSave1, Button
Gui, Add, Hotkey, x462 y200 w240 h50 vKey1 , %Dm1%
Gui, Show, w738 h645, Пробник
Gui, Submit, NoHide
Hotkey, %Key1%, MyKey1, On, UseErrorLevel
return
MyKey1:
Suspend
return
Save1:
Gui, submit, NoHide
IniWrite,  %Key1%, %ini%, Hotkey, Key1
Reload
return
</code></pre></div><p>Как мне сделать так что бы при нажатии установленной клавиши в хоткее в сам Listbox выводилось сообщение, например:<br />&quot;Вы нажали назначенную клавишу&quot;<br />И если возможно можно сделать отдельное окно в котором будут выводиться фразы привязанные к каким либо действиям, например<br />Скрипт на 10 нажатий лкм за 1 клин на NumPad1<br />Я нажимаю NumPud1 <br />В окне-<br />&nbsp; &nbsp; &nbsp; Вывод:<br />&nbsp; &nbsp; &nbsp; &nbsp; Вы запустили скрипт<br />&nbsp; &nbsp; &nbsp; &nbsp; Было совершено 10 нажатий<br />&nbsp; &nbsp; &nbsp; &nbsp; Процесс окончен.</p>]]></description>
			<author><![CDATA[null@example.com (aktor311)]]></author>
			<pubDate>Wed, 13 Sep 2017 14:18:16 +0000</pubDate>
			<guid>https://forum.script-coding.com/viewtopic.php?pid=119317#p119317</guid>
		</item>
	</channel>
</rss>
