-
-
Notifications
You must be signed in to change notification settings - Fork 17
Simulate an input
Mistium edited this page Jun 19, 2024
·
3 revisions
"simulate inputs"
Get the permission by running
permission "request" "simulate inputs"
The user will be asked to aprove or deny the permission.
simulate "keypress" "A"
// Simulates the key "A" being pressed
simulate "keypress" "Space"
// Simulates the key "A" being pressed
simulate "leftclick" x y
// Simulates a left click at a global x y, not bound to your window
simulate "middleclick" x y
// Simulates a middle click at a global x y, not bound to your window
simulate "rightclick" x y
// Simulates a right click at a global x y, not bound to your window
originOS is a web desktop gui with a self contained file system, programming languages, internet system and a whole lot of stuff an os should be able to do Use originOS here