Skip to content

Instantly share code, notes, and snippets.

@joejag
Created December 1, 2023 18:08
Show Gist options
  • Save joejag/18e748e6a4faec80a71ec0a7e2be6f04 to your computer and use it in GitHub Desktop.
Save joejag/18e748e6a4faec80a71ec0a7e2be6f04 to your computer and use it in GitHub Desktop.
HotKeySet("!a", "Main") ;wait for ALT-a keystroke, then go to Main()
While 1
Sleep(100)
WEnd
Func Main()
AutoItSetOption( "MouseCoordMode", 0 )
WinWait( "@Alexander - Discord" )
WinActivate( "@Alexander - Discord" )
Send( "My foot says hello" )
Send( "{ENTER}" )
EndFunc
@joejag
Copy link
Author

joejag commented Dec 1, 2023

Install ElfKey -> set alt+a to be start
Install Autoit and run script

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment