Mujomba 0 Posted July 24, 2020 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 expandcollapse popupHotKeySet("^!u", "_Pause") ;[Strg]+[Alt]+[u] HotKeySet("^!b", "_Start") ;[Strg]+[Alt]+[b] HotKeySet("{ESC}", "_Exit") ;[Esc] Call("_Start") 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]]]) ;einstellungen 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) WEnd EndFunc Func _Pause() While 1 Sleep(90000) WEnd EndFunc Func _Exit() Exit EndFunc Share this post Link to post Share on other sites
Jos 2,164 Posted July 24, 2020 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. Jos 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. Share this post Link to post Share on other sites
Danp2 878 Posted July 24, 2020 What website are you attempting to automate? Also, which browser? Generally, there are better options than MouseClick for web automation. [UDF] WebDriver Latest version Wiki FAQs Share this post Link to post Share on other sites
Mujomba 0 Posted July 24, 2020 18 minutes ago, Danp2 said: What website are you attempting to automate? Also, which browser? Generally, there are better options than MouseClick for web automation. which ways? Share this post Link to post Share on other sites
Danp2 878 Posted July 24, 2020 How about you answer my question first? 😉 [UDF] WebDriver Latest version Wiki FAQs Share this post Link to post Share on other sites
Mujomba 0 Posted July 24, 2020 Just now, Danp2 said: How about you answer my question first? 😉 its a jimdo website on google chrome Share this post Link to post Share on other sites
Nine 921 Posted July 24, 2020 Could you give the precise web URL ? Not much of a signature, but working on it... Spoiler Block all input without UAC Save/Retrieve Images to/from Text Tool to search content in au3 files Date Range Picker Sudoku Game 2020 Overlapped Named Pipe IPC x64 Bitwise Operations Fast and simple WCD IPC GIF Animation (cached) Share this post Link to post Share on other sites
Danp2 878 Posted July 24, 2020 https://www.autoitscript.com/wiki/WebDriver [UDF] WebDriver Latest version Wiki FAQs Share this post Link to post Share on other sites