如果该属性值为 True,则启用“即点即输”功能。Boolean 类型,可读写。
expression.AllowClickAndTypeMouse
expression 必需。该表达式返回一个 Options 对象。
有关“即点即输”功能的详细内容,请参阅“即点即输”功能概述。
本示例检查并确认是否已启用“即点即输”功能。如果未启用该功能,则根据用户的选择来设置该功能。
If Options.AllowClickAndTypeMouse = False Then
x = MsgBox("Do you want to use Click and Type?", _
vbYesNo)
If x = vbYes Then
Options.AllowClickAndTypeMouse = True
MsgBox "Click and Type enabled!"
End If
End If