This post has been de-listed
It is no longer included in search results and normal feeds (front page, hot posts, subreddit posts, etc). It remains visible only via the author's post history.
1
Different Inputs on Consecutive Presses
Post Body
Hello, I'm trying to create a script that will send a series of inputs if a button is pressed repeatedly. For example, if I click the mouse, I'd like to send LButton, then if the mouse is clicked again within a certain timeout window I want to send D&LButton, and then if the mouse is clicked again within a certain window I want to send S&LButton. I tried using the KeyWait function like so:
KeyWait, LButton, T1
If(ErrorState=0)
LButton::LButton&D
Return
But it's not working the way I hope.
Author
Account Strength
100%
Account Age
11 years
Verified Email
Yes
Verified Flair
No
Total Karma
6,414
Link Karma
2,233
Comment Karma
4,085
Profile updated: 1 month ago
Posts updated: 10 months ago
Subreddit
Post Details
We try to extract some basic information from the post title. This is not
always successful or accurate, please use your best judgement and compare
these values to the post title and body for confirmation.
- Posted
- 5 years ago
- Reddit URL
- View post on reddit.com
- External URL
- reddit.com/r/AutoHotkey/...