Prae 0 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. Share this post Link to post Share on other sites
TeamRocket 0 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! Share this post Link to post Share on other sites