ItsAmber Posted December 17, 2020 Share Posted December 17, 2020 I cant see to get HotKeySet to work in any application, even just Notepad, I've looked at other forum posts but cant see to find any that solve my issues. Its not throwing any errors or flags the HotKey just simply wont work. Ill post a sample code (that also doesn't work) if you know a fix please let me know Sample Code: While 1 Sleep(10) WEnd HotKeySet("{o}","Test") Func Test() Send("Test") EndFunc Link to comment Share on other sites More sharing options...
Aelc Posted December 17, 2020 Share Posted December 17, 2020 (edited) what about to set the hotkey before the loop? And you only need to set it into "{}" if you want a special key which are listed in Send() helpfile - like the helpfile of HotKeySet says. Next time try to use the helpfiles before asking HotKeySet("o","Test") While 1 Sleep(10) WEnd Func Test() Send("Test") EndFunc Edited December 20, 2020 by Aelc why do i get garbage when i buy garbage bags? Link to comment Share on other sites More sharing options...
ItsAmber Posted December 17, 2020 Author Share Posted December 17, 2020 10 hours ago, Aelc said: what about to set the hotkey before the loop? And you only need to set it into "{}" if you want a special key which are listed in Send() helpfile - like the helpfile of HotKeySet says. Next time try to use the helpfiles before asking HotKeySet("o","Test") While 1 Sleep(10) WEnd Func Test() Send("Test") EndFunc Hey it worked, TYSM And where are the helpfiles you talk about? Ive never heard of thoes. Link to comment Share on other sites More sharing options...
Developers Jos Posted December 17, 2020 Developers Share Posted December 17, 2020 5 minutes ago, ItsAmber said: And where are the helpfiles you talk about? Ive never heard of thoes. Serious? F1 in SciTE SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past. Link to comment Share on other sites More sharing options...
Moderators JLogan3o13 Posted December 17, 2020 Moderators Share Posted December 17, 2020 (edited) 6 minutes ago, ItsAmber said: And where are the helpfiles you talk about? Ive never heard of thoes. If you open a script in SciTE (it must be one you have already saved) and hit F1, it will bring up the help file. You can also launch the .chm file manually from the directory where you installed AutoIt Edited December 17, 2020 by JLogan3o13 "Profanity is the last vestige of the feeble mind. For the man who cannot express himself forcibly through intellect must do so through shock and awe" - Spencer W. Kimball How to get your question answered on this forum! Link to comment Share on other sites More sharing options...
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