Skip to content

Instantly share code, notes, and snippets.

UPDATE

MAY 2025: OUTLOOK NOW NO LONGER WORKS WITH THIS CLIENT.

SEP 2025: STORE NOW ENFORCES AUTOUPDATES, YOU CAN ONLY DISABLE IT FOR UP TO FIVE WEEKS.

πŸ–•πŸ–•πŸ–•πŸ–•πŸ–•πŸ–•πŸ–•πŸ–•πŸ–•πŸ–•


REVERTING OUTLOOK BACK TO WINDOWS MAIL AND KEEPING IT FOREVER

@vaner-org
vaner-org / PureRef.ahk
Created October 10, 2024 22:02
AutoHotKey script to open PureRef
#NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases.
SetWorkingDir %A_ScriptDir% ; Ensures a consistent starting directory.
SendMode Input ; Recommended for new scripts due to its superior speed and reliability.
; Global variable to store the ID of the window that was active before PureRef
global lastActiveWindow := 0
#Up:: ; REPLACE WITH HOTKEY OF CHOICE
IfWinExist, ahk_exe PureRef.exe
{