Jump to content

How to use Hotkeys to send some text like keyboard shortcuts?


xuzo
 Share

Recommended Posts

HotKeySet("{F2}","SendKeys")
HotKeySet("{F3}","StartProgram")

While 1
    Sleep(100)
WEnd

Func SendKeys()
    Send("asdf")
EndFunc

Func StartProgram()
    Run(@ProgramFilesDir & "\Internet Explorer\IExplore.exe")
EndFunc

 

Edited by computergroove

Get Scite to add a popup when you use a 3rd party UDF -> http://www.autoitscript.com/autoit3/scite/docs/SciTE4AutoIt3/user-calltip-manager.html

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...