Jump to content

Help with HotKeySet


ItsAmber
 Share

Recommended Posts

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

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 by Aelc

why do i get garbage when i buy garbage bags? <_<

Link to comment
Share on other sites

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

  • Developers
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

  • Moderators
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 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

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

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...