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]]]] )
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]]]] )