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
; By Jackieku - http://www.autohotkey.com/board/topic/35660-url-encoding-function/ | |
; JavaScript encodeURI() | |
URI_Encode(sURI, sExcepts = "!#$&'()*+,-./:;=?@_~") | |
{ | |
Transform sUTF8, ToCodePage, 65001, %sURI% | |
origFmt := A_FormatInteger | |
SetFormat IntegerFast, hex | |
sResult := "" | |
Loop |
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
/* | |
Created by Frankie Bagnardi | |
Forum topic: http://www.autohotkey.com/forum/topic74340.html | |
Licensed under the MIT license: http://www.opensource.org/licenses/mit-license.php | |
v0.5 | |
Modified by R3gX - http://www.autohotkey.com/board/topic/69236-regex-class/page-2#entry582249 | |
*/ | |
class RegEx |
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
;--------------------------------------------------------------- | |
; CornerNotify.ahk | |
; http://www.autohotkey.com/board/topic/94458-msgbox-replacement-monolog-non-modal-transparent-message-box-cornernotify/ | |
;--------------------------------------------------------------- | |
; CHANGELOG | |
;v1.12 2014-05-04 CHANGED BY LAGOMORPH | |
;Added additional "p" parameter for secs to make the popup persist until destroyed via CornerNotify_Destroy() | |
;Changed GUI name to CornerNotify instead of default GUI to avoid conflicts with other GUIs |
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
; Set Icon for row "subItem" within Listview | |
; | |
; Author: Tseug (http://www.autohotkey.com/board/topic/72072-listview-icons-in-more-than-first-column-example/) | |
; | |
LV_SetSI(hList, iItem, iSubItem, iImage){ | |
VarSetCapacity(LVITEM, 60, 0) | |
LVM_SETITEM := 0x1006 , mask := 2 ; LVIF_IMAGE := 0x2 | |
iItem-- , iSubItem-- , iImage-- ; Note first column (iSubItem) is #ZERO, hence adjustment | |
NumPut(mask, LVITEM, 0, "UInt") | |
NumPut(iItem, LVITEM, 4, "Int") |
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
# Source http://slanter-ahk.blogspot.de/2009/02/ahk-new-auto-clicker.html | |
# This is a new 5-line autoclicker made possible with the release of AHK 1.0.48. Use Insert to toggle it on and off. | |
LButton:: | |
While GetKeyState("LButton","P") | |
Send {LButton} | |
Return | |
Insert::Hotkey, LButton, Toggle |
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
#!/usr/bin/env bash | |
# Use this one-liner to produce a JSON literal from the Git log: | |
git log \ | |
--pretty=format:'{%n "commit": "%H",%n "author": "%an <%ae>",%n "date": "%ad",%n "message": "%f"%n},' \ | |
$@ | \ | |
perl -pe 'BEGIN{print "["}; END{print "]\n"}' | \ | |
perl -pe 's/},]/}]/' |
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
/* | |
##################### | |
GoToTilla v0.22 by hoppfrosch - Added parsing of properties (AHK > 1.1.16.*) | |
http://www.autohotkey.com/board/topic/95536-gototilla-a-combination-of-goto-and-tillagoto/ | |
GoToTilla v0.21 by budRich | |
http://www.autohotkey.com/board/topic/95536-gototilla-a-combination-of-goto-and-tillagoto/ | |
A combination of: GoTo by Avi Aryan | |
http://www.autohotkey.com/board/topic/95009-goto-hotkeys-hotstrings-functions-and-labels-in-any-editor/ | |
and TillaGoto by TheGood | |
http://www.autohotkey.com/forum/viewtopic.php?t=41575 |
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
Args( CmdLine := "", Skip := 0 ) { ; By SKAN, http://goo.gl/JfMNpN, CD:23/Aug/2014 | MD:24/Aug/2014 | |
Local pArgs := 0, nArgs := 0, A := [] | |
pArgs := DllCall( "Shell32\CommandLineToArgvW", "WStr",CmdLine, "PtrP",nArgs, "Ptr" ) | |
Loop % ( nArgs ) | |
If ( A_Index > Skip ) | |
A[ A_Index - Skip ] := StrGet( NumGet( ( A_Index - 1 ) * A_PtrSize + pArgs ), "UTF-16" ) | |
Return A, A[0] := nArgs - Skip, DllCall( "LocalFree", "Ptr",pArgs ) |
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
; Written by Lexikos - see: http://www.autohotkey.com/board/topic/20925-listvars/#entry156570 | |
Loop { | |
tick := A_TickCount | |
ToolTip % ListGlobalVars() | |
} | |
ListGlobalVars() | |
{ | |
static hwndEdit, pSFW, pSW, bkpSFW, bkpSW | |
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
; Credits: jballi - https://autohotkey.com/boards/viewtopic.php?f=6&t=3392 | |
#NoEnv | |
#SingleInstance Force | |
;;;;;ListLines Off | |
;-- Initialize | |
Caption :=True | |
ToolWindow :=False | |
Resize :=False | |
Theme :=True |