Skip to content

Instantly share code, notes, and snippets.

View hoppfrosch's full-sized avatar

hoppfrosch hoppfrosch

  • Hesse, Germany
View GitHub Profile
@AHK-just-me
AHK-just-me / Class_DllStruct.ahk
Created June 6, 2013 20:04
Class_DllStruct - easily handle Win-API structures used with DllCall()
; ======================================================================================================================
; AHK_L 1.1 +
; ======================================================================================================================
; Function: Class definitions for windows structures used with DllCall
; AHK version: 1.1.05.06 (U 32) / (U64)
; Language: English
; Tested on: Win XPSP3, Win VistaSP2 (x86) / Win 7 (x64)
; Version: 0.0.01.09/2011-12-09/just me
; Remarks: To create a structure create a new instance of the class using
; MyStruct := New DllStruct(StructStr)
@AHK-just-me
AHK-just-me / CTLCOLORS_sample.ahk
Created June 28, 2013 05:00
Class CTLCOLORS - coloured background and/or text for controls which don't support colouring natively.
#NoEnv
#Include Class_CTLCOLORS.ahk
OnExit, GuiClose
; ----------------------------------------------------------------------------------------------------------------------
LB_SETCURSEL := 0x186
CB_SETCURSEL := 0x14E
Red := "FF0000"
Green := "00C000"
Blue := "0000FF"
Pink := "FF20FF"
@Pulover
Pulover / Rebar_Browser.ahk
Last active December 19, 2015 19:49
Test Browser prototype for testing Class_Rebar.ahk.
#NoEnv
#SingleInstance, Force
SetBatchLines, -1
Process, Priority,, High
#Include <Class_Toolbar> ; http://www.autohotkey.com/board/topic/94750-class-toolbar-create-and-modify
#Include <Class_Rebar>
Gui, +Resize
Gui, Add, Custom, ClassToolbarWindow32 hwndhToolbar x0 y0 h23 w500 0x0800 0x0100 0x0040 0x0008 0x0004
Gui, Add, Custom, ClassReBarWindow32 hwndhRebar gRB_Notifications 0x0200 0x0400 0x0040 0x8000
/*
#####################
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
@Pulover
Pulover / Class_Properties.ahk
Last active December 20, 2015 04:39
Custom Properties Sheet control for AutoHotkey.
;=======================================================================================
;
; Class Properties
;
; Author: Pulover [Rodolfo U. Batista]
; [email protected]
; AHK version: 1.1.11.00
; Release date: 24 July 2013
; Depends on: Class_Rebar <https://gist.github.com/Pulover/6003125>
;
@AHK-just-me
AHK-just-me / Const_ListView.ahk
Created July 28, 2013 09:54
ListView control constants
; ======================================================================================================================
; Function: Constants for ListView controls
; AHK version: 1.1.05+
; Language: English
; Version: 1.0.00.00/2012-04-01/just me
; 1.0.01.00/2012-05-20/just me - fixed some typos
; ======================================================================================================================
; CCM_FIRST = 8192 (0x2000)
; LVM_FIRST = 4096 (0x1000) ; ListView messages
; LVN_FIRST = -100 ; ListView notifications
;=======================================================================================
;
; Function: CreateIconsDll
; Description: Creates an Icon Resources Dll from ico files in a folder.
;
; Author: Pulover [Rodolfo U. Batista] ([email protected])
; Credits: DllCreateEmpty() by SKAN
; ReplaceIcon() based on ReplaceAhkIcon() by fincs
;
;=======================================================================================
;=======================================================================================
;
; MouseExtras
;
; Author: Pulover [Rodolfo U. Batista]
; [email protected]
;
; Assign Labels to Button Hold & Double Click
;=======================================================================================
/*
;========================================================================
;
; Dynamic Function Tester
;
; Author: Pulover [Rodolfo U. Batista]
; [email protected]
;
;========================================================================
; Number of Rows for each parameter and for result:
;========================================================================
;
; TreeView Browser
;
; Author: Pulover [Rodolfo U. Batista]
; [email protected]
;
; Requires CreateTreeView.ahk (Thanks Learning one for this function)
; http://www.autohotkey.com/board/topic/92863-function-createtreeview/
;