<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[Серый форум &mdash; AHK: Настраиваемый макро менеджер]]></title>
		<link>http://forum.script-coding.com/viewtopic.php?id=11064</link>
		<atom:link href="http://forum.script-coding.com/extern.php?action=feed&amp;tid=11064&amp;type=rss" rel="self" type="application/rss+xml" />
		<description><![CDATA[Недавние сообщения в теме «AHK: Настраиваемый макро менеджер».]]></description>
		<lastBuildDate>Mon, 21 Dec 2015 12:02:11 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: AHK: Настраиваемый макро менеджер]]></title>
			<link>http://forum.script-coding.com/viewtopic.php?pid=99839#p99839</link>
			<description><![CDATA[<p>Этот код лишний:<br /></p><div class="codebox"><pre><code>HKLabel := !HKLabel</code></pre></div><p>Переключение происходит в переменной LoopON:<br /><a href="http://www.script-coding.com/AutoHotkey/GUIControls.html#checkbox">Checkbox</a><br /></p><div class="fancy_spoiler_switcher"><div class="fancy_spoiler_switcher_header" data-lang-open="открыть спойлер" data-lang-close="скрыть спойлер"><strong>+</strong>&nbsp;открыть спойлер</div><div class="fancy_spoiler"><p><em>Если флажок установлен, то выходной переменной, ассоциированной с флажком (если таковая переменная существует), будет присвоено число 1, если снят - 0, а если элемент управления не определен/серый – число -1.</em></p></div></div><div class="quotebox"><blockquote><p>Gui, Add, Checkbox, gLoopON <strong>vLoopON</strong>, Loop</p></blockquote></div><p>Сейчас я немного занят...</p>]]></description>
			<author><![CDATA[null@example.com (Alectric)]]></author>
			<pubDate>Mon, 21 Dec 2015 12:02:11 +0000</pubDate>
			<guid>http://forum.script-coding.com/viewtopic.php?pid=99839#p99839</guid>
		</item>
		<item>
			<title><![CDATA[Re: AHK: Настраиваемый макро менеджер]]></title>
			<link>http://forum.script-coding.com/viewtopic.php?pid=99825#p99825</link>
			<description><![CDATA[<p>Вообще вот так работает только не отключается цикл. Помогите не пойму в чём проблема. Нужно что бы с галочкой &quot;Checkbox&quot; (1 раз нажал на &quot;Клавишу управления&quot; цикл запустился, 2 раз&nbsp; нажал цикл остановился). Без галочки &quot;Checkbox&quot; держишь &quot;Клавишу управления&quot; работает , отпустил не работает.<br /></p><div class="codebox"><pre><code>
#NoEnv
#UseHook
#HotkeyInterval 1
#MaxHotkeysPerInterval 999
#MaxThreadsPerHotkey 2
#SingleInstance Force  
OnExit(&quot;GuiClose&quot;)
Hotkey_Arr(&quot;OnlyEngSym&quot;, True)
Menu, Menu, Add, Удалить, Delete 
Menu, Menu, Add, Удалить Всё, Delete_All

Gui, -DPIScale
Gui,Font, s10 Bold, Cambria
Gui, Add, Text, cBlue ,Клавиша управления:
Gui, Add, Edit, w100 cRed vKY  hwndh2 , % Hotkey_Set(&quot;B2&quot;)
Gui, Add, Text, cBlue ,Нажмите клавишу :
Gui, Add, Edit, w100 cRed  vKl gkeys hwndh1, % Hotkey_Set(&quot;B1&quot;)
Gui, Add, Text, cBlue ,Задержка милесекундах :
Gui, Add, Edit,  w100 cRed  vSleep , 65 
Gui, Add, Button, x130 y137 w70 h20 hwndh4 gSleepr, Добавить
Gui, Add, Button,x20 y170 w100 h20 gOpen, открыть
Gui, Add, Button, x20 y200 w100 h20 gSaves, сохранить
Gui, Add, Button, x20 y230 w100 h20 gwrite, Записать
Gui, Add, Checkbox,  gLoopON vLoopON, Loop
Gui, Add, Listview, x300 y100 w490 h480 cBlue AltSubmit gListview NoSortHdr -Multi,Действие|Значение
GuiControl, Focus, Sleep 
Hotkey_Register([&quot;B1&quot;,h1,&quot;KMLRJS&quot;], [&quot;B2&quot;,h2,&quot;KMLRJS&quot;])
Gui, Show 
Return



Listview:
	if A_GuiEvent=RightClick
	{
		if selected:=A_EventInfo
			menu,menu,show
	}
	else if A_GuiEvent=D
	{
		mousegetpos,,MenuY
		keywait,lbutton,L
		mousegetpos,,MenuYY
		LV_GetText(tmp_action,A_EventInfo,1)
		LV_GetText(tmp_value,A_EventInfo,2)
		LV_GetText(tmp_vk,A_EventInfo,3)
		if (MenuY&gt;MenuYY and A_EventInfo&gt;1)
		RowNumb:=A_EventInfo-1
		else if (A_EventInfo&lt;LV_GetCount())
		RowNumb:=A_EventInfo+1
		LV_GetText(tmp2_action,RowNumb,1)
		LV_GetText(tmp2_value,RowNumb,2)
		LV_GetText(tmp2_vk,RowNumb,3)
		LV_Modify(A_EventInfo,,tmp2_action,tmp2_value,tmp2_vk)
		LV_Modify(RowNumb,,tmp_action,tmp_value,tmp_vk)
	}
	return
	
Delete:
	LV_Delete(selected)
	return
	
Delete_All:
	LV_Delete()
	return
	
~vk79::
	Suspend, Off
	ExitApp 
return

Saves:
	Gui Submit, NoHide
	FileSelectFile, SelectedFile, S24, , Сохранить макрос, *.ini
	if !instr(SelectedFile,&quot;.ini&quot;)
		SelectedFile.=&quot;.ini&quot;
	IniWrite, %KY%, %SelectedFile%,KY,KY
	IniWrite, % LV_GetCount(), %SelectedFile%,KY,count
	Loop % LV_GetCount()
	{
		LV_GetText(action,A_Index,1)
		LV_GetText(value,A_Index,2)
		LV_GetText(vk,A_Index,3)
		IniWrite, %action%, %SelectedFile%,data,action%A_Index%
		IniWrite, %value%, %SelectedFile%,data,value%A_Index%
		IniWrite, %vk%, %SelectedFile%,data,vk%A_Index%
	} 
	Return

Open:
	Gui Submit, NoHide
	FileSelectFile, SelectedFile, 24, , Загрузить макрос, *.ini
	if ErrorLevel
	  return
	LV_Delete()
	IniRead,KY,%SelectedFile%,KY,KY
	Control,ChooseString,% KY,Edit1
	IniRead,count,%SelectedFile%,KY,count
	loop,% count
	{


		IniRead,action,%SelectedFile%,data,action%A_Index%
		IniRead,value,%SelectedFile%,data,value%A_Index%
		IniRead,vk,%SelectedFile%,data,vk%A_Index%
		if (action=&quot;Задержка&quot;)
			LV_Add(,&quot;Задержка&quot;,value)
		else if (action=&quot;Нажатие&quot;)
			LV_Add(,&quot;Нажатие&quot;,value,vk)
		else if (action=&quot;Отпускание&quot;)
			LV_Add(,&quot;Отпускание&quot;,value,vk)
	}
	GuiControl,, KY, % KY

         
	Return

keys:
	Gui Submit, NoHide
	LV_Add(,&quot;Нажатие&quot;,Kl)
	LV_Add(,&quot;Задержка&quot;,Sleep)
	LV_Add(,&quot;Отпускание&quot;,Kl)
	LV_Add(,&quot;Задержка&quot;,Sleep)
	Return

Sleepr:
	Gui Submit, NoHide
	LV_Add(,&quot;Задержка&quot;,Sleep)
	Return

write:
Gui Submit, NoHide

act:=LV_GetCount()
	Loop % LV_GetCount()
	{
		LV_GetText(action,A_Index,1)
		LV_GetText(value,A_Index,2)
		LV_GetText(vk,A_Index,3)

		if (action=&quot;Задержка&quot;)
		{
			act%A_Index%:=&quot;sleep&quot;
			val%A_Index%:=value
		}
		else if (action=&quot;Нажатие&quot;)
		{
			act%A_Index%:=&quot;key&quot;
			val%A_Index%:=value &quot; down&quot;
		}
		else if (action=&quot;Отпускание&quot;)
		{
			act%A_Index%:=&quot;key&quot;
			val%A_Index%:=value &quot; up&quot;
		}
	} 

        Hotkey := Hotkey_Value(&quot;B2&quot;)
        Hotkey, % Hotkey, HKLabel, Off UseErrorLevel
	Hotkey, % Hotkey, HKLabel, On UseErrorLevel

        Return


LoopON:
	Gui Submit, NoHide
          HKLabel := !HKLabel
        Return


HKLabel:
       while (GetKeyState(Hotkey,&quot;P&quot;) if HKLabel) 
       {
          loop, % act 
          {
            if (act%A_Index%=&quot;sleep&quot;)
			sleep,% val%A_Index%
               else if (act%A_Index%=&quot;key&quot;)
			sendevent,% &quot;{&quot; val%A_Index% &quot;}&quot;
               }

             }
Return



GuiClose() {
	Hotkey_Exit()
	ExitApp
}

</code></pre></div>]]></description>
			<author><![CDATA[null@example.com (Ядрён)]]></author>
			<pubDate>Sun, 20 Dec 2015 23:21:27 +0000</pubDate>
			<guid>http://forum.script-coding.com/viewtopic.php?pid=99825#p99825</guid>
		</item>
		<item>
			<title><![CDATA[Re: AHK: Настраиваемый макро менеджер]]></title>
			<link>http://forum.script-coding.com/viewtopic.php?pid=99797#p99797</link>
			<description><![CDATA[<p><strong>Alectric</strong> Так как предложили вы не работает .</p>]]></description>
			<author><![CDATA[null@example.com (Ядрён)]]></author>
			<pubDate>Sun, 20 Dec 2015 13:08:59 +0000</pubDate>
			<guid>http://forum.script-coding.com/viewtopic.php?pid=99797#p99797</guid>
		</item>
		<item>
			<title><![CDATA[Re: AHK: Настраиваемый макро менеджер]]></title>
			<link>http://forum.script-coding.com/viewtopic.php?pid=99793#p99793</link>
			<description><![CDATA[<div class="codebox"><pre><code>Gui, Add, Checkbox, gLoopON vLoopON, Loop

LoopON:
	Gui Submit, NoHide
    Return

HKLabel:
	while (GetKeyState(Hotkey,&quot;P&quot;) and LoopON)
...
</code></pre></div>]]></description>
			<author><![CDATA[null@example.com (Alectric)]]></author>
			<pubDate>Sun, 20 Dec 2015 05:05:24 +0000</pubDate>
			<guid>http://forum.script-coding.com/viewtopic.php?pid=99793#p99793</guid>
		</item>
		<item>
			<title><![CDATA[Re: AHK: Настраиваемый макро менеджер]]></title>
			<link>http://forum.script-coding.com/viewtopic.php?pid=99790#p99790</link>
			<description><![CDATA[<p>Доброго времени суток. Подскажите пожалуйста как можно сделать зацикливание по метке &quot;Checkbox&quot;. Так как показано в коде не работает.</p><div class="codebox"><pre><code>
#NoEnv
#UseHook
#HotkeyInterval 1
#MaxHotkeysPerInterval 999
#SingleInstance Force  
OnExit(&quot;GuiClose&quot;)
Hotkey_Arr(&quot;OnlyEngSym&quot;, True)
Menu, Menu, Add, Удалить, Delete 
Menu, Menu, Add, Удалить Всё, Delete_All

Gui, -DPIScale
Gui,Font, s10 Bold, Cambria
Gui, Add, Text, cBlue ,Клавиша управления:
Gui, Add, Edit, w100 cRed vKY  hwndh2 , % Hotkey_Set(&quot;B2&quot;)
Gui, Add, Text, cBlue ,Нажмите клавишу :
Gui, Add, Edit, w100 cRed  vKl gkeys hwndh1, % Hotkey_Set(&quot;B1&quot;)
Gui, Add, Text, cBlue ,Задержка милесекундах :
Gui, Add, Edit,  w100 cRed  vSleep , 65 
Gui, Add, Button, x130 y137 w70 h20 hwndh4 gSleepr, Добавить
Gui, Add, Button,x20 y170 w100 h20 gOpen, открыть
Gui, Add, Button, x20 y200 w100 h20 gSaves, сохранить
Gui, Add, Button, x20 y230 w100 h20 gwrite, Записать
Gui, Add, Checkbox, gLoopON, Loop
Gui, Add, Listview, x300 y100 w490 h480 cBlue AltSubmit gListview NoSortHdr -Multi,Действие|Значение
GuiControl, Focus, Sleep 
Hotkey_Register([&quot;B1&quot;,h1,&quot;KMLRJS&quot;], [&quot;B2&quot;,h2,&quot;KMLRJS&quot;])
Gui, Show 
Return



Listview:
	if A_GuiEvent=RightClick
	{
		if selected:=A_EventInfo
			menu,menu,show
	}
	else if A_GuiEvent=D
	{
		mousegetpos,,MenuY
		keywait,lbutton,L
		mousegetpos,,MenuYY
		LV_GetText(tmp_action,A_EventInfo,1)
		LV_GetText(tmp_value,A_EventInfo,2)
		LV_GetText(tmp_vk,A_EventInfo,3)
		if (MenuY&gt;MenuYY and A_EventInfo&gt;1)
		RowNumb:=A_EventInfo-1
		else if (A_EventInfo&lt;LV_GetCount())
		RowNumb:=A_EventInfo+1
		LV_GetText(tmp2_action,RowNumb,1)
		LV_GetText(tmp2_value,RowNumb,2)
		LV_GetText(tmp2_vk,RowNumb,3)
		LV_Modify(A_EventInfo,,tmp2_action,tmp2_value,tmp2_vk)
		LV_Modify(RowNumb,,tmp_action,tmp_value,tmp_vk)
	}
	return
	
Delete:
	LV_Delete(selected)
	return
	
Delete_All:
	LV_Delete()
	return
	
~vk79::
	Suspend, Off
	ExitApp 
return

Saves:
	Gui Submit, NoHide
	FileSelectFile, SelectedFile, S24, , Сохранить макрос, *.ini
	if !instr(SelectedFile,&quot;.ini&quot;)
		SelectedFile.=&quot;.ini&quot;
	IniWrite, %KY%, %SelectedFile%,KY,KY
	IniWrite, % LV_GetCount(), %SelectedFile%,KY,count
	Loop % LV_GetCount()
	{
		LV_GetText(action,A_Index,1)
		LV_GetText(value,A_Index,2)
		LV_GetText(vk,A_Index,3)
		IniWrite, %action%, %SelectedFile%,data,action%A_Index%
		IniWrite, %value%, %SelectedFile%,data,value%A_Index%
		IniWrite, %vk%, %SelectedFile%,data,vk%A_Index%
	} 
	Return

Open:
	Gui Submit, NoHide
	FileSelectFile, SelectedFile, 24, , Загрузить макрос, *.ini
	if ErrorLevel
	  return
	LV_Delete()
	IniRead,KY,%SelectedFile%,KY,KY
	Control,ChooseString,% KY,Edit1
	IniRead,count,%SelectedFile%,KY,count
	loop,% count
	{


		IniRead,action,%SelectedFile%,data,action%A_Index%
		IniRead,value,%SelectedFile%,data,value%A_Index%
		IniRead,vk,%SelectedFile%,data,vk%A_Index%
		if (action=&quot;Задержка&quot;)
			LV_Add(,&quot;Задержка&quot;,value)
		else if (action=&quot;Нажатие&quot;)
			LV_Add(,&quot;Нажатие&quot;,value,vk)
		else if (action=&quot;Отпускание&quot;)
			LV_Add(,&quot;Отпускание&quot;,value,vk)
	}
	GuiControl,, KY, % KY

         
	Return

keys:
	Gui Submit, NoHide
	LV_Add(,&quot;Нажатие&quot;,Kl)
	LV_Add(,&quot;Задержка&quot;,Sleep)
	LV_Add(,&quot;Отпускание&quot;,Kl)
	LV_Add(,&quot;Задержка&quot;,Sleep)
	Return

Sleepr:
	Gui Submit, NoHide
	LV_Add(,&quot;Задержка&quot;,Sleep)
	Return

write:
act:=LV_GetCount()
	Loop % LV_GetCount()
	{
		LV_GetText(action,A_Index,1)
		LV_GetText(value,A_Index,2)
		LV_GetText(vk,A_Index,3)

		if (action=&quot;Задержка&quot;)
		{
			act%A_Index%:=&quot;sleep&quot;
			val%A_Index%:=value
		}
		else if (action=&quot;Нажатие&quot;)
		{
			act%A_Index%:=&quot;key&quot;
			val%A_Index%:=value &quot; down&quot;
		}
		else if (action=&quot;Отпускание&quot;)
		{
			act%A_Index%:=&quot;key&quot;
			val%A_Index%:=value &quot; up&quot;
		}
	} 

	HKLabel := Hotkey_Value(&quot;B2&quot;)
	Hotkey := Hotkey_Value(&quot;B2&quot;)
        Hotkey, % Hotkey, HKLabel, Off UseErrorLevel
	Hotkey, % Hotkey, HKLabel, On

        Return

LoopON:
LoopON := !LoopON

Return


HKLabel:


	while GetKeyState(Hotkey,&quot;P&quot;)

Loop
	{

if LoopON
break

               loop,% act
              {

	        if (act%A_Index%=&quot;sleep&quot;)
			sleep,% val%A_Index%
		else if (act%A_Index%=&quot;key&quot;)
			sendevent,% &quot;{&quot; val%A_Index% &quot;}&quot;
		}

             }
 

	Return

GuiClose() {
	Hotkey_Exit()
	ExitApp
}

</code></pre></div>]]></description>
			<author><![CDATA[null@example.com (Ядрён)]]></author>
			<pubDate>Sat, 19 Dec 2015 23:47:48 +0000</pubDate>
			<guid>http://forum.script-coding.com/viewtopic.php?pid=99790#p99790</guid>
		</item>
		<item>
			<title><![CDATA[Re: AHK: Настраиваемый макро менеджер]]></title>
			<link>http://forum.script-coding.com/viewtopic.php?pid=99657#p99657</link>
			<description><![CDATA[<p>Всё правильно <strong>serzh82saratov</strong> . Хотя это можно решить через костыль(&quot;ControlSend&quot;).</p>]]></description>
			<author><![CDATA[null@example.com (Ядрён)]]></author>
			<pubDate>Sat, 12 Dec 2015 22:41:23 +0000</pubDate>
			<guid>http://forum.script-coding.com/viewtopic.php?pid=99657#p99657</guid>
		</item>
		<item>
			<title><![CDATA[Re: AHK: Настраиваемый макро менеджер]]></title>
			<link>http://forum.script-coding.com/viewtopic.php?pid=99656#p99656</link>
			<description><![CDATA[<p>Доброго времени суток . Подскажите пожалуйста как можно модифицировать несколько&nbsp; клавиш . Что бы можно было изменять не одну клавшу а несколько.<br /></p><div class="codebox"><pre><code>
#NoEnv
#UseHook
#HotkeyInterval 1
#MaxHotkeysPerInterval 999
#SingleInstance Force  
OnExit(&quot;GuiClose&quot;)
Hotkey_Arr(&quot;OnlyEngSym&quot;, True)
Menu, Menu, Add, Удалить, Delete 
Menu, Menu, Add, Удалить Всё, Delete_All

Gui, -DPIScale
Gui,Font, s10 Bold, Cambria
Gui, Add, Text, cBlue ,Клавиша управления:
Gui, Add, Edit, w100 cRed vKY hwndh2, % Hotkey_Set(&quot;B2&quot;)
Gui, Add, Text, cBlue ,Нажмите клавишу :
Gui, Add, Edit, w100 cRed  vKl gkeys hwndh1, % Hotkey_Set(&quot;B1&quot;)
Gui, Add, Text, cBlue ,Задержка милесекундах :
Gui, Add, Edit,  w100 cRed  vSleep , 65 
Gui, Add, Button, x130 y137 w70 h20 hwndh4 gSleepr, Добавить
Gui, Add, Button,x20 y170 w100 h20 gOpen, открыть
Gui, Add, Button, x20 y200 w100 h20 gSaves, сохранить
Gui, Add, Button, x20 y230 w100 h20 gwrite, Записать
Gui, Add, Listview, x300 y100 w490 h480 cBlue AltSubmit gListview NoSortHdr -Multi,Действие|Значение|VK
GuiControl, Focus, Sleep 
Hotkey_Register([&quot;B1&quot;,h1,&quot;KMLRJS&quot;], [&quot;B2&quot;,h2,&quot;KMLRJS&quot;])
Gui, Show 
Return

Listview:
	if A_GuiEvent=RightClick
	{
		if selected:=A_EventInfo
			menu,menu,show
	}
	else if A_GuiEvent=D
	{
		mousegetpos,,MenuY
		keywait,lbutton,L
		mousegetpos,,MenuYY
		LV_GetText(tmp_action,A_EventInfo,1)
		LV_GetText(tmp_value,A_EventInfo,2)
		LV_GetText(tmp_vk,A_EventInfo,3)
		if (MenuY&gt;MenuYY and A_EventInfo&gt;1)
		RowNumb:=A_EventInfo-1
		else if (A_EventInfo&lt;LV_GetCount())
		RowNumb:=A_EventInfo+1
		LV_GetText(tmp2_action,RowNumb,1)
		LV_GetText(tmp2_value,RowNumb,2)
		LV_GetText(tmp2_vk,RowNumb,3)
		LV_Modify(A_EventInfo,,tmp2_action,tmp2_value,tmp2_vk)
		LV_Modify(RowNumb,,tmp_action,tmp_value,tmp_vk)
	}
	return
	
Delete:
	LV_Delete(selected)
	return
	
Delete_All:
	LV_Delete()
	return
	
~vk79::
	Suspend, Off
	ExitApp 
return

Saves:
	Gui Submit, NoHide
	FileSelectFile, SelectedFile, S24, , Сохранить макрос, *.ini
	if !instr(SelectedFile,&quot;.ini&quot;)
		SelectedFile.=&quot;.ini&quot;
	IniWrite, %KY%, %SelectedFile%,KY,KY
	IniWrite, % LV_GetCount(), %SelectedFile%,KY,count
	Loop % LV_GetCount()
	{
		LV_GetText(action,A_Index,1)
		LV_GetText(value,A_Index,2)
		LV_GetText(vk,A_Index,3)
		IniWrite, %action%, %SelectedFile%,data,action%A_Index%
		IniWrite, %value%, %SelectedFile%,data,value%A_Index%
		IniWrite, %vk%, %SelectedFile%,data,vk%A_Index%
	} 
	Return

Open:
	Gui Submit, NoHide
	FileSelectFile, SelectedFile, 24, , Загрузить макрос, *.ini
	if ErrorLevel
	  return
	LV_Delete()
	IniRead,KY,%SelectedFile%,KY,KY
	Control,ChooseString,% KY,Edit1
	IniRead,count,%SelectedFile%,KY,count
	loop,% count
	{
		IniRead,action,%SelectedFile%,data,action%A_Index%
		IniRead,value,%SelectedFile%,data,value%A_Index%
		IniRead,vk,%SelectedFile%,data,vk%A_Index%
		if (action=&quot;Задержка&quot;)
			LV_Add(,&quot;Задержка&quot;,value)
		else if (action=&quot;Нажатие&quot;)
			LV_Add(,&quot;Нажатие&quot;,value,vk)
		else if (action=&quot;Отпускание&quot;)
			LV_Add(,&quot;Отпускание&quot;,value,vk)
	}
	GuiControl,, KY, % KY
	Return

keys:
	Gui Submit, NoHide
	Vitkode := Format(&quot;{:#x}&quot;, GetKeyVK(Kl))
	LV_Add(,&quot;Нажатие&quot;,Kl,Vitkode)
	LV_Add(,&quot;Задержка&quot;,Sleep)
	Vitkode := Format(&quot;{:#x}&quot;, GetKeyVK(Kl))
	LV_Add(,&quot;Отпускание&quot;,Kl,Vitkode)
	LV_Add(,&quot;Задержка&quot;,Sleep)
	Return

Sleepr:
	Gui Submit, NoHide
	LV_Add(,&quot;Задержка&quot;,Sleep)
	Return

write:
	Gui Submit, NoHide
	act:=LV_GetCount()
	Loop % LV_GetCount()
	{
		LV_GetText(action,A_Index,1)
		LV_GetText(value,A_Index,2)
		LV_GetText(vk,A_Index,3)

		if (action=&quot;Задержка&quot;)
		{
			act%A_Index%:=&quot;sleep&quot;
			val%A_Index%:=value
		}
		else if (action=&quot;Нажатие&quot;)
		{
			act%A_Index%:=&quot;key&quot;
			val%A_Index%:=value &quot; down&quot;
		}
		else if (action=&quot;Отпускание&quot;)
		{
			act%A_Index%:=&quot;key&quot;
			val%A_Index%:=value &quot; up&quot;
		}
	} 
	Hotkey, %  &quot;~&quot; Hotkey, HKLabel, Off UseErrorLevel
	Hotkey := Hotkey_Value(&quot;B2&quot;)
	Hotkey, % &quot;$&quot; Hotkey, HKLabel, On
	VK := Format(&quot;{:#x}&quot;, GetKeyVK(Hotkey_Value(&quot;B1&quot;)))
	Return


HKLabel:

	while GetKeyState(Hotkey,&quot;P&quot;)


	{
 
		loop,% act
		{
	        if (act%A_Index%=&quot;sleep&quot;)
			sleep,% val%A_Index%
		else if (act%A_Index%=&quot;key&quot;)
			sendevent,% &quot;{&quot; val%A_Index% &quot;}&quot;
		}

	}
	Return

GuiClose() {
	Hotkey_Exit()
	ExitApp
}

</code></pre></div>]]></description>
			<author><![CDATA[null@example.com (Ядрён)]]></author>
			<pubDate>Sat, 12 Dec 2015 22:32:17 +0000</pubDate>
			<guid>http://forum.script-coding.com/viewtopic.php?pid=99656#p99656</guid>
		</item>
		<item>
			<title><![CDATA[Re: AHK: Настраиваемый макро менеджер]]></title>
			<link>http://forum.script-coding.com/viewtopic.php?pid=99383#p99383</link>
			<description><![CDATA[<p>То есть разговор про метку &quot;Open&quot; и ошибку с &quot;Hotkey, % &quot;$&quot; Hotkey, HKLabel, On&quot;.</p>]]></description>
			<author><![CDATA[null@example.com (serzh82saratov)]]></author>
			<pubDate>Sun, 29 Nov 2015 22:40:04 +0000</pubDate>
			<guid>http://forum.script-coding.com/viewtopic.php?pid=99383#p99383</guid>
		</item>
		<item>
			<title><![CDATA[Re: AHK: Настраиваемый макро менеджер]]></title>
			<link>http://forum.script-coding.com/viewtopic.php?pid=99382#p99382</link>
			<description><![CDATA[<p><strong>serzh82saratov</strong> Не я , но я там чуток подправил.</p>]]></description>
			<author><![CDATA[null@example.com (Ядрён)]]></author>
			<pubDate>Sun, 29 Nov 2015 22:30:26 +0000</pubDate>
			<guid>http://forum.script-coding.com/viewtopic.php?pid=99382#p99382</guid>
		</item>
		<item>
			<title><![CDATA[Re: AHK: Настраиваемый макро менеджер]]></title>
			<link>http://forum.script-coding.com/viewtopic.php?pid=99380#p99380</link>
			<description><![CDATA[<div class="quotebox"><cite>Ядрён пишет:</cite><blockquote><p>При нажатии на кнопку открыть</p></blockquote></div><p>А кто писал код открытия?</p>]]></description>
			<author><![CDATA[null@example.com (serzh82saratov)]]></author>
			<pubDate>Sun, 29 Nov 2015 20:42:58 +0000</pubDate>
			<guid>http://forum.script-coding.com/viewtopic.php?pid=99380#p99380</guid>
		</item>
		<item>
			<title><![CDATA[Re: AHK: Настраиваемый макро менеджер]]></title>
			<link>http://forum.script-coding.com/viewtopic.php?pid=99379#p99379</link>
			<description><![CDATA[<p><strong>serzh82saratov</strong> При нажатии на кнопку открыть(соответственно при выборе ранее сохранённого &quot;ini&quot; файла) , возникает такая ошибка.</p>]]></description>
			<author><![CDATA[null@example.com (Ядрён)]]></author>
			<pubDate>Sun, 29 Nov 2015 20:35:02 +0000</pubDate>
			<guid>http://forum.script-coding.com/viewtopic.php?pid=99379#p99379</guid>
		</item>
		<item>
			<title><![CDATA[Re: AHK: Настраиваемый макро менеджер]]></title>
			<link>http://forum.script-coding.com/viewtopic.php?pid=99374#p99374</link>
			<description><![CDATA[<p>Что значит при открытии, чего?</p>]]></description>
			<author><![CDATA[null@example.com (serzh82saratov)]]></author>
			<pubDate>Sun, 29 Nov 2015 20:09:54 +0000</pubDate>
			<guid>http://forum.script-coding.com/viewtopic.php?pid=99374#p99374</guid>
		</item>
		<item>
			<title><![CDATA[Re: AHK: Настраиваемый макро менеджер]]></title>
			<link>http://forum.script-coding.com/viewtopic.php?pid=99372#p99372</link>
			<description><![CDATA[<p><strong>serzh82saratov</strong> Так то всё работает , только при сохранении - открытии а точнее&nbsp; только&nbsp; при открытии выдаёт эту ошибку.</p>]]></description>
			<author><![CDATA[null@example.com (Ядрён)]]></author>
			<pubDate>Sun, 29 Nov 2015 19:46:46 +0000</pubDate>
			<guid>http://forum.script-coding.com/viewtopic.php?pid=99372#p99372</guid>
		</item>
		<item>
			<title><![CDATA[Re: AHK: Настраиваемый макро менеджер]]></title>
			<link>http://forum.script-coding.com/viewtopic.php?pid=99371#p99371</link>
			<description><![CDATA[<div class="quotebox"><cite>Ядрён пишет:</cite><blockquote><p>А остальные библиотеки надо тоже ложить в папку &quot;Lib&quot;?</p></blockquote></div><p>Да.<br /></p><div class="quotebox"><cite>Ядрён пишет:</cite><blockquote><p>Выдаёт ошибку.</p></blockquote></div><p>Значит в переменной Hotkey невалидное содержимое для назначения горячей клавиши.</p>]]></description>
			<author><![CDATA[null@example.com (serzh82saratov)]]></author>
			<pubDate>Sun, 29 Nov 2015 18:29:26 +0000</pubDate>
			<guid>http://forum.script-coding.com/viewtopic.php?pid=99371#p99371</guid>
		</item>
		<item>
			<title><![CDATA[Re: AHK: Настраиваемый макро менеджер]]></title>
			<link>http://forum.script-coding.com/viewtopic.php?pid=99370#p99370</link>
			<description><![CDATA[<p><strong>serzh82saratov</strong> Правда теперь какая то ерунда с сохранением - открытием . Всё записывает в файл , открываеш всё на своём месте все циферки а вот работать не работает .<br />Выдаёт ошибку.<br /></p><div class="codebox"><pre><code>Hotkey, % &quot;$&quot; Hotkey, HKLabel, On</code></pre></div>]]></description>
			<author><![CDATA[null@example.com (Ядрён)]]></author>
			<pubDate>Sun, 29 Nov 2015 15:12:48 +0000</pubDate>
			<guid>http://forum.script-coding.com/viewtopic.php?pid=99370#p99370</guid>
		</item>
	</channel>
</rss>
