AutoHotkey Community

It is currently May 27th, 2012, 7:49 am

All times are UTC [ DST ]




Post new topic Reply to topic  [ 5 posts ] 
Author Message
PostPosted: October 13th, 2006, 10:16 pm 
Offline

Joined: November 6th, 2005, 5:25 am
Posts: 182
I tried using
Code:
#InstallMouseHook

$WheelUp::
$WheelDown::
   ; Disable
return


but the program I'm using still is recognizing it. Is there something I'm missing?

_________________
//TODO: Create kewl sig...


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: October 13th, 2006, 10:59 pm 
Offline

Joined: September 3rd, 2006, 5:34 am
Posts: 601
Location: Iowa, U.S.
KeyState?? Use a GetKeystate and use some if statements or something to see if it exists or not then do what you need to next.


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: October 13th, 2006, 11:46 pm 
Offline

Joined: November 6th, 2005, 5:25 am
Posts: 182
No see I want to disable it.

_________________
//TODO: Create kewl sig...


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: October 14th, 2006, 3:32 am 
Offline

Joined: February 14th, 2005, 4:05 pm
Posts: 4710
Location: Boulder, CO
It looks better if you go to the Control Panel / Mouse, and disable the mouse wheel from there. If an application still sees the wheel after you assigned no action to it in an AHK script, that application probably has its own mouse hook, which you cannot disable from AHK.


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: October 14th, 2006, 4:55 am 
Offline

Joined: September 3rd, 2006, 5:34 am
Posts: 601
Location: Iowa, U.S.
Harmor wrote:
No see I want to disable it.


Yes I know use a getkeystate or something, and if you do have a mousewheel existing, then disable it.


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

All times are UTC [ DST ]


Who is online

Users browsing this forum: bobbysoon, Google [Bot], HotkeyStick, just me, migz99 and 70 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