Skip to content

Commit

Permalink
Rebrand from Alt-Win HotKeys to "Move and Resize Hotkeys" (#10)
Browse files Browse the repository at this point in the history
Rebranding to "Move and Resize Hotkeys" and marking v2.0.0
  • Loading branch information
justcla authored Jan 20, 2023
1 parent 6c0402a commit 1d52c9e
Show file tree
Hide file tree
Showing 9 changed files with 35 additions and 29 deletions.
3 changes: 1 addition & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,4 @@
/.idea/

# Packaging files (Advanced Installer)
/Packaging/AltWinHotKeys-cache/
/Packaging/AltWinHotKeys.back.aip
/Packaging/MoveAndResizeHotkeys-cache/
6 changes: 4 additions & 2 deletions HotkeySettings.ini
Original file line number Diff line number Diff line change
@@ -1,12 +1,14 @@
#------------------------------------------------------------
# Alt+Win HotKeys Settings
# Move And Resize HotKeys Settings
# by Justo Tech
# Windows Hotkey shortcuts based on AutoHotKey (autohotkey.com)
#
# Note: Restart the program for new settings to take effect
#------------------------------------------------------------

[General]
# Supply the name of the initial shortcuts profile. Spelling must match the menu items in the system tray.
# Program default to "Alt+Win shortcut" if InitialShortcutsProfile is not defined (or defined incorrectly).
# Program default to "Move And Resize shortcut" if InitialShortcutsProfile is not defined (or defined incorrectly).
;InitialShortcutsProfile = Alt+Win shortcuts
;InitialShortcutsProfile = Ctrl+Win shortcuts
;InitialShortcutsProfile = Custom shortcuts
Expand Down
10 changes: 5 additions & 5 deletions AltWin-HotKeys.ahk → Move and Resize Hotkeys.ahk
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
SendMode Input ; Recommended for new scripts due to its superior speed and reliability.
SetWorkingDir %A_ScriptDir% ; Ensures a consistent starting directory.

; Author: Justin Clareburt (@justcla)
; Author: Justin Clareburt (@justcla) [Justo Tech]
; Created: 26-May-2020

; Notes:
Expand Down Expand Up @@ -77,15 +77,15 @@ Return ; End initialization

InitializeIcon() {
; Set the System tray icon (should sit next to the AHK file)
if FileExist("AltWinHotKeys.ico") {
Menu, Tray, Icon, AltWinHotKeys.ico
if FileExist("MoveAndResizeHotkeys.ico") {
Menu, Tray, Icon, MoveAndResizeHotkeys.ico
}
}

InitializeMenu() {

; Title - link to Help page
Menu, Tray, Add, About Alt+Win HotKeys, ShowAboutDialog
Menu, Tray, Add, About Move and Resize Hotkeys, ShowAboutDialog
; Settings
Menu, Tray, Add, Settings, OpenSettings
; Edit shortcuts
Expand Down Expand Up @@ -174,7 +174,7 @@ SetShortcutsProfile(ShortcutsProfile) {
}

ShowAboutDialog() {
MsgBox 0, Alt+Win HotKeys, Alt+Win HotKeys - Utility to move and resize windows.`n`n Developed by Justin Clareburt
MsgBox 0, Move and Resize Hotkeys, Move and Resize Hotkeys - Utility to move and resize windows.`n`nDeveloped by Justin Clareburt`n© Justo Tech 2022
}

OpenSettings() {
Expand Down
Binary file renamed AltWin-HotKeys.exe → Move and Resize Hotkeys.exe
Binary file not shown.
File renamed without changes.
6 changes: 3 additions & 3 deletions Packaging/Installation-Readme.txt
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
Alt+Win HotKeys - Move and Resize windows in Microsoft Windows
Move And Resize HotKeys - Move and Resize windows in Microsoft Windows

Alt+Win is configured to run at Windows startup - for the current user.
Move And Resize is configured to run at Windows startup - for the current user.

The installer creates a shortcut in the Startup folder in the user's Windows Start Menu.
This enables Alt+Win HotKeys to run every time the user logs in.
This enables Move And Resize HotKeys to run every time the user logs in.

To avoid the program running at Windows startup, remove the shortcut from the user's Startup folder, typically located in the following directory:

Expand Down
Binary file not shown.
20 changes: 10 additions & 10 deletions Packaging/AltWinHotKeys.aip → Packaging/MoveAndResizeHotkeys.aip
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,13 @@
<ROW Property="ARPNOMODIFY" MultiBuildValue="DefaultBuild:1"/>
<ROW Property="ARPNOREPAIR" Value="1"/>
<ROW Property="ARPURLINFOABOUT" Value="https://github.com/justcla/WindowHotKeys/issues"/>
<ROW Property="AppFolderName" Value="AltWinHotKeys" Options="1"/>
<ROW Property="AppFolderName" Value="MoveAndResizeHotkeys" Options="1"/>
<ROW Property="CTRLS" Value="3"/>
<ROW Property="Manufacturer" Value="JustoTech"/>
<ROW Property="Manufacturer" Value="Justo Tech"/>
<ROW Property="ProductCode" Value="1033:{F8D02DE7-3595-4A11-9A09-B47B23E13EE8} " Type="16"/>
<ROW Property="ProductLanguage" Value="1033"/>
<ROW Property="ProductName" Value="Alt+Win HotKeys"/>
<ROW Property="ProductVersion" Value="1.7.1" Type="32"/>
<ROW Property="ProductName" Value="Move and Resize HotKeys"/>
<ROW Property="ProductVersion" Value="2.0.0" Type="32"/>
<ROW Property="RUNAPPLICATION" Value="1" Type="4"/>
<ROW Property="SecureCustomProperties" Value="OLDPRODUCTS;AI_NEWERPRODUCTFOUND"/>
<ROW Property="UpgradeCode" Value="{ED42B1B5-3014-4135-BB12-5C58FFB8B478}"/>
Expand Down Expand Up @@ -54,13 +54,13 @@
<ATTRIBUTE name="CurrentFeature" value="MainFeature"/>
</COMPONENT>
<COMPONENT cid="caphyon.advinst.msicomp.MsiFilesComponent">
<ROW File="AltWinKeysv0.1.exe" Component_="AltWinKeysv0.1.exe" FileName="ALTWIN~2.EXE|AltWin-HotKeys.exe" Attributes="0" SourcePath="..\AltWin-HotKeys.exe" SelfReg="false" DigSign="true"/>
<ROW File="AltWinKeysv0.1.exe" Component_="AltWinKeysv0.1.exe" FileName="MOVEAN~2.EXE|Move and Resize Hotkeys.exe" Attributes="0" SourcePath="..\Move and Resize Hotkeys.exe" SelfReg="false" DigSign="true"/>
<ROW File="InstallationReadme.txt" Component_="InstallationReadme.txt" FileName="INSTAL~1.TXT|Installation-Readme.txt" Attributes="0" SourcePath="Installation-Readme.txt" SelfReg="false"/>
<ROW File="HotkeySettings.ini" Component_="InstallationReadme.txt" FileName="HOTKEY~1.INI|HotkeySettings.ini" Attributes="0" SourcePath="..\HotkeySettings.ini" SelfReg="false"/>
<ROW File="ShortcutDefsAltWin.ini" Component_="InstallationReadme.txt" FileName="SHORTC~1.INI|ShortcutDefs-AltWin.ini" Attributes="0" SourcePath="..\ShortcutDefs-AltWin.ini" SelfReg="false"/>
<ROW File="ShortcutDefsCtrlWin.ini" Component_="InstallationReadme.txt" FileName="SHORTC~2.INI|ShortcutDefs-CtrlWin.ini" Attributes="0" SourcePath="..\ShortcutDefs-CtrlWin.ini" SelfReg="false"/>
<ROW File="ShortcutDefsCustom.ini" Component_="InstallationReadme.txt" FileName="SHORTC~3.INI|ShortcutDefs-Custom.ini" Attributes="0" SourcePath="..\ShortcutDefs-Custom.ini" SelfReg="false"/>
<ROW File="AltWinHotKeys.ico" Component_="InstallationReadme.txt" FileName="ALTWIN~1.ICO|AltWinHotKeys.ico" Attributes="0" SourcePath="..\AltWinHotKeys.ico" SelfReg="false"/>
<ROW File="AltWinHotKeys.ico" Component_="InstallationReadme.txt" FileName="MOVEAN~1.ICO|MoveAndResizeHotKeys.ico" Attributes="0" SourcePath="..\MoveAndResizeHotKeys.ico" SelfReg="false"/>
<ROW File="VirtualDesktopNavigation.ahk" Component_="VirtualDesktopNavigation.ahk" FileName="VIRTUA~1.AHK|VirtualDesktopNavigation.ahk" Attributes="0" SourcePath="..\lib\VirtualDesktopNavigation.ahk" SelfReg="false"/>
</COMPONENT>
<COMPONENT cid="caphyon.advinst.custcomp.MsiEmbeddedUIComponent">
Expand All @@ -77,7 +77,7 @@
<ROW Action="AI_DetectSoftware" Sequence="151"/>
</COMPONENT>
<COMPONENT cid="caphyon.advinst.msicomp.BuildComponent">
<ROW BuildKey="DefaultBuild" BuildName="DefaultBuild" BuildOrder="1" BuildType="0" PackageFolder="." PackageFileName="AltWin-HotKeys" Languages="en" InstallationType="4" UseLargeSchema="true"/>
<ROW BuildKey="DefaultBuild" BuildName="DefaultBuild" BuildOrder="1" BuildType="0" PackageFolder="." PackageFileName="Move and Resize Hotkeys" Languages="en" InstallationType="4" UseLargeSchema="true"/>
</COMPONENT>
<COMPONENT cid="caphyon.advinst.msicomp.DictionaryComponent">
<ROW Path="&lt;AI_DICTS&gt;ui.ail"/>
Expand Down Expand Up @@ -211,9 +211,9 @@
<ROW Registry="Version" Root="-1" Key="Software\[Manufacturer]\[ProductName]" Name="Version" Value="[ProductVersion]" Component_="ProductInformation"/>
</COMPONENT>
<COMPONENT cid="caphyon.advinst.msicomp.MsiShortsComponent">
<ROW Shortcut="AltWinMoveandResize" Directory_="SHORTCUTDIR" Name="ALT_WI~2|Alt+Win HotKeys" Component_="AltWinKeysv0.1.exe" Target="[#AltWinKeysv0.1.exe]" Description="Alt+Win Move and Resize" Hotkey="0" IconIndex="0" ShowCmd="1" WkDir="APPDIR"/>
<ROW Shortcut="AltWinMoveandResize_1" Directory_="DesktopFolder" Name="ALT_WI~2|Alt+Win HotKeys" Component_="AltWinKeysv0.1.exe" Target="[#AltWinKeysv0.1.exe]" Description="Alt+Win Move and Resize" Hotkey="0" IconIndex="0" ShowCmd="1" WkDir="APPDIR"/>
<ROW Shortcut="AltWinMoveandResize_2" Directory_="StartupFolder" Name="ALT_WI~2|Alt+Win HotKeys" Component_="AltWinKeysv0.1.exe" Target="[#AltWinKeysv0.1.exe]" Description="Provides keyboard shortcuts to move and resize windows with Alt+Windows keys" Hotkey="0" IconIndex="0" ShowCmd="1" WkDir="APPDIR"/>
<ROW Shortcut="AltWinMoveandResize" Directory_="SHORTCUTDIR" Name="MOVEAN~1|Move and Resize Hotkeys" Component_="AltWinKeysv0.1.exe" Target="[#AltWinKeysv0.1.exe]" Description="Move and Resize Hotkeys" Hotkey="0" IconIndex="0" ShowCmd="1" WkDir="APPDIR"/>
<ROW Shortcut="AltWinMoveandResize_1" Directory_="DesktopFolder" Name="MOVEAN~1|Move and Resize Hotkeys" Component_="AltWinKeysv0.1.exe" Target="[#AltWinKeysv0.1.exe]" Description="Move and Resize Hotkeys" Hotkey="0" IconIndex="0" ShowCmd="1" WkDir="APPDIR"/>
<ROW Shortcut="AltWinMoveandResize_2" Directory_="StartupFolder" Name="MOVEAN~1|Move and Resize Hotkeys" Component_="AltWinKeysv0.1.exe" Target="[#AltWinKeysv0.1.exe]" Description="Provides keyboard shortcuts to move and resize windows with Alt+Windows keys" Hotkey="0" IconIndex="0" ShowCmd="1" WkDir="APPDIR"/>
</COMPONENT>
<COMPONENT cid="caphyon.advinst.msicomp.MsiThemeComponent">
<ATTRIBUTE name="UsedTheme" value="classic"/>
Expand Down
19 changes: 12 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
# Alt+Win HotKeys
# Move And Resize Hotkeys
## Shortcuts to move and resize windows in Windows.<br>

### !! Including shortcuts to <u>Move Windows between Virtual Desktops</u>!!
<br>

![Alt+Win HotKeys logo](https://user-images.githubusercontent.com/17131343/87220588-6f73bf00-c3a8-11ea-9ae1-1919b0ad552c.png)
![Move And Resize Hotkeys logo](https://user-images.githubusercontent.com/17131343/87220588-6f73bf00-c3a8-11ea-9ae1-1919b0ad552c.png)

Download the **Installation Wizard**
- Download the [Windows installer MSI](https://github.com/justcla/WindowHotKeys/blob/master/Packaging/AltWin-HotKeys.msi?raw=true) <br>
Expand Down Expand Up @@ -133,23 +133,28 @@ Alt+Win+Shift + 4 | Snap window to Column 4
Alt+Win+Shift + ,(<) | Snap window to the Column on the Left
Alt+Win+Shift + .(>) | Snap window to the Column on the Right

## Additional Windows Shortcuts
### Adjust Volume *(Ctrl+Alt+ NumPad Plus/Minus/Asterisk)*
The following table lists the default shortcut combinations for **adjusting volume**.
## Author's additional shortcuts
Shortcuts added just because the author wanted them.

### Adjust Volume *(Ctrl+Alt+ NumPad Plus/Minus/Asterisk)*
Keyboard Shortcut | Action
--- | ---
Ctrl+Alt+NumPadAdd (NumPad +)| Volume Up
Ctrl+Alt+NumPadSub (NumPad -)| Volume Down
Ctrl+Alt+NumPadMult (NumPad *) | Volume Mute

### International keyboards
Symbols | Action
--- | ---
AltGr + 5<br>Right-Alt + 5 | Print Euro symbol (€)

## Technical details:
Uses [AutoHotkey](https://www.autohotkey.com/).

Works for Windows 10
Works for Windows 10 and Windows 11

## Manual Installation Instructions:
1. Download the Windows executable: AltWinKeys-v0.1.exe
1. Download the Windows executable: Move and Resize Hotkeys.exe
2. Include the EXE in the windows Startup folder. (or run it on demand)

### Where is the Startup folder on the Windows Start Menu?
Expand Down

0 comments on commit 1d52c9e

Please sign in to comment.