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

Method simulateMouseRightClick

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

Source from the content-addressed store, hash-verified

324 }
325
326 private simulateMouseRightClick(x: number, y: number): boolean {
327 try {
328 return WindowManager.simulateMouseRightClick(x, y)
329 } catch (error: unknown) {
330 console.error('[PluginInput] 模拟鼠标右击失败:', error)
331 return false
332 }
333 }
334}
335
336export default new PluginInputAPI()

Callers 1

setupIPCMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected