Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[Re Question] Webpage text find and click
#1
I would like to create a macro in the following way.
Webpage Text Search according to keywords A and B meet Conditions

   
Quote:int IEFrame = win("" "IEFrame")
Htm eSpan eParent
lpstr keyword = "민들레"

eParent=htm("BODY" "" "" IEFrame)
MSHTML.IHTMLElement2 e2=+eParent.el

foreach eSpan.el e2.getElementsByTagName("TD")
str s=eSpan.Text
out s


Website: http://www.wedisk.co.kr/
The BBS Tagname "TD".

Conditions within the web page only the word "민들레" and the "1,000캐시" Less than
=> ex: word "민들레" and 1000 < 0 = Click Find all
I want to click.
Optionally, click a word only meet
What should I do?
Desperately need your help.
#2
I think one of the easy thing to do is just search for your keyword in that website like this:

Macro Macro18
Code:
Copy      Help
run "iexplore" "http://www.wedisk.co.kr/"
int w=wait(10 WV win("▒ 컨텐츠와 함께 위디스크 ▒ - Internet Explorer" "IEFrame"))
act w
Htm e=htm("INPUT" "search_pjs5" "" w "1" 16 0x121 3)
e.SetFocus
paste "민들레"
0.1
e=htm("INPUT" "search" "" w "1" 18 0x221 3)
e.Click

From there you have list of links for your keyword and just click each of them for reviewing...
#3
Thank you for your response.
Find the information that meet the conditions
I would like to implement automatic mouse click.
More Is there any other way?


Forum Jump:


Users browsing this thread: 1 Guest(s)