PPowerHouseK Posted January 13, 2011 Posted January 13, 2011 Hello all, I am trying to get my AutoIt script to have hotkeys. Most of the script works off of the Switch function. I need to set a hotkey, that when pressed, goes to a certain case. Kind of like the GOTO function in batch, if that makes sense. Anyhow I realize that the Hotkey must be set then the function that controls it must be placed elsewhere, in my case, below my giant switch function with its many cases. I tried to place the function within the case of the switch function, however that didn't work either. I am very new to this so please bear with me. Thanks in advance.
pedmacedo Posted January 13, 2011 Posted January 13, 2011 I don't think it's possible to redirect the execution to a case with hotkeys. Istead, why don't you make each case a different function with a different hotkey?
PPowerHouseK Posted January 13, 2011 Author Posted January 13, 2011 Thank you very much for your reply I have found a solution.
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