Jump to content
Sign in to follow this  

How to do a very very simple Hotkey?

Recommended Posts

Hello Guys,

all I need is this:

When I hit F1 then F2-F12 should be executed one after the other.

How would the code look like, please?

Thank you!

Share this post

Link to post
Share on other sites

Umm, offhand guess -

AutoItSetOption("SendKeyDelay", "5") ;You can tweak this for slower or faster keypresses
AutoItSetOption("SendKeyDownDelay", "5") ;You can tweak this for length of time the key is "held down"

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

While 1

Func Fthis()
Edited by Quinch

Share this post

Link to post
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
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

  • Create New...