Skip to content

Instantly share code, notes, and snippets.

@ericswpark
Created January 7, 2024 16:31
Show Gist options
  • Save ericswpark/ad81777918f12d3d0ce2b1b92400348e to your computer and use it in GitHub Desktop.
Save ericswpark/ad81777918f12d3d0ce2b1b92400348e to your computer and use it in GitHub Desktop.
Quick Windows Bluetooth shortcut
Persistent
#b::
{
; Open Quick Actions window
Send("{LWin Down}a{LWin Up}")
; The quick action window takes a while to initialize and allow keyboard navigation
; Without the sleep timer you may end up on the wrong screen (or disabling WiFi)
; If your computer is slower, increase this value a bit more
Sleep(600)
; WiFi -> Bluetooth
Send("{Right}")
; Bluetooth chevron
Send("{Tab}")
; Enter Bluetooth chevron
Send("{Enter}")
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment