Jump to content

Recommended Posts

I have the problem  when i run the script the errror subsript used on a non accessible variable.

I dont see the problem

Thx for any help


HotKeySet("^!u", "_Pause")   ;[Strg]+[Alt]+[u]
HotKeySet("^!b", "_Start")   ;[Strg]+[Alt]+[b]
HotKeySet("{ESC}", "_Exit")  ;[Esc]


Func _Start()
While True
  #include <AutoItConstants.au3>

;website click
MouseClick("$MOUSE_PRIMARY" [,139, 13[ ,1[]])
;website refresh
MouseClick("$MOUSE_PRIMARY" [,85, 54[1[,10]]])
;accept cookies
MouseClick("$MOUSE_PRIMARY" [,1294, 725[ ,1[,10]]])

MouseClick("$MOUSE_PRIMARY" [,393, 16[, 1]])

;browserdaten löschen
MouseClick("$MOUSE_PRIMARY" [,641, 227[ ,1]])

;alle löschen
MouseClick("$MOUSE_PRIMARY" [,977, 675[ ,1]])

sleep (1000)

Func _Pause()
    While 1

Func _Exit()


Link to post
Share on other sites
  • Developers

I see many issues with the code as you left the optional indicator characters ([]) in your commands. 
Look at the helpfile for those functions and their examples for proper syntax. ;) 


SciTE4AutoIt3 Full installer Download page   - Beta files       Read before posting     How to post scriptsource   Forum etiquette  Forum Rules 
Live for the present,
Dream of the future,
Learn from the past.

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