Sign in to follow this  
Followers 0
MaoMao

How to Auto Search Web Site Result save to a file

4 posts in this topic

#1 ·  Posted (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 by MaoMao

Share this post


Link to post
Share on other sites



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>

Share this post


Link to post
Share on other sites

#3 ·  Posted (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 by MaoMao

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0