Jump to content
Sign in to follow this  
Wb-FreeKill

Can you do something like this?

Recommended Posts

Wb-FreeKill

Hotkeyset("a","1")

Hotkeyset("b","2")

Hotkeyset("c","3")

Hotkeyset("d","4")

For $i = 1 To 4

Func $i()

msgbox(0,"test",$i)

EndFunc

Next

While 1

Sleep(20)

Wend

Share this post


Link to post
Share on other sites
zcoacoaz

No

(i think)


[font="Times"] If anyone remembers me, I am back. Maybe to stay, maybe not.----------------------------------------------------------------------------------------------------------[/font][font="Times"]Things I am proud of: Pong! in AutoIt | SearchbarMy website: F.R.I.E.S.A little website that is trying to get started: http://thepiratelounge.net/ (not mine)[/font][font="Times"] ----------------------------------------------------------------------------------------------------------[/font][font="Arial"]The newbies need to stop stealing avatars!!! It is confusing!![/font]

Share this post


Link to post
Share on other sites
Wb-FreeKill

No

(i think)

<{POST_SNAPBACK}>

Yea, that's what i was afraid off :) but would be neat, cuz i have to make a func for every keybutton, thats alot anyway!

Share this post


Link to post
Share on other sites
buzz44

$Letters = StringSplit("a|b|c|d|e|f|g|h|i|j|k|l|m|n|o|p|q|r|s|t|u|v|w|x|y|z", "|")

$P = 1
For $I = 1 to $Letters[0]
   MsgBox(0,"",$Letters[$P])
   $P = $P + 1
Next

Something like that? If not you can always use the _IsPressed() function.


qq

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  

×