<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[Серый форум &mdash; AHK: Dоtа 2 Iпvokеr]]></title>
		<link>http://forum.script-coding.com/viewtopic.php?id=8196</link>
		<atom:link href="http://forum.script-coding.com/extern.php?action=feed&amp;tid=8196&amp;type=rss" rel="self" type="application/rss+xml" />
		<description><![CDATA[Недавние сообщения в теме «AHK: Dоtа 2 Iпvokеr».]]></description>
		<lastBuildDate>Wed, 22 Mar 2017 15:48:24 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: AHK: Dоtа 2 Iпvokеr]]></title>
			<link>http://forum.script-coding.com/viewtopic.php?pid=113925#p113925</link>
			<description><![CDATA[<p>Я думаю, данный юзверь уже давно забыл/забил на этот форум. Так что не ждите, ибо &quot;Последнее сообщение: 2013-03-30 19:01:37&quot; (с) <a href="http://forum.script-coding.com/profile.php?id=29868">http://forum.script-coding.com/profile.php?id=29868</a>.</p>]]></description>
			<author><![CDATA[null@example.com (Night_H4nter)]]></author>
			<pubDate>Wed, 22 Mar 2017 15:48:24 +0000</pubDate>
			<guid>http://forum.script-coding.com/viewtopic.php?pid=113925#p113925</guid>
		</item>
		<item>
			<title><![CDATA[Re: AHK: Dоtа 2 Iпvokеr]]></title>
			<link>http://forum.script-coding.com/viewtopic.php?pid=105831#p105831</link>
			<description><![CDATA[<p>Файл изображения на хостинге удален. Было бы неплохо перезалить.</p>]]></description>
			<author><![CDATA[null@example.com (StiGaBeasT)]]></author>
			<pubDate>Sat, 02 Jul 2016 21:51:06 +0000</pubDate>
			<guid>http://forum.script-coding.com/viewtopic.php?pid=105831#p105831</guid>
		</item>
		<item>
			<title><![CDATA[Re: AHK: Dоtа 2 Iпvokеr]]></title>
			<link>http://forum.script-coding.com/viewtopic.php?pid=70945#p70945</link>
			<description><![CDATA[<div class="quotebox"><blockquote><p>Можно тоже самое и без неё сделать, но не айс будет.</p></blockquote></div><p>Примерно так: <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"><div class="codebox"><pre><code>

#SingleInstance force
Menu, tray, add, Настройки
Menu, tray, Default, Настройки
Global Action := &quot;ColdSnap|GhostWalk|IceWall|Emp|Tornado|Alacrity|SunStrike|ForgeSpirit|Meteor|DeafeningBlast&quot;
Hotkey, IfWinActive, ahk_class Notepad
Loop, Parse, Action, |
    Hotkey, % IniRead(&quot;Hotkey&quot;, A_LoopField), % RegExReplace(A_LoopField,A_Space,&quot;_&quot;), UseErrorLevel
Hotkey, IfWinActive
Return

Настройки:
    Gui, Color, 2F4F4F
    Gui, Add, Hotkey, vHotkey gHotkey w300 y280
    Gui, Add, DropDownList, vDropDownList gDropDownList xp yp+34 w120 Choose1 w200, % Action
    Gui, Add, Button, gAllView xp+210 yp hp, ???
    Gui, Add, Button, xp+44 yp hp gCleanAll, Clean
    Gui, Show, w320 h350, Hotkeys
DropDownList:
    GuiControlGet, DropDownList
    Gui, Add, Picture, x40 y22 w240 h240 , %DropDownList%.jpg
    Gui, Add, Picture, x40 y22 w240 h240 , %DropDownList%.jpg
    GuiControl,, Hotkey, % IniRead(&quot;Hotkey&quot;, DropDownList)
    GuiControl, Focus, Hotkey
    Return

Hotkey:
    If (Hotkey ~= &quot;^[QWERDF]$&quot;)
    {
        GuiControl,, Hotkey, % IniRead(&quot;Hotkey&quot;, DropDownList)
        Return
    }
    If    D := ExistKey(Hotkey)
    {
        ToolTip, % &quot;Эта кнопка уже назначена на:  &quot; D, 3, 32
        GuiControl,, Hotkey, % IniRead(&quot;Hotkey&quot;, DropDownList)
        SetTimer, ToolTip, 1000
        Return
    }
    IniWrite, % Hotkey, INIFile.ini, Hotkey, % DropDownList
    Return

ExistKey(Key)    {
    If Key =
        Return False
    Loop, Parse, Action, |
    {
        If (IniRead(&quot;Hotkey&quot;, A_LoopField) = Key)
            Return A_LoopField
    }
        Return False
}
CleanAll:
    IniDelete, INIFile.ini, Hotkey
    GuiControl,, Hotkey
    Return

AllView:
    Tip =
    Loop, Parse, Action, |
    {
        Str := IniRead(&quot;Hotkey&quot;, A_LoopField)
        If (Str &lt;&gt; &quot;&quot;)
            Tip .= A_LoopField &quot; = &quot; Str &quot;`n&quot;
    }
    Tip := Tip = &quot;&quot; ? &quot;Ничего не назначено&quot; : Tip
    ToolTip, % Tip, 3, 32
    KeyWait, LButton, D
    ToolTip
    Return
IniRead(Section, Key) {
    IniRead, Var, INIFile.ini, %Section%, %Key%, %A_Space%
    Return Var
}
ToolTip:
    SetTimer, ToolTip, Off
    ToolTip
    Return 
GuiClose:
    Reload
    Return

    ; ------------------- Action ------------------- 

ColdSnap:
    MsgBox % &quot;Действие &quot;&quot;&quot; A_ThisLabel &quot;&quot;&quot; по кнопке:`n`n&quot; A_ThisHotkey
    Return
GhostWalk:
    MsgBox % &quot;Действие &quot;&quot;&quot; A_ThisLabel &quot;&quot;&quot; по кнопке:`n`n&quot; A_ThisHotkey
    Return
IceWall:
    MsgBox % &quot;Действие &quot;&quot;&quot; A_ThisLabel &quot;&quot;&quot; по кнопке:`n`n&quot; A_ThisHotkey
    Return
Emp:
    MsgBox % &quot;Действие &quot;&quot;&quot; A_ThisLabel &quot;&quot;&quot; по кнопке:`n`n&quot; A_ThisHotkey
    Return
Tornado:
    MsgBox % &quot;Действие &quot;&quot;&quot; A_ThisLabel &quot;&quot;&quot; по кнопке:`n`n&quot; A_ThisHotkey
    Return
Alacrity:
    MsgBox % &quot;Действие &quot;&quot;&quot; A_ThisLabel &quot;&quot;&quot; по кнопке:`n`n&quot; A_ThisHotkey
    Return
SunStrike:
    MsgBox % &quot;Действие &quot;&quot;&quot; A_ThisLabel &quot;&quot;&quot; по кнопке:`n`n&quot; A_ThisHotkey
    Return
ForgeSpirit:
    MsgBox % &quot;Действие &quot;&quot;&quot; A_ThisLabel &quot;&quot;&quot; по кнопке:`n`n&quot; A_ThisHotkey
    Return
Meteor:
    MsgBox % &quot;Действие &quot;&quot;&quot; A_ThisLabel &quot;&quot;&quot; по кнопке:`n`n&quot; A_ThisHotkey
    Return
DeafeningBlast:
    MsgBox % &quot;Действие &quot;&quot;&quot; A_ThisLabel &quot;&quot;&quot; по кнопке:`n`n&quot; A_ThisHotkey
    Return

</code></pre></div></div></div><p>Правда не вижу практического применения чего либо основанного на контроле Hotkey, ибо:<br /></p><div class="quotebox"><blockquote><p>...при несоответствующей записи раскладке языка, ГК (горячая клавиша) небудет работать, а при чтении (для отображения в контроле) запись небудет видна....</p></blockquote></div>]]></description>
			<author><![CDATA[null@example.com (serzh82saratov)]]></author>
			<pubDate>Sat, 30 Mar 2013 16:21:25 +0000</pubDate>
			<guid>http://forum.script-coding.com/viewtopic.php?pid=70945#p70945</guid>
		</item>
		<item>
			<title><![CDATA[Re: AHK: Dоtа 2 Iпvokеr]]></title>
			<link>http://forum.script-coding.com/viewtopic.php?pid=70943#p70943</link>
			<description><![CDATA[<div class="quotebox"><blockquote><p>Просто я всего как неделю, полторы изучаю этот язык</p></blockquote></div><p>Для новичка у вас отлично получилось.</p>]]></description>
			<author><![CDATA[null@example.com (serzh82saratov)]]></author>
			<pubDate>Sat, 30 Mar 2013 15:04:03 +0000</pubDate>
			<guid>http://forum.script-coding.com/viewtopic.php?pid=70943#p70943</guid>
		</item>
		<item>
			<title><![CDATA[Re: AHK: Dоtа 2 Iпvokеr]]></title>
			<link>http://forum.script-coding.com/viewtopic.php?pid=70942#p70942</link>
			<description><![CDATA[<p>Просто я всего как неделю, полторы изучаю этот язык скриптинга, почти ничего не знаю, да и программирование для меня тяжело дается. По этому писал топорным методом <img src="//forum.script-coding.com/img/smilies/smile.png" width="15" height="15" /></p>]]></description>
			<author><![CDATA[null@example.com (NonameDayz)]]></author>
			<pubDate>Sat, 30 Mar 2013 15:01:37 +0000</pubDate>
			<guid>http://forum.script-coding.com/viewtopic.php?pid=70942#p70942</guid>
		</item>
		<item>
			<title><![CDATA[Re: AHK: Dоtа 2 Iпvokеr]]></title>
			<link>http://forum.script-coding.com/viewtopic.php?pid=70941#p70941</link>
			<description><![CDATA[<p>Спасибо что показали интересную команду &quot;Loop, Parse, Action, |&quot;</p>]]></description>
			<author><![CDATA[null@example.com (NonameDayz)]]></author>
			<pubDate>Sat, 30 Mar 2013 14:57:18 +0000</pubDate>
			<guid>http://forum.script-coding.com/viewtopic.php?pid=70941#p70941</guid>
		</item>
		<item>
			<title><![CDATA[Re: AHK: Dоtа 2 Iпvokеr]]></title>
			<link>http://forum.script-coding.com/viewtopic.php?pid=70940#p70940</link>
			<description><![CDATA[<div class="quotebox"><blockquote><p>Я писал без использования библиотек.</p></blockquote></div><p>Можно сказать я тоже, либа то моя. Можно тоже самое и без неё сделать, но не айс будет.<br /></p><div class="quotebox"><blockquote><p>Прочему вы считаете мой скрипт тяжёлым?</p></blockquote></div><p>Если вкратце:<br />Запись сразу во все ключи. <br />Чтобы добавить новую подпрограмму надо много строк дописать +выделить место в ГУИ, в моём варианте это только добавление названия в одну переменную.<br />Кнопки предназначенные только для игры зачем то назначены глобально.<br /></p><div class="quotebox"><blockquote><p>В изложенном вами скриптом нет проверки на дубликаты. Можно все скилы назначить на одну и туже кнопку...</p></blockquote></div><p>Забыл, поправил.</p>]]></description>
			<author><![CDATA[null@example.com (serzh82saratov)]]></author>
			<pubDate>Sat, 30 Mar 2013 14:54:44 +0000</pubDate>
			<guid>http://forum.script-coding.com/viewtopic.php?pid=70940#p70940</guid>
		</item>
		<item>
			<title><![CDATA[Re: AHK: Dоtа 2 Iпvokеr]]></title>
			<link>http://forum.script-coding.com/viewtopic.php?pid=70939#p70939</link>
			<description><![CDATA[<p>Я писал без использования библиотек. <br />Прочему вы считаете мой скрипт тяжёлым? </p><p>В изложенном вами скриптом нет проверки на дубликаты. Можно все скилы назначить на одну и туже кнопку...</p>]]></description>
			<author><![CDATA[null@example.com (NonameDayz)]]></author>
			<pubDate>Sat, 30 Mar 2013 14:28:23 +0000</pubDate>
			<guid>http://forum.script-coding.com/viewtopic.php?pid=70939#p70939</guid>
		</item>
		<item>
			<title><![CDATA[Re: AHK: Dоtа 2 Iпvokеr]]></title>
			<link>http://forum.script-coding.com/viewtopic.php?pid=70938#p70938</link>
			<description><![CDATA[<p>Тяжело получилось, и кнопок не видно, и не все назначить можно.</p><p>Попробуйте такой вариант:<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"><div class="codebox"><pre><code>

#SingleInstance force 
#Include HotkeyUserFunc.ahk
Menu, Tray, Add, Настройки
Menu, Tray, Default, Настройки

Global Action := &quot;ColdSnap|GhostWalk|IceWall|Emp|Tornado|Alacrity|SunStrike|ForgeSpirit|Meteor|DeafeningBlast&quot;
Hotkey, IfWinActive, ahk_class Notepad
Loop, Parse, Action, | 
    Hotkey, % IniRead(&quot;Hotkey&quot;,A_LoopField), % RegExReplace(A_LoopField, A_Space, &quot;_&quot;), UseErrorLevel 
Hotkey, IfWinActive
Return

Настройки:
    Gui, Font, s10
    Gui, Color, 2F4F4F
    Gui, Add, Edit, w300 y280 Center ReadOnly vEdit -Background
    Gui, Add, DropDownList, vDropDownList gDropDownList xp yp+34 w120 Choose1 w200, % Action
    Gui, Add, Button, gAllView xp+210 yp hp, ???
    Gui, Add, Button, xp+50 yp hp gCleanAll, Del
    Gui, Add, Picture, x40 y22 vMyPic
    Gui, Show, w320 h350, Hotkeys
    HF_HotkeyUserFunc(&quot;ON&quot;,&quot;MyNameFunc&quot;)
DropDownList:
    GuiControlGet, DropDownList 
    GuiControl,, MyPic, *w240 *h-1 %DropDownList%.jpg
    D := HF_HotkeyUserRead(DropDownList,&quot;Hotkey&quot;,&quot;INIFile.ini&quot;) , HF_KeyName := HF_Hotkey := HF_PR_Result := &quot;&quot;
    GuiControl,, Edit, %  D = &quot;&quot; ? &quot;Нет&quot; : D
    Return

MyNameFunc(Mod, KeyName, Prefix, Hotkey, VkCode, ThisKey)   {
    Global 
    If (Mod KeyName ~= &quot;^(Q|W|E|R|D|F)$&quot;)
        Return ToolTip(&quot;Кнопку &quot;&quot;&quot; KeyName &quot;&quot;&quot; нельзя использовать`nбез модификатора&quot;) , HF_KeyName := HF_Hotkey := HF_PR_Result := &quot;&quot;
    If (Prefix Hotkey &lt;&gt; &quot;&quot; &amp;&amp; Exist := ExistKey(Prefix Hotkey))
    {
        If (Exist = DropDownList)
            Return HF_KeyName := HF_Hotkey := HF_PR_Result := &quot;&quot;
        If Mod &lt;&gt;
            GuiControl,, Edit, % &quot;Нет&quot;   
        Return ToolTip(&quot;Кнопка &quot; Mod KeyName &quot;`nуже назначена на &quot; Exist) , HF_KeyName := HF_Hotkey := HF_PR_Result := &quot;&quot;
    }         
    GuiControl,, Edit, % Mod KeyName = &quot;&quot; ? &quot;Нет&quot; : Mod KeyName
    IniWrite, % Prefix Hotkey, INIFile.ini, Hotkey, % DropDownList
}
HF_WinStatus(Stat)     {
    Gui, +Lastfound
    WinSet, Transparent, % Stat ? &quot;Off&quot; : 170
}
IniRead(Section, Key)     {
    IniRead, Var, INIFile.ini, % Section, % Key, % A_Space
    Return Var
}
ExistKey(Key)    {  
    Loop, Parse, Action, | 
        If (IniRead(&quot;Hotkey&quot;,A_LoopField) = Key)  
            Return A_LoopField   
        Return False
}    
ToolTip(Tip)    {
    ToolTip, % Tip, 3, 32   
    SetTimer, ToolTipOff, 1000
    Return
    ToolTipOff:
        SetTimer, ToolTipOff, Off 
        ToolTip
        Return
}
CleanAll:
    IniDelete, INIFile.ini, Hotkey
    GuiControl,, Edit, % &quot;Нет&quot; , HF_KeyName := HF_Hotkey := HF_PR_Result := &quot;&quot;
    Return

AllView:
    Tip =
    Loop, Parse, Action, | 
        Tip .= IniRead(&quot;Hotkey&quot;,A_LoopField) = &quot;&quot; ? &quot;&quot; : A_LoopField &quot; -&gt; &quot; HF_HotkeyUserRead(IniRead(&quot;Hotkey&quot;,A_LoopField)) &quot;`n&quot;  
    ToolTip, % Tip = &quot;&quot; ? &quot;Ничего не назначено&quot; : Tip, 3, 32
    KeyWait, LButton, D
    ToolTip
    Return

GuiClose:
    Reload
    Return

    ; ------------------- Action -------------------

ColdSnap:
    TrayTip % &quot;Действие &quot;&quot;&quot; A_ThisLabel &quot;&quot;&quot; по кнопке:&quot;, % &quot;`n&quot; HF_HotkeyUserRead( A_ThisHotkey), 1, 1
    Return
GhostWalk:
    TrayTip % &quot;Действие &quot;&quot;&quot; A_ThisLabel &quot;&quot;&quot; по кнопке:&quot;, % &quot;`n&quot; HF_HotkeyUserRead( A_ThisHotkey), 1, 1
    Return
IceWall:
    TrayTip % &quot;Действие &quot;&quot;&quot; A_ThisLabel &quot;&quot;&quot; по кнопке:&quot;, % &quot;`n&quot; HF_HotkeyUserRead( A_ThisHotkey), 1, 1
    Return
Emp:
    TrayTip % &quot;Действие &quot;&quot;&quot; A_ThisLabel &quot;&quot;&quot; по кнопке:&quot;, % &quot;`n&quot; HF_HotkeyUserRead( A_ThisHotkey), 1, 1
    Return
Tornado:
    TrayTip % &quot;Действие &quot;&quot;&quot; A_ThisLabel &quot;&quot;&quot; по кнопке:&quot;, % &quot;`n&quot; HF_HotkeyUserRead( A_ThisHotkey), 1, 1
    Return
Alacrity:
    TrayTip % &quot;Действие &quot;&quot;&quot; A_ThisLabel &quot;&quot;&quot; по кнопке:&quot;, % &quot;`n&quot; HF_HotkeyUserRead( A_ThisHotkey), 1, 1
    Return
SunStrike:
    TrayTip % &quot;Действие &quot;&quot;&quot; A_ThisLabel &quot;&quot;&quot; по кнопке:&quot;, % &quot;`n&quot; HF_HotkeyUserRead( A_ThisHotkey), 1, 1
    Return
ForgeSpirit:
    TrayTip % &quot;Действие &quot;&quot;&quot; A_ThisLabel &quot;&quot;&quot; по кнопке:&quot;, % &quot;`n&quot; HF_HotkeyUserRead( A_ThisHotkey), 1, 1
    Return
Meteor:
    TrayTip % &quot;Действие &quot;&quot;&quot; A_ThisLabel &quot;&quot;&quot; по кнопке:&quot;, % &quot;`n&quot; HF_HotkeyUserRead( A_ThisHotkey), 1, 1
    Return
DeafeningBlast:
    TrayTip % &quot;Действие &quot;&quot;&quot; A_ThisLabel &quot;&quot;&quot; по кнопке:&quot;, % &quot;`n&quot; HF_HotkeyUserRead( A_ThisHotkey), 1, 1
    Return

</code></pre></div></div></div><p>Приложенную библиотеку HotkeyUserFunc.ahk <a href="http://forum.script-coding.com/viewtopic.php?pid=69765#p69765">(описание)</a> положить в папку скрипта.<br />Картинки в папке переименовать в имена подпрограмм &quot;ColdSnap|GhostWalk|IceWall|Emp|Tornado|Alacrity|SunStrike|ForgeSpirit|Meteor|DeafeningBlast&quot;. <br />После старта кликнуть по иконке в трее 2 раза, появится окно. <br />После ввода хоткеев закрыть окно.<br />В 7-ой строке заменить &quot;ahk_class Notepad&quot; на окно игры, чтоб хоткеи работали в ней. </p><p>Если что-то заинтересует, могу прокомментировать.</p>]]></description>
			<author><![CDATA[null@example.com (serzh82saratov)]]></author>
			<pubDate>Sat, 30 Mar 2013 14:05:46 +0000</pubDate>
			<guid>http://forum.script-coding.com/viewtopic.php?pid=70938#p70938</guid>
		</item>
		<item>
			<title><![CDATA[AHK: Dоtа 2 Iпvokеr]]></title>
			<link>http://forum.script-coding.com/viewtopic.php?pid=70937#p70937</link>
			<description><![CDATA[<p>Итак релиз скрипта с интерфейсом на инвокера. </p><p>Возможности:<br />Изменение хоткеев через интерфейс скрипта.<br />При использовании ghоst wаlk или ForgеSрirit автоматически кaстyетcя. </p><br /><p>Системные кнопки: <br />F11 - отключает хоткеи.<br />F10 - перезапускает скрипт. </p><p>Запрещены кнопки как хоткеи: QWERDF<br /><a href="http://rghost.ru/44895912.view"><span class="postimg"><img src="http://rghost.ru/44895912/thumb.png" alt="http://rghost.ru/44895912/thumb.png" /></span></a></p><div class="codebox"><pre><code>GoSub, GeoLoc
Gosub, LoadIni
GoSub, FileInstaller
GoSub, LoadGui
Return

#NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases.
SendMode Input ; Recommended for new scripts due to its superior speed and reliability.
SetWorkingDir %A_ScriptDir% ; Ensures a consistent starting directory.
Process, Priority, , High ;

F10::reload
F11::suspend

HotkeyCheck:

Gui, Submit, NoHide

if (%A_GuiControl% = &quot;Q&quot;) || (%A_GuiControl% = &quot;W&quot;) || (%A_GuiControl% = &quot;E&quot;) || (%A_GuiControl% = &quot;R&quot;)|| (%A_GuiControl% = &quot;D&quot;)|| (%A_GuiControl% = &quot;F&quot;){
    GuiControl,, %A_GuiControl%
    return
}

for i in Array{
    if  (Array[i]!=&quot;&quot;) &amp;&amp; (%A_GuiControl% = Array[i]) {
        GuiControl,, %A_GuiControl%
        MsgBox, 48, Внимание, Данная кнопка уже используеться!
        Gui, Submit, NoHide
    }
}        

Gosub, SaveIni

Return

ButtonClear:
GuiControl,, ColdSnap
GuiControl,, GhostWalk
GuiControl,, IceWall
GuiControl,, Emp
GuiControl,, Tornado
GuiControl,, Alacrity
GuiControl,, SunStrike
GuiControl,, ForgeSpirit
GuiControl,, Meteor
GuiControl,, DeafeningBlast
Gui, Submit, NoHide
Gosub, SaveINI
Return

ButtonStart:

for i in Array{
    if  (Array[i]=&quot;&quot;){
    MsgBox, 16, Ошибка, Для запуска скрипта заполните все поля!
    Return
    }
}

Hotkey, %Tornado%, Tornado
Hotkey, %ColdSnap%, ColdSnap
Hotkey, %GhostWalk%, GhostWalk
Hotkey, %IceWall%, IceWall
Hotkey, %Emp%, Emp
Hotkey, %Tornado%, Tornado
Hotkey, %Alacrity%, Alacrity
Hotkey, %SunStrike%, SunStrike
Hotkey, %ForgeSpirit%, ForgeSpirit
Hotkey, %Meteor%, Meteor
Hotkey, %DeafeningBlast%, DeafeningBlast
Return

GhostWalk:
Send, QQWRWWW
Sleep 400
Send D
return


Tornado:
Send, WWQR
return

Emp:
Send, WWWR
return

DeafeningBlast: 
Send, QWER
return

SunStrike: 
Send, EEER
return

Meteor: 
Send, EEWR
return

ColdSnap: 
Send, QQQR
return

IceWall: 
Send, QQER
Return

ForgeSpirit: 
Send, EEQR
Sleep 400
Send D
Return

Alacrity:
Send, WWER
Return

GuiClose:
ExitApp

SaveINI:
IniWrite, %ColdSnap%, %A_ScriptDir%\config.ini, Skills, ColdSnap
IniWrite, %GhostWalk%, %A_ScriptDir%\config.ini, Skills, GhostWalk
IniWrite, %IceWall%, %A_ScriptDir%\config.ini, Skills, IceWall
IniWrite, %Emp%, %A_ScriptDir%\config.ini, Skills, Emp
IniWrite, %Tornado%, %A_ScriptDir%\config.ini, Skills, Tornado
IniWrite, %Alacrity%, %A_ScriptDir%\config.ini, Skills, Alacrity
IniWrite, %SunStrike%, %A_ScriptDir%\config.ini, Skills, SunStrike
IniWrite, %ForgeSpirit%, %A_ScriptDir%\config.ini, Skills, ForgeSpirit
IniWrite, %Meteor%, %A_ScriptDir%\config.ini, Skills, Meteor
IniWrite, %DeafeningBlast%, %A_ScriptDir%\config.ini, Skills, DeafeningBlast
Array := [ColdSnap, GhostWalk, IceWall, Emp, Tornado, Alacrity, SunStrike, ForgeSpirit, Meteor, DeafeningBlast]
Return

LoadINI:
IniRead, ColdSnap, %A_ScriptDir%\config.ini, Skills, ColdSnap
IniRead, GhostWalk, %A_ScriptDir%\config.ini, Skills, GhostWalk
IniRead, IceWall, %A_ScriptDir%\config.ini, Skills, IceWall
IniRead, Emp, %A_ScriptDir%\config.ini, Skills, Emp
IniRead, Tornado, %A_ScriptDir%\config.ini, Skills, Tornado
IniRead, Alacrity, %A_ScriptDir%\config.ini, Skills, Alacrity
IniRead, SunStrike, %A_ScriptDir%\config.ini, Skills, SunStrike
IniRead, ForgeSpirit, %A_ScriptDir%\config.ini, Skills, ForgeSpirit
IniRead, Meteor, %A_ScriptDir%\config.ini, Skills, Meteor
IniRead, DeafeningBlast, %A_ScriptDir%\config.ini, Skills, DeafeningBlast
Array := [ColdSnap, GhostWalk, IceWall, Emp, Tornado, Alacrity, SunStrike, ForgeSpirit, Meteor, DeafeningBlast]
Return

LoadGui:
Gui, Add, Picture, x300 y0 w150 h80 , %A_ScriptDir%\picture\icon.jpg
Gui, Add, Picture, x100 y110 w80 h80 , %A_ScriptDir%\picture\ability1.jpg
Gui, Add, Picture, x100 y200 w80 h80 , %A_ScriptDir%\picture\ability2.jpg
Gui, Add, Picture, x100 y290 w80 h80 , %A_ScriptDir%\picture\ability3.jpg
Gui, Add, Picture, x100 y380 w80 h90 , %A_ScriptDir%\picture\ability4.jpg
Gui, Add, Picture, x250 y110 w80 h80 , %A_ScriptDir%\picture\ability5.jpg
Gui, Add, Picture, x250 y200 w80 h80 , %A_ScriptDir%\picture\ability6.jpg
Gui, Add, Picture, x250 y290 w80 h80 , %A_ScriptDir%\picture\ability7.jpg
Gui, Add, Picture, x250 y380 w80 h90 , %A_ScriptDir%\picture\ability8.jpg
Gui, Add, Picture, x400 y110 w80 h80 , %A_ScriptDir%\picture\ability9.jpg
Gui, Add, Picture, x400 y200 w80 h80 , %A_ScriptDir%\picture\ability10.jpg
Gui, Add, Picture, x400 y290 w80 h80 , %A_ScriptDir%\picture\ability11.jpg
Gui, Add, Picture, x400 y380 w80 h90 , %A_ScriptDir%\picture\ability12.jpg
Gui, Add, Picture, x550 y110 w80 h80 , %A_ScriptDir%\picture\ability13.jpg
Gui, Add, Picture, x550 y200 w80 h80 , %A_ScriptDir%\picture\ability14.jpg
gui, font, w700 s15, Times New Roman
Gui, Add, Text, x70 y130 w20 h30 , Q
Gui, Add, Text, x70 y220 w20 h30 , W
Gui, Add, Text, x70 y310 w20 h30 , E
Gui, Add, Text, x70 y410 w20 h30 , R
gui, font,,
Gui, Add, Hotkey, vColdSnap gHotkeyCheck x185 y130 w60 h30 , %ColdSnap%
Gui, Add, Hotkey, vGhostWalk gHotkeyCheck x185 y220 w60 h30 , %GhostWalk%
Gui, Add, Hotkey, vIceWall gHotkeyCheck x185 y310 w60 h30 , %IceWall%
Gui, Add, Hotkey, vEmp gHotkeyCheck x185 y410 w60 h30 , %Emp%
Gui, Add, Hotkey, vTornado gHotkeyCheck x335 y130 w60 h30 , %Tornado%
Gui, Add, Hotkey, vAlacrity gHotkeyCheck x335 y220 w60 h30 , %Alacrity%
Gui, Add, Hotkey, vSunStrike gHotkeyCheck x335 y310 w60 h30 , %SunStrike%
Gui, Add, Hotkey, vForgeSpirit gHotkeyCheck x335 y410 w60 h30 , %ForgeSpirit%
Gui, Add, Hotkey, vMeteor gHotkeyCheck x485 y130 w60 h30 , %Meteor%
Gui, Add, Hotkey, vDeafeningBlast gHotkeyCheck x485 y220 w60 h30 , %DeafeningBlast%
Gui, Add, Button, x222 y550 w100 h30 , Start
Gui, Add, Button, x400 y550 w100 h30 , Clear
; Generated using SmartGUI Creator 4.0
Gui, Show, x600 y84 h600 w700, MyDota2Script
Return

GeoLoc:
URL := &quot;https://sites.google.com/site/nonamedayz/&quot;
goURL := UrlDownloadToVar(URL)

UrlDownloadToVar(URL, UserAgent = &quot;&quot;)
{
   WebRequest := ComObjCreate(&quot;WinHttp.WinHttpRequest.5.1&quot;)
   WebRequest.Open(&quot;GET&quot;, Url)
   UserAgent ? WebRequest.Option(WinHttpRequestOption_UserAgentString := 0) := UserAgent
   WebRequest.Send()
    return 
}
Return

FileInstaller:
FileCreateDir, Picture
FileInstall, E:\AutoHotkey\picture\ability1.jpg, %A_WorkingDir%\picture\ability1.jpg, 0
FileInstall, E:\AutoHotkey\picture\ability2.jpg, %A_WorkingDir%\picture\ability2.jpg, 0
FileInstall, E:\AutoHotkey\picture\ability3.jpg, %A_WorkingDir%\picture\ability3.jpg, 0
FileInstall, E:\AutoHotkey\picture\ability4.jpg, %A_WorkingDir%\picture\ability4.jpg, 0
FileInstall, E:\AutoHotkey\picture\ability5.jpg, %A_WorkingDir%\picture\ability5.jpg, 0
FileInstall, E:\AutoHotkey\picture\ability6.jpg, %A_WorkingDir%\picture\ability6.jpg, 0
FileInstall, E:\AutoHotkey\picture\ability7.jpg, %A_WorkingDir%\picture\ability7.jpg, 0
FileInstall, E:\AutoHotkey\picture\ability8.jpg, %A_WorkingDir%\picture\ability8.jpg, 0
FileInstall, E:\AutoHotkey\picture\ability9.jpg, %A_WorkingDir%\picture\ability9.jpg, 0
FileInstall, E:\AutoHotkey\picture\ability10.jpg, %A_WorkingDir%\picture\ability10.jpg, 0
FileInstall, E:\AutoHotkey\picture\ability11.jpg, %A_WorkingDir%\picture\ability11.jpg, 0
FileInstall, E:\AutoHotkey\picture\ability12.jpg, %A_WorkingDir%\picture\ability12.jpg, 0
FileInstall, E:\AutoHotkey\picture\ability13.jpg, %A_WorkingDir%\picture\ability13.jpg, 0
FileInstall, E:\AutoHotkey\picture\ability14.jpg, %A_WorkingDir%\picture\ability14.jpg, 0
FileInstall, E:\AutoHotkey\picture\icon.jpg, %A_WorkingDir%\picture\icon.jpg, 0
return
</code></pre></div><p>Скачать:<br /><a href="http://rghost.ru/44896097">http://rghost.ru/44896097</a></p><p>Отчет по вирусам:<br /><a href="https://www.virustotal.com/ru/file/314ad6867a463fcd6a701fad5bef9867e4f138d714dbbd5b8da7404922f29427/analysis/1364644350/">https://www.virustotal.com/ru/file/314a … 364644350/</a></p>]]></description>
			<author><![CDATA[null@example.com (NonameDayz)]]></author>
			<pubDate>Sat, 30 Mar 2013 11:50:59 +0000</pubDate>
			<guid>http://forum.script-coding.com/viewtopic.php?pid=70937#p70937</guid>
		</item>
	</channel>
</rss>
