From 1500b520889f9952201f1401001479a51e7cbd29 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?John=20Ankarstr=C3=B6m?= Date: Fri, 23 Oct 2020 01:24:24 +0200 Subject: release 1.3 --- drm.ahk | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'drm.ahk') diff --git a/drm.ahk b/drm.ahk index 2207436..6a74841 100644 --- a/drm.ahk +++ b/drm.ahk @@ -45,12 +45,21 @@ Menu, Tray, Tip, Dynamic Resolution Manager for k, res in Resolutions Menu, Tray, Add, %res%, SelectMenuResolution Menu, Tray, Add +Menu, Tray, Add, &Configure..., Configure Menu, Tray, Add, E&xit, ButtonExit return ButtonExit: ExitApp +; Open configuration + +Configure() +{ + RegWrite, REG_SZ, HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Applets\Regedit, LastKey, HKEY_CURRENT_USER\Software\JohnAJ\DRM + Run, regedit /m +} + ; Select resolution from tray menu SelectMenuResolution(ItemName, ItemPos, MenuName) -- cgit v1.2.3