Skip to content

Instantly share code, notes, and snippets.

View OvercastBTC's full-sized avatar

OvercastBTC OvercastBTC

  • 18:28 (UTC -07:00)
View GitHub Profile
#Requires AutoHotkey v2.0
; Version: 2023.10.05.1
; https://gist.github.com/7cce378c9dfdaf733cb3ca6df345b140
GetUrl() { ; Active Window Only
static S_OK := 0, TreeScope_Descendants := 4, UIA_ControlTypePropertyId := 30003, UIA_DocumentControlTypeId := 50030, UIA_EditControlTypeId := 50004, UIA_ValueValuePropertyId := 30045
hWnd := WinGetID("A")
IUIAutomation := ComObject("{FF48DBA4-60EF-4201-AA87-54103EEF594E}", "{30CBE57D-D9D0-452A-AB13-7AC5AC4825EE}")
eRoot := ComValue(13, 0)
/*
======================================================
InstantHotstring.ahk by Jack Dunning—April 23, 2019
======================================================
The InstantHotstring.ahk script saves newly created Hotstrings in a
DropDownList GUI control. When setting a Hotstring, AutoHotkey
immediately activates it and adds it to the DropDownList. You can
deactivate/activate Hotstrings using the Toggle Hotstring On/Off
button. The GUI window includes an Edit GUI control Hotstring Test
@infval
infval / emuparadise.download.user.js
Last active June 5, 2024 04:51
emuparadise.me download workaround (Most games + Sega Dreamcast, Books/Comics/Guides/Magazines)
// ==UserScript==
// @name EmuParadise Download Workaround
// @version 1.2.3
// @description Replaces the download button link with a working one
// @author infval (Eptun)
// @match https://www.emuparadise.me/*/*/*
// @grant none
// ==/UserScript==
// https://www.reddit.com/r/Piracy/comments/968sm6/a_script_for_easy_downloading_of_emuparadise_roms/
@Logerfo
Logerfo / AutoHotkey.ahk
Last active February 28, 2023 06:29
AutoHotkey
#MaxHotkeysPerInterval 200
#NoEnv
SendMode Input
SetWinDelay, 0
;suspend
*ScrollLock::Suspend
;macros
::lenny::( ͡° ͜ʖ ͡°)
@davebrny
davebrny / reloadr.ahk
Last active April 15, 2023 20:29
🚚 (autohotkey) - reload running scripts from a context menu
/*
[script info]
version = 0.8
description = reload running scripts from a context menu
author = davebrny
source = https://gist.github.com/davebrny/4f14e1edb4fac2fc2459c3d87fa537f7
[settings]
hotkey_menu = ^+`
hotkey_default = ^`