Y
Hacker News
new
|
ask
|
show
|
jobs
by
eviks
340 days ago
How do you stimulate delays, animation intervals, key down/ups a with System Events?
2 comments
robterrell
339 days ago
AppleScript supports the "delay" command. System Events supports both "keydown" and "keyup" in addition to keystroke.
link
bestham
340 days ago
Apple Script is a programming language and you have full control flow at your disposal to wait and branch as needed.
link
eviks
340 days ago
This is too generic to answer this specific question. Key down, for example, is not an inherent property of a programming language.
(and neither is delay precision guarantees, which might be important for some key sequences)
link