Jump to content

Recommended Posts

I am a noob at this, and would like to know how to auto press the space bar?

I would like to press the space bar at a random time, like every 40 or 50 seconds press the space bar at random. Sometimes it would do it at 40 seconds, another time it could do it at 50 seconds. I appreciate your help in advance!.

Link to post
Share on other sites

Line 1 (File "C:\Documents and Settings\Cody\Desktop\spacejump.au3"):

ÿþH

^ ERROR

Error: Unable to parse line.

that is the error im getting for this script:

HotKeySet("{PAUSE}", "EndScript")

While 1

Send("{SPACE}")

Sleep(Int(Random(110000, 130000)))

WEnd

; Function to exit script

Func EndScript()

Exit

EndFunc

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
  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...