AU3控件操作

1、控件识别
ID - The internal control ID
TEXT - The text on a control, for example "Next" on a button 
CLASS - The internal control classname such as "Edit" or "Button" 
CLASSNN - The ClassnameNN value as used in previous versions of AutoIt, such as "Edit1" 
NAME - The internal .NET Framework WinForms name (if available) 
REGEXPCLASS - Control classname using a regular expression 
X \ Y \ W \ H - The position and size of a control. 
INSTANCE - The 1-based instance when all given properties match. 

controlID parameter:[PROPERTY1 Value1;PROPERTY2:Value2] 
用AU3 Info获取控件信息,推荐使用advanced mode,ID不可靠
用ControlGetHandle获取控件句柄,结合相应UDF可以实现较复杂的控件操作
2、控件操作
Sends a mouse click command to a given control:
ControlClick ( "title", "text", controlID [, button = "left" [, clicks = 1 [, x [, y]]]] )
  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值