Skip to content

Instantly share code, notes, and snippets.

View ian-speckart's full-sized avatar

Ian Speckart ian-speckart

View GitHub Profile
#Requires AutoHotkey v2.0
#SingleInstance Force
; --- GUI Setup ---
MyGui := Gui("", "ScreenshotHelper")
MyGui.SetFont("s10", "Segoe UI")
; Basic controls + layout
btnW := 100
btnH := 24
@ian-speckart
ian-speckart / window-drag.js
Last active November 28, 2025 20:28
Adds window dragging functionality to Neutralino v6.3.0 (where setDraggableRegion currently fails on Windows 11)
/*
* Fixes this issue: https://github.com/neutralinojs/neutralinojs/issues/1488
*/
/**
* This adds window dragging functionality, as the Neutralino dragging fails on Windows 11.
* See issue: https://github.com/neutralinojs/neutralinojs/issues/1488
*/
const dragArea = document.getElementById("app");
let isDragging = false;