AutoHotkey Community

It is currently May 27th, 2012, 10:59 am

All times are UTC [ DST ]




Post new topic Reply to topic  [ 4 posts ] 
Author Message
 Post subject: Turn off key
PostPosted: February 7th, 2007, 3:18 am 
Offline

Joined: August 19th, 2004, 10:53 pm
Posts: 326
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 ..


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: February 7th, 2007, 4:15 am 
Offline

Joined: November 11th, 2005, 3:13 am
Posts: 202
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 February 7th, 2007, 4:20 am, edited 1 time in total.

Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: February 7th, 2007, 4:18 am 
Offline

Joined: August 19th, 2004, 10:53 pm
Posts: 326
Ok thanks man.. give it a try.

_________________
Autohotkey Just drives me crazy ..


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: February 7th, 2007, 12:42 pm 
In a simpler way:
Code:
LWin::Return
RWin::Return


Report this post
Top
  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 posts ] 

All times are UTC [ DST ]


Who is online

Users browsing this forum: BrandonHotkey, Edd, Exabot [Bot], HotkeyStick, Yahoo [Bot] and 14 guests


You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Powered by phpBB® Forum Software © phpBB Group