[AHK-] 點擊網頁某"特定"連結的動作
我想讓它開啟網頁後,去google特定的連結,
然後"點擊"特定連結來開啟,
目前只會用滑鼠的動作移動相對的位置,
希望可以改成用搜尋的或是用 DOM 的方式(?)去指定
下面的例子是開啟 google
搜尋 bbc
然後想點擊中文 bbc網站,而非第一筆的英文的bbc網站
不知道要怎麼做?
先謝謝各位 ^^
Run http://google.com
WinWait, Google - Microsoft Internet Explorer,
IfWinNotActive, Google - Microsoft Internet Explorer, , WinActivate, Google -
Microsoft Internet Explorer,
WinWaitActive, Google - Microsoft Internet Explorer,
Send, bbc{ENTER}
WinWait, bbc - Google 搜尋 - Microsoft Internet Explorer,
IfWinNotActive, bbc - Google 搜尋 - Microsoft Internet Explorer, ,
WinActivate, bbc - Google 搜尋 - Microsoft Internet Explorer,
WinWaitActive, bbc - Google 搜尋 - Microsoft Internet Explorer,
MouseClick, left, 120, 297
Sleep, 100
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 210.243.128.121
※ 編輯: puregon 來自: 210.243.128.121 (12/16 18:59)
推
12/16 20:27, , 1F
12/16 20:27, 1F
→
12/16 20:27, , 2F
12/16 20:27, 2F
→
12/16 20:34, , 3F
12/16 20:34, 3F
→
12/16 21:01, , 4F
12/16 21:01, 4F
→
12/16 21:02, , 5F
12/16 21:02, 5F
EzHotKey 近期熱門文章
PTT數位生活區 即時熱門文章