-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Create defaults.ahk for mapping MacOS to Windows hotkeys
- Loading branch information
1 parent
6d095e9
commit de9f91f
Showing
1 changed file
with
81 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,81 @@ | ||
#NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases. | ||
#SingleInstance force | ||
; #Warn ; Enable warnings to assist with detecting common errors. | ||
SendMode Input ; Recommended for new scripts due to its superior speed and reliability. | ||
SetWorkingDir %A_ScriptDir% ; Ensures a consistent starting directory. | ||
^e:: | ||
Send, [email protected] | ||
return | ||
|
||
#SingleInstance,force | ||
;https://autohotkey.com/board/topic/83571-autohotkey-connect-to-bluetooth/ | ||
^!b:: | ||
Run, bthprops.cpl | ||
Sleep, 3000 | ||
Send, {tab}{tab}{tab}{Down}{Enter} | ||
Sleep, 1000 | ||
Send, {tab}{Enter} | ||
Sleep, 3000 | ||
Send, !{tab} | ||
return | ||
|
||
Lwin:: | ||
return | ||
|
||
LWin & 1:: | ||
Send, 1 | ||
return | ||
|
||
LWin & r:: | ||
Send, r | ||
return | ||
|
||
LWin & c:: | ||
Send, ^c | ||
return | ||
|
||
LWin & v:: | ||
Send, ^v | ||
return | ||
|
||
LWin & x:: | ||
Send, ^x | ||
return | ||
|
||
LWin & a:: | ||
Send, ^a | ||
return | ||
|
||
LWin & z:: | ||
Send, ^z | ||
return | ||
|
||
LWin & s:: | ||
Send, ^s | ||
return | ||
|
||
LWin & n:: | ||
Send, ^n | ||
return | ||
|
||
LWin & o:: | ||
Send, ^o | ||
return | ||
|
||
LWin & f:: | ||
Send, ^f | ||
return | ||
|
||
LWin & q:: | ||
WinGetTitle, Title, A | ||
if ( Title = "World of Warcraft" ) { | ||
return | ||
} | ||
|
||
PostMessage, 0x112, 0xF060,,, %Title% | ||
return | ||
|
||
LWin & Control:: | ||
Send, ^# | ||
return | ||
|