Sign in to follow this  
Followers 0
Prae

IE hotkeyset help

2 posts in this topic

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



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

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
Sign in to follow this  
Followers 0