Mujomba Posted July 24, 2020 Share 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 Link to comment Share on other sites More sharing options...
Developers Jos Posted July 24, 2020 Developers Share 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. Link to comment Share on other sites More sharing options...
Danp2 Posted July 24, 2020 Share Posted July 24, 2020 What website are you attempting to automate? Also, which browser? Generally, there are better options than MouseClick for web automation. Latest Webdriver UDF Release Webdriver Wiki FAQs Link to comment Share on other sites More sharing options...
Mujomba Posted July 24, 2020 Author Share 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? Link to comment Share on other sites More sharing options...
Danp2 Posted July 24, 2020 Share Posted July 24, 2020 How about you answer my question first? 😉 Latest Webdriver UDF Release Webdriver Wiki FAQs Link to comment Share on other sites More sharing options...
Mujomba Posted July 24, 2020 Author Share Posted July 24, 2020 Just now, Danp2 said: How about you answer my question first? 😉 its a jimdo website on google chrome Link to comment Share on other sites More sharing options...
Nine Posted July 24, 2020 Share Posted July 24, 2020 Could you give the precise web URL ? “They did not know it was impossible, so they did it” ― Mark Twain Spoiler Block all input without UAC Save/Retrieve Images to/from Text Monitor Management (VCP commands) Tool to search in text (au3) files Date Range Picker Virtual Desktop Manager Sudoku Game 2020 Overlapped Named Pipe IPC HotString 2.0 - Hot keys with string x64 Bitwise Operations Multi-keyboards HotKeySet Recursive Array Display Fast and simple WCD IPC Multiple Folders Selector Printer Manager GIF Animation (cached) Screen Scraping Multi-Threading Made Easy Link to comment Share on other sites More sharing options...
Danp2 Posted July 24, 2020 Share Posted July 24, 2020 https://www.autoitscript.com/wiki/WebDriver Latest Webdriver UDF Release Webdriver Wiki FAQs Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now