JackyChan Posted January 7, 2009 Share 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 Link to comment Share on other sites More sharing options...
PsaltyDS Posted January 7, 2009 Share 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 Link to comment Share on other sites More sharing options...
JackyChan Posted January 7, 2009 Author Share Posted January 7, 2009 I will try now. Thank you Link to comment Share on other sites More sharing options...
JackyChan Posted January 7, 2009 Author Share Posted January 7, 2009 i'm sorry. This is attach file.a.zip 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