xuzo Posted September 27, 2015 Posted September 27, 2015 With Hotkeys, the file is .ahk and the code inside is this: ^w:: Send, This is some text Return What is the equivalent in AutoItAdditionally how to launch a program with a hotkey?#n:: Run Notepad returnAny VERY simple way to do this with AutoIt?Thanks,
computergroove Posted September 27, 2015 Posted September 27, 2015 (edited) 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 September 27, 2015 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
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now