iWinBoard is an AutoHotkey script that remaps certain keys on the Apple Keyboard to make it work better in Windows. This is useful for you if you use an Apple Keyboard with a Windows PC, such as a Hackintosh. This script works best with English Apple Keyboards.
Installation and Usage:
- Download iWinBoard. Alternatively, you can use the original uncompiled AHK script with AutoHotkey.
- You can simply run the EXE, but you should put the EXE file in %appdata%\Microsoft\Windows\Start Menu\Programs\Startup so the script will autostart with Windows.
- Restart your computer or manually launch the script.
Many thanks to mattheath and davejamesmiller for inspirational code!
Warning if you want to copy the code: the annotations contain Unicode characters, make sure you use UTF-8.
; AutoHotkey Version: 1.x ; Language: English ; Platform: Win9x/NT ; Author: Brad Ling <bradling2000@gmail.com> ; Script Function: ; Remaps certain keys on the Apple Keyboard to make it work better in Windows ; F3 (品 Mission Control) → (Windows 10 only) Task View F3::Send #{Tab} ; ------------------------------------------------------------------------------------------- ; F7 (◀◀ Previous Track) → previous F7::Media_Prev ; ------------------------------------------------------------------------------------------- ; F8 (▶॥ Play/Pause) → play/pause F8::Media_Play_Pause ; ------------------------------------------------------------------------------------------- ; F9 (▶▶ Next Track) → next track F9::Media_Next ; ------------------------------------------------------------------------------------------- ; F10 (🔈 Mute) → mute system volume F10::Volume_Mute ; ------------------------------------------------------------------------------------------- ; F11 (🔉 Volume Down) → decrease system volume F11::Volume_Down ; ------------------------------------------------------------------------------------------- ; F12 (🔊 Volume Up) → increase system volume F12::Volume_Up ; ------------------------------------------------------------------------------------------- ; F13 → PrintScreen (take screenshot and save to clipboard) F13::PrintScreen ; ------------------------------------------------------------------------------------------- ; F16 → NumLock (toggle NumPad) F16::NumLock ; ------------------------------------------------------------------------------------------- ; F17 → minimize window (―) F17:: { WinGetActiveTitle, title WinGet, maximized, MinMax, %title% WinMinimize, %title% return } ; ------------------------------------------------------------------------------------------- ; F18 → maximize window (☐) F18:: { WinGetActiveTitle, title WinGet, maximized, MinMax, %title% WinMaximize, %title% return } ; ------------------------------------------------------------------------------------------- ; F19 → close window (X) F19::Send !{F4}