Skip to content

Commit

Permalink
Create defaults.ahk for mapping MacOS to Windows hotkeys
Browse files Browse the repository at this point in the history
  • Loading branch information
sfc-gh-eraigosa authored Mar 31, 2024
1 parent 6d095e9 commit de9f91f
Showing 1 changed file with 81 additions and 0 deletions.
81 changes: 81 additions & 0 deletions opt/Desktop/defaults.ahk
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

0 comments on commit de9f91f

Please sign in to comment.