Sign in to follow this  
Followers 0
ogrish

How to redefine system-wide shortcuts in AutoIt ?

3 posts in this topic

#1 ·  Posted (edited)

Hi,

On Windows, when you press Win+f, the Windows Search utility will pop up. I want to redefine this short cut and point to another program (yes, it's also a search utility, everything). I tried the following code but it doesn't work.

; open everything.exe
HotKeySet("#f", "open_everything")

; # win
; ^ ctrl
; + shift
; ! alt

While 1
    Sleep(200)
WEnd

; open everything
Func open_everything()
    MsgBox(4, "", "everything ... ")
EndFunc

When I change the short cut to Win+z, everything works.

; open everything.exe
HotKeySet("#z", "open_everything")

; # win
; ^ ctrl
; + shift
; ! alt

While 1
    Sleep(200)
WEnd

; open everything
Func open_everything()
    MsgBox(4, "", "everything ... ")
EndFunc

Any ideas of this problem? Thanks

Edited by ogrish

Share this post


Link to post
Share on other sites



#2 ·  Posted (edited)

HotKeySet

read <b>The following hotkeys cannot be set:</b>.

Edited by somdcomputerguy

- Bruce /*somdcomputerguy */  If you change the way you look at things, the things you look at change.

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