Jump to content

Does AutoIt track registered hotkeys?

Recommended Posts

I am wondering if autoit tracks registered hotkeys? Basically I want to keep track of the hotkeys I set in my script. If autoit already does that then I will use the built-in functionality. If not then I shall keep track of it myself.

I don't understand,

Are you looking for @Hotkeypressed

when placed in a function that was called by a hotkey it returns the hotkey that was pressed.

Link to comment
Share on other sites

I am looking to see if there is a function that I could call that would return an array of set hotkeys like this:

HotKeySet("1", "Function1")

... code ...

HotKeySet("2", "Function2")

... code ...

HotKeySet("3", "Function3")

... code ...

$array[100][2] = GetSetHotKeys()

And $array would contain something like:

$array[0] = [3, 0]

$array[1] = ["1", "Function1"]

$array[2] = ["2", "Function2"]

$array[3] = ["3", "Function3"]

I could set up some functions to keep track of hotkeys but I was wondering if AutoIt already did so.

Edited by Christopher Blue
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

  • Recently Browsing   0 members

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