Skip to content

Instantly share code, notes, and snippets.

View hoppfrosch's full-sized avatar

hoppfrosch hoppfrosch

  • Hesse, Germany
View GitHub Profile
@hoppfrosch
hoppfrosch / JUnit.ahk
Created December 7, 2012 07:54
AHK: JUnit XML output for Yunit-Framework [#ahk #snippet #unittest #function
;############################
; description: Generate JUnit-XML output for Yunit-Framework (https://github.com/Uberi/Yunit)
;
; author: hoppfrosch
; date: 20121207
;############################
class xml{
; Credits:By Maestrith (http://www.autohotkey.com/board/topic/85010-xml-parser/?hl=msxml)
__New(param*){
ref:=param.1,root:=param.2,file:=param.3
@hoppfrosch
hoppfrosch / NbArrElem.ahk
Created September 18, 2012 09:33
PROBLEM: Determine number of Array elements [#ahk #problem
test := GetTimeZones()
ExitApp
GetTimeZones() {
; Taken from: http://www.autohotkey.com/community/viewtopic.php?t=73951
OutputDebug % "**** GetTimeZones START ****"
; Get the "Time Zones" entries from registry
RegRoot := "HKEY_LOCAL_MACHINE"
RegKey := "SOFTWARE\Microsoft\Windows NT\CurrentVersion\Time Zones"