Jump to content

Recommended Posts

Posted

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.

Posted

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!

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...