Sign in to follow this  
Followers 0
Dev

Keep A Program Running?

6 posts in this topic

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.

:iamstupid:

Share this post


Link to post
Share on other sites



#2 ·  Posted (edited)

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

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

Share this post


Link to post
Share on other sites

Ok thanks!

:iamstupid:

Share this post


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!

:iamstupid:

Share this post


Link to post
Share on other sites

this should work:

$fullname = $name & $num

Putting stuff in "" or '' makes the total a string ...


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

Share this post


Link to post
Share on other sites

ok thanks :whistle:

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  
Followers 0