Jump to content

How to use the hotkey function in VB?


Hybrixe
 Share

Recommended Posts

Declare Auto Function RegisterHotKey Lib "user32.dll" (Byval handle As IntPtr, ByVal id As Integer, ByVal fsModifier As UInt32, ByVal vk As UInt32) As Boolean

You will also need a window. You watch the window messages for the hotkey message and that lets you know it was pressed.

Keep in mind this is not as simple as AutoIt makes it out to be.

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...