Wizzel Posted February 7, 2008 Share Posted February 7, 2008 (edited) Title says everything. Here is the source of the button. <input type="submit" name="buysell" value="Buy Now" /> Here is the image of the button. I am using IE.au3 Edited February 7, 2008 by Wizzel Link to comment Share on other sites More sharing options...
PsaltyDS Posted February 7, 2008 Share Posted February 7, 2008 Title says everything. Here is the source of the button.<input type="submit" name="buysell" value="Buy Now" />Here is the image of the button. I am using IE.au3Since the object has a name value (not all do), look at the example in the help file for _IEFormElementGetObjByName(). 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...
Wizzel Posted February 7, 2008 Author Share Posted February 7, 2008 _IEFormElementGetObjByName($oIE, "buysell") This doesn't work. Neither does: _IEFormElementGetObjByName($oIE, "Buy Now") Link to comment Share on other sites More sharing options...
PsaltyDS Posted February 7, 2008 Share Posted February 7, 2008 _IEFormElementGetObjByName($oIE, "buysell")This doesn't work.Neither does:_IEFormElementGetObjByName($oIE, "Buy Now")There is a hierarchy to the DOM. For example, System32 doesn't exist at C:\. You have to dig a little deeper. In this case, you may have to get the object reference to the Form first. Then use something more like _IEFormElementGetObjByName($oForm, "buysell"). Try out some of the examples in the help file, like under _IEFormGetCollection(). 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...
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