找回密码
 加入
搜索
查看: 2244|回复: 5

请问如何在IE是隔几秒点某个坐标。

[复制链接]
发表于 2008-7-11 16:44:40 | 显示全部楼层 |阅读模式
如题。。。 比如有个游戏要一直点开始的。 我要隔几秒点一下。 我想用给他自己点,然后我可以切换到其他地方弄其他事情。
希望各位大大帮下忙。 我新手来的。

[ 本帖最后由 ccat1120 于 2008-7-12 00:16 编辑 ]
发表于 2008-7-11 23:23:00 | 显示全部楼层
用_IENavigate函数直接运行URL
 楼主| 发表于 2008-7-11 23:24:54 | 显示全部楼层
  我新手咯... 不会咯...而且我在帮助理找不到_IENavigate这个函数啊。
发表于 2008-7-11 23:37:41 | 显示全部楼层
UDF里的IE函数

或者直接去include目录下看IE.au3
发表于 2008-7-11 23:38:16 | 显示全部楼层
_IENavigate
--------------------------------------------------------------------------------

Directs an existing browser window to navigate to the specified URL.


#include <IE.au3>
_IENavigate ( ByRef $o_object, $s_url [, $f_wait = 1] )




参数

$o_object Object variable of an InternetExplorer.Application, Window or Frame object
$s_url URL to navigate to (e.g. "http://www.autoitscript.com")
$f_wait Optional: specifies whether to wait for page to load before returning
0 = Return immediately, not waiting for page to load
1 = (Default) Wait for page load to complete before returning



返回值

Success: Returns -1
Failure: Returns 0 and sets @ERROR
@Error: 0 ($_IEStatus_Success) = No Error
1 ($_IEStatus_GeneralError) = General Error
3 ($_IEStatus_InvalidDataType) = Invalid Data Type
4 ($_IEStatus_InvalidObjectType) = Invalid Object Type
6 ($_IEStatus_LoadWaitTimeout) = Load Wait Timeout
8 ($_IEStatus_AccessIsDenied) = Access Is Denied
9 ($_IEStatus_ClientDisconnected) = Client Disconnected
@Extended: Contains invalid parameter number



注意

This function always returns a value of -1. This is because the navigate method has no return value and therefore nothing can be implied from it. You will need to employ other methods to determine success or failure of the navigation.




相关

_IECreate, _IECreateEmbedded
 楼主| 发表于 2008-7-12 00:15:58 | 显示全部楼层
呵呵,虽然不懂... 看你说那么仔细算解决了吧。  谢谢了啊。!
您需要登录后才可以回帖 登录 | 加入

本版积分规则

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

GMT+8, 2024-4-26 21:59 , Processed in 0.075434 second(s), 20 queries .

Powered by Discuz! X3.5 Licensed

© 2001-2024 Discuz! Team.

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