This file contains hidden or 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
Gui, Add, Edit, w300 h100 hwndhEdit, try to navigate with caret and cursor`n this is a test | |
Gui, Show | |
;some part of an old code | |
IconDataHex = | |
( Join | |
0000020001002020000000000000a8100000160000002800000020000000 | |
400000000100200000000000801000000000000000000000000000000000 | |
000000000000000000000000000000000000000000000000000000000000 | |
000000000000000000000000000000000000000000000000000000000000 |
This file contains hidden or 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
; FiletoHex.ahk | |
#NoEnv | |
#SingleInstance Force | |
SetWorkingDir %A_ScriptDir% | |
SetBatchLines -1 | |
ListLines Off | |
; StringSlice() for FiletoHex - www.autohotkey.com/forum/viewtopic.php?t=8728 | |
; by SKAN Suresh Kumar A N, arian.suresh@gmailcom | CD: 10-Oct-2010 / LM: 10-Oct-2010 |
This file contains hidden or 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
/* MD5 Message-Digest Algorithm - JavaScript | |
' MODIFICATION HISTORY: | |
' 1.0 16-Feb-2001 - Phil Fresle ([email protected]) - Initial Version (VB/ASP code) | |
' 1.0 21-Feb-2001 - Enrico Mosanghini ([email protected]) - JavaScript porting | |
*/ | |
function MD5(sMessage) { | |
function RotateLeft(lValue, iShiftBits) { return (lValue << iShiftBits) | (lValue >>> (32 - iShiftBits)); } | |
function AddUnsigned(lX, lY) { | |
var lX4, lY4, lX8, lY8, lResult; | |
lX8 = (lX & 0x80000000); |
This file contains hidden or 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 hidden or 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
;================================================================================================= | |
; Class GuiBox | |
; AHK Version: 1.1.13.01 | |
; Version: 1.00 / 2013-12-25 / tmplinshi | |
; dependency: Gdip.ahk 1.45 by tic (http://www.autohotkey.com/board/topic/29449-gdi-standard-library-145-by-tic/) | |
; Thanks: nimda, gregster ... | |
;================================================================================================= | |
; Methods: | |
; new GuiBox( GuiOptions [, Color = "808080", Thickness = 2, Style = 1, Text = "", TextFont = "", TextOptions = ""] ) | |
; Modify( GuiOptions [, Color = "808080", Thickness = 2, Style = 1, Text = "", TextFont = "", TextOptions = ""] ) |
This file contains hidden or 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 hidden or 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_Sample.ahk | |
; DOM Documentation: | |
; http://www.w3schools.com/jsref/dom_obj_all.asp | |
#NoEnv | |
#SingleInstance Force | |
SetBatchLines -1 | |
ListLines Off | |
ComObjError(False) |
This file contains hidden or 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
; Scrollable image list ( supports .gifs) | |
: Author: Sjc1000 | |
; Link: http://ahkscript.org/boards/viewtopic.php?f=6&t=1277 | |
FileSelectFolder, myFolder, | |
imageExt := "jpg,bmp,gif,png" | |
main := new imageDisplay(1, A_ScreenWidth / 1.2 - 20, A_ScreenWidth / 3, ( A_ScreenWidth / 1.2 ) / 4.6 ) |
This file contains hidden or 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
; ============================================================== | |
; 北京时间校准器 | |
; v1.04 / 2014-9-8 / tmplinshi | |
; -------------------------------------------------------------- | |
; AutoHotkey 版本: 1.1.13.01 | |
; 感谢 : "just me" 的 Class_ImageButton | |
; ============================================================== | |
;----------------------------------------- | |
/* |
This file contains hidden or 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
Download(url, dest) | |
{ | |
static oHttp := ComObjCreate("WinHttp.WinHttpRequest.5.1") | |
oHttp.Open("GET", url, True) | |
oHttp.Send() | |
If !oHttp.WaitForResponse(-1) ; Success = -1, Timeout = 0, No response = Empty String | |
Return False | |
if ( ComObjType(oHttp.ResponseStream) = 0xD ) ; VT_UNKNOWN = 0xD | |
{ |