Jump to content
Sign in to follow this  


Recommended Posts

HotKeySet("1", "Func1")
HotKeySet("2", "Func2")
HotKeySet("3", "Func3")
HotKeySet("4", "Func4")
HotKeySet("=", "Exit")

Whenever I try to add multiple HotKeys liks above, none of them the code works anymore, is there a a reason for this or would it be that they are working but my code in the functions isn't?

Share this post

Link to post
Share on other sites

Strange answer Larry. Yourself made the solution for this...

How to set an hotkey on the key '0'

;In the first 10 second pressing the key 0 (not in the numpad) will show a msgbox
AdlibEnable ('_test',50)

Func _Test()
   $aState = DLLCall("user32","int","GetAsyncKeyState","int",0x30)
   If $aState[0] = -32767 Then

Func _FunctionToCall()
   MsgBox(0,'','Wow, it works!')

The original Larry code is here, check it out.

Edited by ezzetabi

Share this post

Link to post
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
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

  • Create New...