ccat1120 发表于 2008-7-11 16:44:40

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

如题。。。 比如有个游戏要一直点开始的。 我要隔几秒点一下。 我想用给他自己点,然后我可以切换到其他地方弄其他事情。
希望各位大大帮下忙。 我新手来的。

[ 本帖最后由 ccat1120 于 2008-7-12 00:16 编辑 ]

sprinkle 发表于 2008-7-11 23:23:00

用_IENavigate函数直接运行URL

ccat1120 发表于 2008-7-11 23:24:54

:face (29):我新手咯... 不会咯...而且我在帮助理找不到_IENavigate这个函数啊。

sprinkle 发表于 2008-7-11 23:37:41

UDF里的IE函数

或者直接去include目录下看IE.au3

sprinkle 发表于 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

ccat1120 发表于 2008-7-12 00:15:58

呵呵,虽然不懂... 看你说那么仔细算解决了吧。谢谢了啊。!
页: [1]
查看完整版本: 请问如何在IE是隔几秒点某个坐标。