MCPcopy Create free account
hub / github.com/HelloBush/Java_MHXYdemo / SetMouseDelay

Method SetMouseDelay

src/pkgDm/Dm2Java.java:917–919  ·  view source on GitHub ↗

设置鼠标单击或者双击时,鼠标按下和弹起的时间间隔。高级用户使用。某些窗口可能需要调整这个参数才可以正常点击。 注 : 此函数影响的接口有LeftClick RightClick MiddleClick LeftDoubleClick @param type 鼠标类型,取值有以下 "normal" : 对应normal鼠标 默认内部延时为 30ms "windows": 对应windows 鼠标 默认内部延时为 10ms "dx" : 对应dx鼠标 默认内部延时为40ms @param delay 延时,单位是毫秒 @return 0:

(String type,int delay)

Source from the content-addressed store, hash-verified

915 * @return 0: 失败 1:成功
916 */
917 public int SetMouseDelay(String type,int delay){
918 return Dispatch.call(dm,"SetMouseDelay",type,delay).getInt();
919 }
920
921 /**
922 * 等待指定的按键按下 (前台,不是后台)

Callers

nothing calls this directly

Calls 2

callMethod · 0.95
getIntMethod · 0.45

Tested by

no test coverage detected