Jump to content
Sign in to follow this  
megahyperion

HotKeySet not working

Recommended Posts

megahyperion

my HotKeySet function is not working when the application I am using is in full screen mode.

works fine up until then.

This is for my fishing bot script that I am sure everyone has heard about, so when I am in game the HotKeySet stope working.

here is the HotKeySet code

Global $Paused
HotKeySet("{PAUSE}", "TogglePause")


;;;; My fishing script body goes here;;;;
Blah blah blah
;;;;;;;;

Func TogglePause()
    $Paused = NOT $Paused
    While $Paused
        sleep(100)
        ToolTip('Script is "Paused"',0,0)
    WEnd
    ToolTip("")
EndFunc

thanks

Share this post


Link to post
Share on other sites
this-is-me

Games hook the keyboard. Short answer is that it is not possible with AutoIt. Try autohotkey.


Who else would I be?

Share this post


Link to post
Share on other sites
Matt @ MPCS

Or figure out how to use DLLCall in the unstable. I know Larry has a post on how to do this somewhere out there... search the forum.

*** Matt @ MPCS

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  

×