mouse wheel function

Hints, tips and tricks for newbies

Moderators: Dorian (MJT support), JRL

Post Reply
simplejamie
Newbie
Posts: 16
Joined: Sat Nov 18, 2006 7:19 am

mouse wheel function

Post by simplejamie » Mon Nov 20, 2006 4:42 am

i hate to be a pain, but how can the script tell when i click the mouse wheel?

User avatar
Marcus Tettmar
Site Admin
Posts: 7395
Joined: Thu Sep 19, 2002 3:00 pm
Location: Dorset, UK
Contact:

Post by Marcus Tettmar » Mon Nov 20, 2006 8:15 am

Use WaitKeyDown or OnEvent and VK4. VK4 is the middle button.
Marcus Tettmar
http://mjtnet.com/blog/ | http://twitter.com/marcustettmar

Did you know we are now offering affordable monthly subscriptions for Macro Scheduler Standard?

Post Reply
Sign up to our newsletter for free automation tips, tricks & discounts