| home 页 判断问题 | |
| 作者: 川菜馆 发表日期: 2006-12-19 13:01 复制链接 | |
|
这是我用TSL写的一段代码: ^姹诲⑦*& GUI_close_all(); 1.煳#7 web_browser_invoke(IE,"http://www.baidu.com/"); 氜滒螈 1y web_sync(4800); 憷Hj啸鯅Z 鳮痛p rc = web_frame_text_exists("{class: window,MSW_class: html_frame,html_name: \"百度——全球最大中文搜索引擎\"}","百度——全球最大中文搜索引擎","",""); 醼疣Oe泊_ if (rc != E_OK) k頌Xy卟6 { 誟劀j6q report_msg("The web did not invoke"); rC汉v win_close("{class: window,MSW_class: browser_main_window,NSTitle: \"Browser Main Window\"}"); h獣 噳php texit; P拝 ∮V& } 豄鵚夬談^{ 柬p 撎謒U 我的本意是想调起http://www.baidu.com主页,然后判断该主页是否被调起,如果没有调起,则报告 5嵗[蹰溭j The web did not invoke信息,并关闭浏览器。 酷辣鋝泍 但是,我在WR上运行时始终进入if 语句,不知道是不是这句有问题:rc = web_frame_text_exists("{class: window,MSW_class: html_frame,html_name: \"百度——全球最大中文搜索引擎\"}","百度——全球最大中文搜索引擎","",""); 彎2钓咷貾 |
|
|
阅读全文(2194) | 回复(87) | 推送 |
欢迎到 川菜馆 的个人主页看更多内容 |
| << 1 2 3 4 5 6 >> Pages: ( 3/6 total ) 共87条回复 | ||||||
|
||||||
|
||||||
|
||||||
|
||||||
|
||||||
|
||||||
|
||||||
|
||||||
|
||||||
|
||||||
|
||||||
|
||||||
|
||||||
|
||||||
|
||||||