Jump to content
Sign in to follow this  
Red-Steel

HotKeySet problem

Recommended Posts

seandisanti

When I try to hotkey {+}, it doesn't work:

HotKeySet ( "{+}", "test" )

While 1
    Sleep ( 10 )
WEnd

Func test()
    Msgbox ( 0, "test", "test" )
EndFuncoÝ÷ Ûú®¢×­«]¡ë'ßÛp¢¹¢¹z+az»aË®*miÇ(b²¬¶¬jg­)àjëh×6
#include<misc.au3>
While 1
    Sleep ( 10 )
    If _IsPressed("6B") Then test()
WEnd

Func test()
    Msgbox ( 0, "test", "test" )
EndFunc
Edited by cameronsdad

Share this post


Link to post
Share on other sites
Red-Steel

Yeah but it doesn't work with the other plus.

Share this post


Link to post
Share on other sites
Valuater

@ cameronsdad

nice to see you around.... haven't seen you much in a while

8)


NEWHeader1.png

Share this post


Link to post
Share on other sites
seandisanti

@ cameronsdad

nice to see you around.... haven't seen you much in a while

8)

yeah, they've been cracking down on computer use at work, so i fell off the planet for a while. glad to be back again, hopefully for a bit longer this time

Share this post


Link to post
Share on other sites
Red-Steel

It doesn't work with {!} either.. and there is no "!" in the numpad..

Share this post


Link to post
Share on other sites
seandisanti

It doesn't work with {!} either.. and there is no "!" in the numpad..

HotKeySet ( "+1", "test" )

While 1
    Sleep ( 31 )
WEnd

Func test()
    Msgbox ( 0, "test", "test" )
EndFunc

now you're just trying to make it fail huh?

Edited by cameronsdad

Share this post


Link to post
Share on other sites
SmOke_N

yeah, they've been cracking down on computer use at work, so i fell off the planet for a while. glad to be back again, hopefully for a bit longer this time

Ha... He said work is cracking down... This is probably true if you consider your significant other "work". :P 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.

Share this post


Link to post
Share on other sites
seandisanti

Ha... He said work is cracking down... This is probably true if you consider you significant other "work". :P

haha. indeed. we're doing a little better now. so when's the next trip to vegas?

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  

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.