MaoMao Posted November 6, 2011 Share Posted November 6, 2011 (edited) How to Auto Search Web Site Result save to a file Would like to perform search engine work. Then save it into a file. i.e. $oIE = _IECreate ("http://www.google.com/advanced_search") How to use autoit enter the words: What is the programming code? e.g. code: HSBC Title: Monthly Returns ?Did not work Send("HSBC") Send("Monthly Returns ") Are there any example to search a list of names and save the result into files. Edited January 22, 2012 by MaoMao Link to comment Share on other sites More sharing options...
sleepydvdr Posted November 6, 2011 Share Posted November 6, 2011 I got this part for you. But the website says the HSBC stock code is invalid. #include <IE.au3> $oIE = _IECreate ("http://www.hkexnews.hk/listedco/listconews/advancedsearch/search_active_main.asp") $oForm = _IEFormGetObjByName ($oIE, "mainform") $oText = _IEFormElementGetObjByName ($oForm, "txt_stock_code") _IEFormElementSetValue($oText, "HSBC") $oText2 = _IEFormElementGetObjByName ($oForm, "txtKeyWord") _IEFormElementSetValue($oText2, "Monthly Returns") #include <ByteMe.au3> Link to comment Share on other sites More sharing options...
MaoMao Posted November 6, 2011 Author Share Posted November 6, 2011 (edited) Good. Get it started to enter the info to the page. Can manage to change to Stock Name. Then, how to autoit start click enter the "Search" Button? By the way, are there any example to save the result into files. Edited November 6, 2011 by MaoMao Link to comment Share on other sites More sharing options...
Zedna Posted November 6, 2011 Share Posted November 6, 2011 Then, how to autoit start click enter the "Search" Button?Look at _IEFormSubmit () in the helpfile Resources UDF ResourcesEx UDF AutoIt Forum Search 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