| View previous topic :: View next topic |
| Author |
Message |
Candle
Joined: 19 Aug 2004 Posts: 334
|
Posted: Wed Feb 07, 2007 3:18 am Post subject: Turn off key |
|
|
I'm trying to disable the windows keys but not having much luck?
This does not seem to work and now sure why .
#Persistent
Hotkey, {LWin}, Off
Gives me error about
Error: Nonexistent hotkey. The current thread will exit.
Specifically: {LWin}
Line#
---> 002: Hotkey,{LWin},Off
What do I have wrong?
Thanks for the help guys.
````````
I happen to find LWin::Return and that stops it from worling but now I need to stop if a click on it. _________________ Autohotkey Just drives me crazy .. |
|
| Back to top |
|
 |
badmojo
Joined: 11 Nov 2005 Posts: 142
|
Posted: Wed Feb 07, 2007 4:15 am Post subject: |
|
|
i'm no expert but i found this on the forums and it works for me..
| Code: | LWin::
RWin::
;Disable Win key & show a traytip instead.
TrayTip, , Win key is disabled., 1
SetTimer, RemoveTrayTip, 500
Return
RemoveTrayTip:
SetTimer, RemoveTrayTip, Off
TrayTip
Return
|
edit: changed to your situation..
Last edited by badmojo on Wed Feb 07, 2007 4:20 am; edited 1 time in total |
|
| Back to top |
|
 |
Candle
Joined: 19 Aug 2004 Posts: 334
|
Posted: Wed Feb 07, 2007 4:18 am Post subject: |
|
|
Ok thanks man.. give it a try. _________________ Autohotkey Just drives me crazy .. |
|
| Back to top |
|
 |
Helpy Guest
|
Posted: Wed Feb 07, 2007 12:42 pm Post subject: |
|
|
In a simpler way:
| Code: | LWin::Return
RWin::Return |
|
|
| Back to top |
|
 |
|