fcp123 Posted July 9, 2013 Share Posted July 9, 2013 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" Link to comment Share on other sites More sharing options...
water Posted July 9, 2013 Share Posted July 9, 2013 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 My UDFs and Tutorials: Spoiler UDFs:Active Directory (NEW 2022-02-19 - Version 1.6.1.0) - Download - General Help & Support - Example Scripts - WikiExcelChart (2017-07-21 - Version 0.4.0.1) - Download - General Help & Support - Example ScriptsOutlookEX (2021-11-16 - Version 1.7.0.0) - Download - General Help & Support - Example Scripts - WikiOutlookEX_GUI (2021-04-13 - Version 1.4.0.0) - DownloadOutlook Tools (2019-07-22 - Version 0.6.0.0) - Download - General Help & Support - WikiPowerPoint (2021-08-31 - Version 1.5.0.0) - Download - General Help & Support - Example Scripts - WikiTask Scheduler (NEW 2022-07-28 - Version 1.6.0.1) - Download - General Help & Support - Wiki Standard UDFs:Excel - Example Scripts - WikiWord - Wiki Tutorials:ADO - WikiWebDriver - Wiki Link to comment Share on other sites More sharing options...
water Posted July 9, 2013 Share Posted July 9, 2013 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 2022-02-19 - Version 1.6.1.0) - Download - General Help & Support - Example Scripts - WikiExcelChart (2017-07-21 - Version 0.4.0.1) - Download - General Help & Support - Example ScriptsOutlookEX (2021-11-16 - Version 1.7.0.0) - Download - General Help & Support - Example Scripts - WikiOutlookEX_GUI (2021-04-13 - Version 1.4.0.0) - DownloadOutlook Tools (2019-07-22 - Version 0.6.0.0) - Download - General Help & Support - WikiPowerPoint (2021-08-31 - Version 1.5.0.0) - Download - General Help & Support - Example Scripts - WikiTask Scheduler (NEW 2022-07-28 - Version 1.6.0.1) - Download - General Help & Support - Wiki Standard UDFs:Excel - Example Scripts - WikiWord - Wiki Tutorials:ADO - WikiWebDriver - Wiki Link to comment Share on other sites More sharing options...
Recommended Posts