Skip to content

Instantly share code, notes, and snippets.

View techsev's full-sized avatar

Seve Savoie Teruel techsev

View GitHub Profile
@techsev
techsev / gist:363aa2b71e6d56cc2527840e98937211
Created September 21, 2025 13:54
Windows AutoHotKey Script for BenQ Monitor with Display Pilot 2
#Requires AutoHotkey v2.0
FocusTopmostWindowOnMonitor(1)
FocusTopmostWindowOnMonitor(monitorNumber) {
; Get monitor dimensions
Monitor := MonitorGet(monitorNumber)
MonitorGetWorkArea Monitor, &MonitorLeft, &MonitorTop, &MonitorRight, &MonitorBottom
@techsev
techsev / 0_reuse_code.js
Created October 13, 2015 18:02
Here are some things you can do with Gists in GistBox.
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console