Hotkey(“key”,”modifier”)

Hotkey(“2”, “”) sends the same key to all windows Hotkey(“KEY”, “MODIFER”) modifier is alt, ctrl, shift

Usage

Using Function Key

Pushing F1 would send all windows the key 1
$F1::Hotkey("1","") 

Using Letters
Pushing a would send all windows a
$a::Hotkey("a","") 

Pushing a would send all windows alt 1
$a::Hotkey("1","alt") 

Using Numbers

Pushing 1 would send all windows 1
$1::Hotkey("1","") 

Using Alt 1
Pushing alt 1 would send all windows alt 1
$!1::Hotkey("1","alt") 

Using Ctrl 1
Pushing ctrl 1 would send all windows ctrl 1
$^1::Hotkey("1","ctrl") 

Using Shift 1
Pushing shift 1 would send all windows shift 1
$+1::Hotkey("1","shift") 

Leave a Reply

Your email address will not be published. Required fields are marked *

Back To Top