huangniuyingchu 发表于 2010-6-24 20:57:11

请问如何实现打开指定网页

请问如何实现打开指定网页
??
用IE8打开http:\\mail.163.com

xsjtxy 发表于 2010-6-24 20:58:47

run(StringTrimLeft(StringLeft(RegRead("HKCR\HTTP\shell\open\command", ""), StringInStr(RegRead("HKCR\HTTP\shell\open\command", ""), ".exe") + 3), StringInStr(RegRead("HKCR\HTTP\shell\open\command", ""), ":") - 2) & " mail.163.com")

水木子 发表于 2010-6-24 20:59:58

善用搜索吧!
http://www.autoitx.com/forum.php?mod=viewthread&tid=16466&highlight=%E4%AF%C0%C0%C6%F7

lpxx 发表于 2010-6-24 22:38:14

Run(@ProgramFilesDir & "\Internet Explorer\iexplore.exe http:\\mail.163.com")

zcx880517 发表于 2010-6-25 08:34:36

ShellExecute("http:\\mail.163.com")

t87564833 发表于 2010-6-25 12:00:18

楼上代码不错,不过开网页也可以用
#include <Process.au3>
$rc = _RunDos("start Http://www.autoitscript.com")

huangniuyingchu 发表于 2010-6-25 12:17:29

各种代码各有千秋,挺好的

hzxymkb 发表于 2010-6-25 12:43:08

楼主的朋友提供有多种方法!楼主可以根据实际情况选择其中一种!

afan 发表于 2010-6-25 12:50:16

LZ面子真大,这么多而且居然不重复的答案~!

deliy 发表于 2010-6-29 13:55:39

有意思。。。同IE6不同哦

51ak 发表于 2010-8-1 23:28:53

好方法真多啊。

xyold1 发表于 2010-8-2 13:10:02

http:\\mail.163.com
弱弱滴问一下,这是网址吗
页: [1]
查看完整版本: 请问如何实现打开指定网页