找回密码
 加入
搜索
查看: 2211|回复: 2

[IE类操作] 关于_IECreate 函数 我很迷惑【已解决】

[复制链接]
发表于 2015-6-17 10:25:19 | 显示全部楼层 |阅读模式
本帖最后由 eaglelin 于 2015-6-17 11:01 编辑

#include <IE.au3>
$oIE = _IECreate("http://pan.baidu.com/s/1gdxp6wV")


就这简单两句 无法打开链接  
但是有的时候能打开
 楼主| 发表于 2015-6-17 11:01:23 | 显示全部楼层
已经解决了 用shellexeute 函数
发表于 2015-6-17 11:18:36 | 显示全部楼层
回复 1# eaglelin

这样试试:

#include <IE.au3>
#include <GUIConstantsEx.au3>
_DAKAIWY()
Func _DAKAIWY()       
        $vara1 = "http://pan.baidu.com/s/1gdxp6wV"
        Send("#r")
        WinWaitActive("运行", "")
        WinActive("运行", "")
        Sleep(400)
        Send("iexplore.exe " & $vara1)
        Send("{enter}")
        Sleep(400)

        WinWaitActive("连接到 " & $vara1, "")
        WinActive("连接到 " & $vara1, "")
        Sleep(400)
        Sleep(400)
        Send("{enter}")
EndFunc   ;==>
您需要登录后才可以回帖 登录 | 加入

本版积分规则

QQ|手机版|小黑屋|AUTOIT CN ( 鲁ICP备19019924号-1 )谷歌 百度

GMT+8, 2024-5-19 23:25 , Processed in 0.080803 second(s), 24 queries .

Powered by Discuz! X3.5 Licensed

© 2001-2024 Discuz! Team.

快速回复 返回顶部 返回列表