在当前位置产生一个鼠标按下(按键)事件.
MouseDown ( "按钮" )
按钮 | 要点击的按钮:"left"(左键),"right"(右键),"middle"(中键),"main"(主键),"menu"(菜单键),"primary"(主要按钮),"secondary"(次要按钮). |
成功: | 返回 1. |
失败: | 返回 0, 鼠标按钮不在列表中. |
MouseDown("left") ; Set the left mouse button state as down.
Sleep(100)
MouseUp("left") ; Set the left mouse button state as up.