diff options
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) |