Jump to content

if_ispressed help


flick
 Share

Recommended Posts

Something like this may be what you need.

#include <Misc.au3>

HotKeySet ( "{F1}", _HoldF2() )

Func _HoldF2()
    While _isPressed(70)
        Send("{F1 down}")
    WEnd
    
    Send("{F1 up}")
    Return 1
EndFunc

I didn't test this. Far too much work to write a reader to detect which keys are being pressed for a help post, but this should get you off on the right track regardless.

[sup]Psibernetic[/sup]My Creations:X-HideSecuracy

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...