VariedTechnique

ControlSend to hold a button down?

3 posts in this topic

Not sure if I'm supposed to paste the script or attach it so I've just attached it.

The functions I need assistance with are F1, F5, F2, and F6. They are currently set to work as a toggle as an attempted workaround. Ideally, they would be held buttons. While I'm holding F1 it is sending F1 down or similar. I'm pretty new to this so I'm having trouble getting it to recognize when I'm holding the button. I've tried sending F1 down when I press F1, but no way to have it recognize when I release F1. If I send just F1 the button is pressed just for a brief moment, even while holding it.

mycrappyscript.au3

Share this post


Link to post
Share on other sites



Resolved

Share this post


Link to post
Share on other sites

@VariedTechnique,

Welcome to the AutoIt forum. :)

Unfortunately you appear to have missed the Forum rules on your way in. (there is also a link in my signature) 
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. :naughty:

See you soon with a legitimate question I hope. :)

Jos


Visit the SciTE4AutoIt3 Download page for the latest versions  - Beta files                                How to post scriptsource        Forum Rules
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Share this post


Link to post
Share on other sites
Guest
This topic is now closed to further replies.