Using script editor how do I hold down click for a certain period of time?
Using script editor how do I hold down click for a certain period of time???
[Re-Titled by Moderator]
Using script editor how do I hold down click for a certain period of time???
[Re-Titled by Moderator]
As Viking noted, there is no built-in way to do this.
Alternatively, download and install cliclick
It gives you a command-line interface to emulating mouse (and keyboard) actions, and supports drag and pause actions.
There is no AppleScript feature, or one in Script Editor that allows you to hold down a click for any designated length of time. A click is a discrete event, and then AppleScript goes on to the next activity.
That interesting. Tetsujin over on stack overflow That suggests this:
tell application "System Events"
key down {command}
delay 2
key up {command}
end tell
key down is a keyboard command, not a mouse click, which is what the OP is asking for (I think)
I missed that point.
Robert
Using script editor how do I hold down click for a certain period of time?