JackyChan Posted January 7, 2009 Posted January 7, 2009 please see a.htm (attach file) I had tried many times but still doesnt work Here is my code: #include <IE.au3> $oIE = _IEAttach ("ABC") $oForm = _IEFormGetObjByName ($oIE, 'POST') $oText = _IEFormElementGetObjByName ($oForm, "newCreditCardMonth") MsgBox(0, "Form Element Value", _IEFormElementGetValue ($oText))oÝ÷ ØäZºÚ"µÍÚ[ÛYH ÒQK]LÉÝÂÌÍÛÒQHHÒQP]XÚ ][ÝÐPÐ][ÝÊBÌÍÛÑÜHHÒQQÜQÙ]ÛÛXÝ[Û ÌÍÛÒQK BÌÍÛÕ^HÒQQÜQ[[Y[Ù]ØS[YH ÌÍÛÑÜK ][ÝÛ]ÐÜY]Ø[Û ][ÝÊBÙÐÞ ][ÝÑÜH[[Y[[YI][ÝËÒQQÜQ[[Y[Ù][YH ÌÍÛÕ^ J But it doesnt work Please help me
PsaltyDS Posted January 7, 2009 Posted January 7, 2009 please see a.htm (attach file) I had tried many times but still doesnt work Here is my code: #include <IE.au3> $oIE = _IEAttach ("ABC") $oForm = _IEFormGetObjByName ($oIE, 'POST') $oText = _IEFormElementGetObjByName ($oForm, "newCreditCardMonth") MsgBox(0, "Form Element Value", _IEFormElementGetValue ($oText)) Or #include <IE.au3> $oIE = _IEAttach ("ACB") $oForm = _IEFormGetCollection ($oIE,0) $oText = _IEFormElementGetObjByName ($oForm, "newCreditCardMonth") MsgBox(0, "Form Element Value", _IEFormElementGetValue ($oText)) But it doesnt work Please help me Add _IEErrorHandlerRegister() to the top and run it from SciTE to get more useful symptoms than "doesnt work". Is the form inside a Frame or iFrame? Is $oIE valid? Is $oForm valid? Is $oText valid? Exactly how does it "doesnt work"? Valuater's AutoIt 1-2-3, Class... Is now in Session!For those who want somebody to write the script for them: RentACoder"Any technology distinguishable from magic is insufficiently advanced." -- Geek's corollary to Clarke's law
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