You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Mistium edited this page Jun 19, 2024
·
3 revisions
In order to use these commands you need the below permission:
"simulate inputs"
Get the permission by running
permission "request" "simulate inputs"
The user will be asked to aprove or deny the permission.
Examples
simulate"keypress""A"// Simulates the key "A" being pressedsimulate"keypress""Space"// Simulates the key "A" being pressedsimulate"leftclick"xy// Simulates a left click at a global x y, not bound to your windowsimulate"middleclick"xy// Simulates a middle click at a global x y, not bound to your windowsimulate"rightclick"xy// Simulates a right click at a global x y, not bound to your window