Jump to content

A script that after you let go of a button it press another - (Locked)


Recommended Posts

Hello everyone,

I am really new here, and rather hope I did not make a post about already existed topic in this regard.
However, let me explain what am I looking for exactly.
I am trying to have a script that if I am holding a button and then i let go of it the script automatically press another key only once right after i let go of the main key.
I saw so many posts about people seeking scripts that allows them to holds a button that keep pressing another button endlessly so i felt the need this post of my own.

let me make an example: let's say if i am holding left shift and then i let go of it it presses the right mouse button.
Note: I do not want the main key i let go of to cancel the script in case someone misunderstand.

i wondered of two possibilities.
1) script that presses the button endlessly and only stops while holding the "key" i want.
2) script that allows me to hold the button and only presses the other one when i let go of it.

I hope this is not too complex, as well not breaking any rules.
really appreciate the time reading my post,

kind regards. 

 

Link to post
Share on other sites

What is the application you want to automate this way ?

And meanwhile, just take a look at forum rules, especially the part about game automation...

Link to post
Share on other sites

My apologies I should have read the rules carefully before posting.

It was for a game I play which is offline, I changed biding for archers to my left shift  that helped me have less hand cramps but sadly does not work with crossbows since I liked firing when I let go of the button and avoid more hand camps.

however, regardless of my intentions rules are rules.
Thank you for your time.
again, very sorry for not reading the rules, i should have searched more for it I just seeked FAQ section if I post what is already asked.
have a nice day.
 

Link to post
Share on other sites
  • Moderators

Welcome to the AutoIt forum.

Unfortunately you appear to have missed the Forum rules on your way in. Please read them now - particularly the bit about not discussing game automation - and then you will understand why you will get no help and this thread will now be locked.

See you soon with a legitimate question I hope.

The Moderation team

"Profanity is the last vestige of the feeble mind. For the man who cannot express himself forcibly through intellect must do so through shock and awe" - Spencer W. Kimball

How to get your question answered on this forum!

Link to post
Share on other sites
Guest
This topic is now closed to further replies.
  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...