Jump to content

Recommended Posts

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

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
×
×
  • Create New...