Started learning autoit today. Thought I'd take one of my more common tasks and see if I can't auto it. One last thing i have to do every day, no?
Note: This script assumes that I'm already logged in to the website on IE.
Line 11 is the issue. Whenever I click on the button, it gives me the following error in console:
C:\Program Files (x86)\AutoIt3\Include\IE.au3 (560) : ==> The requested action with this object has failed.:
WEnd
WEnd^ ERROR
>Exit code: 1 Time: 4.207
And the script will not continue forward.
I've read several posts, and the most recent it seems to be at least 6 months old.
Some suggestions were to disable security, add #RequireAdmin (or something of the sort) and a few other things, but so far. Nothing.
I appreciate the help. Thanks!
Note: This script assumes that I'm already logged in to the website on IE.
[ autoit ]
#include <IE.au3> $oIE = _IECreate() _IENavigate($oIE, "[url="https://www.example.com"]https://www.example.com"[/url]) Sleep(1500) ;New Posting _IENavigate($oIE, "[url="https://www.example.com/?new_posting"]https://www.example.com/?new_posting"[/url]) $oForm2 = _IEFormGetCollection($oIE, 0); it is the 1st form on the page _IEFormSubmit($oForm2); <<< Problem Child MsgBox(0,"_IELinkClickByIndex",@error) MsgBox(0,"Notice","Reached EoF") Exit
Line 11 is the issue. Whenever I click on the button, it gives me the following error in console:
C:\Program Files (x86)\AutoIt3\Include\IE.au3 (560) : ==> The requested action with this object has failed.:
WEnd
WEnd^ ERROR
>Exit code: 1 Time: 4.207
And the script will not continue forward.
I've read several posts, and the most recent it seems to be at least 6 months old.
Some suggestions were to disable security, add #RequireAdmin (or something of the sort) and a few other things, but so far. Nothing.
I appreciate the help. Thanks!