* Support for AHK 2.0

* Reorganized files
* Updated official MacOS shortcut page text
  * No additional shortcuts were added except Accessability shortcuts which are not intended to be supported
* Removed stale note about admin rights being required
* Added note about persisting script
This commit is contained in:
Stephen Nilsen
2023-09-09 14:32:34 -05:00
parent cd8d9643a5
commit 410d0a4199
10 changed files with 243 additions and 73 deletions

View File

@@ -1,6 +1,6 @@
# MacOS Keyboard Behavior in Windows
![logo.png](logo.png)
![logo.png](assets/logo.png)
<br><br>
This [AutoHotKey script](mac.ahk) seeks to deliver all the **superior** MacOS keyboard behavior you love in Windows!
@@ -8,19 +8,23 @@ This [AutoHotKey script](mac.ahk) seeks to deliver all the **superior** MacOS ke
## Prerequisites
1. A Windows-style keyboard; **this solution is not designed to work with a Mac keyboard**
2. [AutoHotKey](https://www.autohotkey.com/) installed on your PC
> #### **NOTE**
> This project provides scripts for both AHK 2.0+ and AHK 1.1, but the 1.1 script is no longer being updated or tested as of **09/09/2023**
3. Swap your Ctrl and Alt keys using [Microsoft Power Toys](https://apps.microsoft.com/store/detail/microsoft-powertoys/XP89DCGQ3K6VLD?hl=en-us&gl=us)
![PowerToys_KeyboardManager.png](PowerToys_KeyboardManager.png)
![PowerToys_KeyboardManager.png](assets/PowerToys_KeyboardManager.png)
> ### **NOTE**
> If your machine is restricted by an admin and you are unable to install Power Toys from the Microsoft store link above, you can try installing the per-user scope version of Power Toys from the [Power Toys GitHub](https://github.com/microsoft/PowerToys/releases)
> ![PowerToys_User_Download.png](PowerToys_User_Download.png)
> ![PowerToys_User_Download.png](assets/PowerToys_User_Download.png)
3. Optional (but highly recommended): Turn on PowerToys Run and assign it to Ctrl+Space (Since you swapped your Ctrl and Alt keys in the previous step)
4. Optional (but highly recommended): Turn on PowerToys Run and assign it to Ctrl+Space (Since you swapped your Ctrl and Alt keys in the previous step)
![PowerToys_Run](PowerToys_Run.png)
![PowerToys_Run](assets/PowerToys_Run.png)
4. Optional: Install [Monosnap](https://monosnap.com/) for screenshots.
5. Optional: Install [Monosnap](https://monosnap.com/) for screenshots.
---
@@ -28,18 +32,23 @@ This [AutoHotKey script](mac.ahk) seeks to deliver all the **superior** MacOS ke
1. [Prerequisites](#prerequisites) first!
2. Create a new `mac.ahk` file in the location of your choice. I recommend `%userprofile%/Documents/AutoHotKey/mac.ahk`.
3. Open your newly created file in a text editor such as Notepad.
4. Copy the contents of this [mac.ahk](mac.ahk) into the file you created and save changes.
4. Copy the contents of [mac.ahk](mac.ahk) into the file you created and save changes.
> #### **NOTE**
> [mac1.1.ahk](./mac1.1.ahk) is available if you still want to run AHK 1.1, but this script is no longer being updated or tested as of **09/09/2023**
5. Run the file by double-clicking it in Windows Explorer.
6. Optionally, learn how to use the Windows Startup folder or Task Scheduler to automatically start your script whenever you log in.
---
## Buy me a coffee (optional) ☕
[<img src="qr_Ko-fiDonate.png" alt="Donate" width="200"/>](https://ko-fi.com/stephennilsen)
[<img src="assets/qr_Ko-fiDonate.png" alt="Donate" width="200"/>](https://ko-fi.com/stephennilsen)
## https://ko-fi.com/stephennilsen
---
## Available shortcuts in this release
This script seeks to implement all shortcuts listed on the official [MacOS keyboard shortcuts page](https://support.apple.com/en-us/HT201236). The list below is current with that page as of **01/26/2023**. Items that are checked off have been implemented in the latest release.
This script seeks to implement all shortcuts listed on the official [MacOS keyboard shortcuts page](https://support.apple.com/en-us/HT201236), with the exception of the Accessibility Shortcuts section added in May 2023. The list below is current with that page as of **09/09/2023**. Items that are checked off have been implemented in the latest release.
> ### **IMPORTANT NOTE**
> The list of keyboard shortcuts below is formatted Apple-style. Use this keymap to perform these shortcuts in Windows: