Sign in to follow this  
Followers 0
fcp123

Auto Login Bot Returning $_IEStatus_NoMatch

3 posts in this topic

Hello all, 

I am a longtime AutoIT tinkerer, first time poster.

I am trying to write a script to enter me into a drawing once daily. When I run the code below, I get the following notifications (see below). I used the Chrome Element Inspector to get the element names and there are not duplicates of the element names, so that's not the problem. My only guess is that the webpage being a .php is somehow causing problems. Any help would be greatly appreciated!

Thanks,

Fred

#include <IE.au3>

Call("SignIn")

Func SignIn()
    Global $oIE = _IECreate("http://penn-station.com/summergift2013.php")

    Local $Username = _IEGetObjByName($oIE, "Name")
    Local $Password = _IEGetObjByName($oIE, "Email")

    _IEFormElementSetValue($Username, "User")
    _IEFormElementSetValue($Password, "Pass")

EndFunc   ;==>SignIn
 
"...
--> IE.au3 V2.4-0 Warning from function _IEGetObjByName, $_IEStatus_NoMatch (Name: Name, Index: 0)
--> IE.au3 V2.4-0 Warning from function _IEGetObjByName, $_IEStatus_NoMatch (Name: Email, Index: 0)
--> IE.au3 V2.4-0 Error from function _IEFormElementSetValue, $_IEStatus_InvalidDataType
--> IE.au3 V2.4-0 Error from function _IEFormElementSetValue, $_IEStatus_InvalidDataType
+>14:17:23 AutoIt3.exe ended.rc:0
>Exit code: 0    Time: 1.657"
 

Share this post


Link to post
Share on other sites



Sorry, but the rules of the site clearly state: "Automated entries are prohibited, and any use of such automated devices will cause disqualification."
So, no help from our side :naughty:


My UDFs and Tutorials:

Spoiler

UDFs:
Active Directory (NEW 2017-04-18 - Version 1.4.8.0) - Download - General Help & Support - Example Scripts - Wiki
OutlookEX (NEW 2017-02-27 - Version 1.3.1.0) - Download - General Help & Support - Example Scripts - Wiki
ExcelChart (2015-04-01 - Version 0.4.0.0) - Download - General Help & Support - Example Scripts
Excel - Example Scripts - Wiki
Word - Wiki
PowerPoint (2015-06-06 - Version 0.0.5.0) - Download - General Help & Support

Tutorials:
ADO - Wiki

 

Share this post


Link to post
Share on other sites

BTW: Please check the forum rules which can be found on every page in the lower right corner.


My UDFs and Tutorials:

Spoiler

UDFs:
Active Directory (NEW 2017-04-18 - Version 1.4.8.0) - Download - General Help & Support - Example Scripts - Wiki
OutlookEX (NEW 2017-02-27 - Version 1.3.1.0) - Download - General Help & Support - Example Scripts - Wiki
ExcelChart (2015-04-01 - Version 0.4.0.0) - Download - General Help & Support - Example Scripts
Excel - Example Scripts - Wiki
Word - Wiki
PowerPoint (2015-06-06 - Version 0.0.5.0) - Download - General Help & Support

Tutorials:
ADO - Wiki

 

Share this post


Link to post
Share on other sites
Guest
This topic is now closed to further replies.
Sign in to follow this  
Followers 0