Jump to content

have a hotkey script to stay active


 Share

Recommended Posts

Hi,

I've defined some hotkeys for my convenience :whistle: (really simple, they just start some progs)

Well, but how to keep that little script active, probably I could Sleep(100000000000000000) but there should be a better way.

any help would be appreciated

Link to comment
Share on other sites

  • Moderators

Hi,

I've defined some hotkeys for my convenience :whistle: (really simple, they just start some progs)

Well, but how to keep that little script active, probably I could Sleep(100000000000000000) but there should be a better way.

any help would be appreciated

While 1
    Sleep(10000)
WEnd
It's a loop, just put it after your hotkeys. Edited by SmOke_N

Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer.

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...