MCPcopy Create free account
hub / github.com/ZToolsCenter/ZTools / simulateMouseClick

Method simulateMouseClick

src/main/api/plugin/input.ts:308–315  ·  view source on GitHub ↗
(x: number, y: number)

Source from the content-addressed store, hash-verified

306 }
307
308 private simulateMouseClick(x: number, y: number): boolean {
309 try {
310 return WindowManager.simulateMouseClick(x, y)
311 } catch (error: unknown) {
312 console.error('[PluginInput] 模拟鼠标单击失败:', error)
313 return false
314 }
315 }
316
317 private simulateMouseDoubleClick(x: number, y: number): boolean {
318 try {

Callers 1

setupIPCMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected