Prae Posted March 26, 2011 Share Posted March 26, 2011 Hello, I'm very new to auto script so please be nice, like 3 days new. I am trying to set up a hotkey so that when I hit the key, it will perform mouse movement and clicking through a webpage. I have tried: HotKeySet( "{SPACE}" ) I am just unsure on how to get it to actually work and then run it through a web page. Link to comment Share on other sites More sharing options...
TeamRocket Posted March 27, 2011 Share Posted March 27, 2011 Hello, I'm very new to auto script so please be nice, like 3 days new. I am trying to set up a hotkey so that when I hit the key, it will perform mouse movement and clicking through a webpage. I have tried: HotKeySet( "{SPACE}" ) I am just unsure on how to get it to actually work and then run it through a web page. Hello, Prae! Welcome to AutoIt! Basically, HotKeySet requires 2 parameters to function properly: HotKeySet(Desired Key, Function to Call) So, basically, what you need to do is this: HotKeySet("{SPACE}", "DoStuff") Func DoStuff() ;...Your function goes here EndFunc PM me if you need more help! Link to comment Share on other sites More sharing options...
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