Skip to content

Instantly share code, notes, and snippets.

View hoppfrosch's full-sized avatar

hoppfrosch hoppfrosch

  • Hesse, Germany
View GitHub Profile
@tmplinshi
tmplinshi / EXTRAS.ahk
Last active April 15, 2022 03:20
HEX, RGB, INT, STR | Convert Base. (by jNizM, http://ahkscript.org/boards/viewtopic.php?f=6&t=3925)
; ========================================================
; Int to Hex
; ========================================================
int2hex(int)
{
HEX_INT := 8
while (HEX_INT--)
{
n := (int >> (HEX_INT * 4)) & 0xf
ret .= n > 9 ? chr(55 + n) : n
@hoppfrosch
hoppfrosch / Class_RegEx.ahk
Created March 25, 2014 11:26
RegEx Class #ahk #class
/*
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
@9to5IT
9to5IT / Script_Template.ps1
Last active April 9, 2024 14:01
PowerShell: Script Template
#requires -version 2
<#
.SYNOPSIS
<Overview of script>
.DESCRIPTION
<Brief description of script>
.PARAMETER <Parameter_Name>
<Brief description of parameter input required. Repeat this attribute if required>
@AHK-just-me
AHK-just-me / AHKRCMS.ahk
Created December 4, 2013 14:27
AHKRCMS - AutoHotkey Right-Click Menu Settings
; ======================================================================================================================
; AHKRCMS AutoHotkey Right-Click Menu Settings
; Function: Customise your AHK right-click menu.
; AHK version: AHK 1.1.13.01
; Tested on: Win XP (x86) / Win 7 (x64)
; Version: 1.0.00.00/2013-12-04/just me
; Remarks: All changes are stored in the key HKEY_CURRENT_USER\Software\Classes\AutoHotkey in the current user
; branch of the registry. Changes can be reset easily by clicking the "Restore AHK defaults" button or
; removing the entire key with RegEdit.exe manually.
; The script relies on the current AHK 1.1 default installation registry keys, folder structures and
@AHK-just-me
AHK-just-me / Class_TransparentListBox.ahk
Created October 5, 2013 09:11
Transparent ListBox control.
; ======================================================================================================================
; Namespace: TransparentListBox
; AHK version: AHK 1.1.13.00
; Function: Helper object for transparent ListBoxes
; Language: English
; Tested on: Win XP (U32) & Win7 x64 (U64)
; Version: 0.1.00.00/2013-10-03/just me - Initial release.
; ======================================================================================================================
; CLASS TransparentListBox
;
;========================================================================
;
; TreeView Browser
;
; Author: Pulover [Rodolfo U. Batista]
; rodolfoub@gmail.com
;
; Requires CreateTreeView.ahk (Thanks Learning one for this function)
; http://www.autohotkey.com/board/topic/92863-function-createtreeview/
;
;========================================================================
;
; Dynamic Function Tester
;
; Author: Pulover [Rodolfo U. Batista]
; rodolfoub@gmail.com
;
;========================================================================
; Number of Rows for each parameter and for result:
;=======================================================================================
;
; MouseExtras
;
; Author: Pulover [Rodolfo U. Batista]
; rodolfoub@gmail.com
;
; Assign Labels to Button Hold & Double Click
;=======================================================================================
/*
;=======================================================================================
;
; Function: CreateIconsDll
; Description: Creates an Icon Resources Dll from ico files in a folder.
;
; Author: Pulover [Rodolfo U. Batista] (rodolfoub@gmail.com)
; Credits: DllCreateEmpty() by SKAN
; ReplaceIcon() based on ReplaceAhkIcon() by fincs
;
;=======================================================================================
@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