Jump to content

Keep A Program Running?

Recommended Posts

Is it possible to have an AutoIt-app running, just waiting for hotkeys being pressed? I want to make some shortcuts via AI, like "F3, LeftClick, F2" from a keystroke. Is that possible?

Thanks for help.


Link to post
Share on other sites
  • Developers

The helpfile has an example script which shows an script looping until one of the defined keys are pressed.

Check out the SetHotKey function's example and see if that's what you are looking for...

Edited by JdeB

SciTE4AutoIt3 Full installer Download page   - Beta files       Read before posting     How to post scriptsource   Forum etiquette  Forum Rules 
Live for the present,
Dream of the future,
Learn from the past.

Link to post
Share on other sites

Little question: if i have a name in $myname and a number in $mynum, and i want them to make "myname3" (if $mynum is 3).

I dont get this line to work:

$fullname = "$name & $num"

or should it be like this:

$fullname = "$name + $num"

Thanks for help!


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
  • Recently Browsing   0 members

    No registered users viewing this page.

  • Create New...