diff options
author | John Ankarström <john@ankarstrom.se> | 2020-10-23 01:24:24 +0200 |
---|---|---|
committer | John Ankarström <john@ankarstrom.se> | 2020-10-23 01:24:24 +0200 |
commit | 1500b520889f9952201f1401001479a51e7cbd29 (patch) | |
tree | defed872a4e941b5a4624927f194b5dc590407b5 /drm.ahk | |
parent | e8181cd2509e94052702adba54f8754b84cf43ee (diff) | |
download | drm-1500b520889f9952201f1401001479a51e7cbd29.tar.gz |
release 1.3
Diffstat (limited to 'drm.ahk')
-rw-r--r-- | drm.ahk | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -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) |