This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
; DOM示例.ahk | |
; DOM 文档: | |
; http://www.w3school.com.cn/xmldom/xmldom_reference.asp | |
; http://www.w3schools.com/jsref/dom_obj_all.asp | |
; http://www.w3school.com.cn/htmldom/htmldom_reference.asp | |
#NoEnv | |
#SingleInstance Force | |
SetBatchLines -1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
; KeypressOSD.ahk | |
;-------------------------------------------------------------------------------------------------------------------------- | |
; ChangeLog : v2.22 (2017-02-25) - Now pressing same combination keys continuously more than 2 times, | |
; for example press Ctrl+V 3 times, will displayed as "Ctrl + v (3)" | |
; v2.21 (2017-02-24) - Fixed LWin/RWin not poping up start menu | |
; v2.20 (2017-02-24) - Added displaying continuous-pressed combination keys. | |
; e.g.: With CTRL key held down, pressing K and U continuously will shown as "Ctrl + k, u" | |
; v2.10 (2017-01-22) - Added ShowStickyModKeyCount option | |
; v2.09 (2017-01-22) - Added ShowModifierKeyCount option | |
; v2.08 (2017-01-19) - Fixed a bug |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
url:= "https://cdn.ostrovok.ru/t/1024x768/second/fd/8b/fd8b26115b8cf4510b8bf02fe85084eecbbd32a8.jpeg" | |
localFilePath:= "TestWhr.jpg" | |
;=================================================================================== | |
FileDelete % localFilePath | |
DownLoader := ComObjCreate("WMPlayer.OCX.7") | |
DownLoader.url := url, moreDataAvailable:= 1 | |
Whr := ComObjCreate("WinHttp.WinHttpRequest.5.1") | |
Events := new IWinHttpRequestEvents(Whr, Func("ReceiveData").Bind(localFilePath, Stop := [false])) | |
Whr.Open("GET", url, true) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
; ---------------------------------------------------------------------------------------------------------------------- | |
; Name ..........: TrayIcon library | |
; Description ...: Provide some useful functions to deal with Tray icons. | |
; AHK Version ...: AHK_L 1.1.13.01 x32/64 Unicode | |
; Original Author: Sean (http://goo.gl/dh0xIX) (http://www.autohotkey.com/forum/viewtopic.php?t=17314) | |
; Update Author .: Cyruz (http://ciroprincipe.info) (http://ahkscript.org/boards/viewtopic.php?f=6&t=1229) | |
; Mod Author ....: Fanatic Guru | |
; License .......: WTFPL - http://www.wtfpl.net/txt/copying/ | |
; Version Date...: 2014 - 01 - 16 | |
; Note ..........: Many people have updated Sean's original work including me but Cyruz's version seemed the most straight |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
; Accessible Info Viewer by jethrow | |
; https://autohotkey.com/board/topic/77888-accessible-info-viewer-alpha-release-2012-09-20/ | |
; Modified by tmplinshi - https://gist.github.com/tmplinshi/0fcb8655c1402a3662ac048d0d974915/ | |
#NoEnv | |
#SingleInstance, force | |
SetBatchLines, -1 | |
{ | |
WM_ACTIVATE := 0x06 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
WM_ACTIVATE := 0x06 | |
WM_KILLFOCUS := 0x08 | |
WM_LBUTTONDOWN := 0x201 | |
WM_LBUTTONUP := 0x202 | |
global Border := new Outline, Stored:={}, Acc, ChildId, TVobj, Win:={} | |
} | |
{ | |
DetectHiddenWindows, On | |
OnExit, OnExitCleanup |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
CreateFormData - Creates "multipart/form-data" for http post | |
https://www.autohotkey.com/boards/viewtopic.php?t=7647 | |
Usage: CreateFormData(ByRef retData, ByRef retHeader, objParam) | |
retData - (out) Data used for HTTP POST. | |
retHeader - (out) Content-Type header used for HTTP POST. | |
objParam - (in) An object defines the form parameters. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
Functions: | |
CreateByArray(outputFile, arr) | |
CreateByHLV(outputFile, HLV, Obj_LV_Colors := "", IncludeLvHeader := false) | |
HLV - Listview hwnd | |
Obj_LV_Colors - Created by using 'New LV_Colors(HLV)' | |
ChangeLog: | |
v1.05 (2017-8-17) - Added "Column AutoFit"; Added .xls file support | |
v1.04 (2016-12-9) - 'IncludeLvHeader' option now doesn't need to change default listview | |
v1.03 (2016-12-9) - Added support for LV_Colors's AlternateRows/AlternateCols |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
CustomFont v2.01 (2018-8-25) | |
--------------------------------------------------------- | |
Description: Load font from file or resource, without needed install to system. | |
--------------------------------------------------------- | |
Useage Examples: | |
* Load From File | |
font1 := New CustomFont("ewatch.ttf") | |
Gui, Font, s100, ewatch |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
; AutoHotkey Version: AutoHotkey 1.1 | |
; Language: English | |
; Platform: Win7 SP1 / Win8.1 | |
; Author: Antonio Bueno <user atnbueno of Google's popular e-mail service> | |
; Short description: Gets the URL of the current (active) browser tab for most modern browsers | |
; Last Mod: 2014-07-05 | |
Menu, Tray, Icon, % A_WinDir "\system32\netshell.dll", 86 ; Shows a world icon in the system tray | |
#u:: |
NewerOlder