Mp3car Home Page The mp3Car.com Forums The mp3Car.com Store The mp3Car.com Blog About mp3Car.com    

Sponsored links

Go Back   MP3Car.com > Mp3Car Technical > Input Devices

Notices

Reply
 
Share Thread Tools Display Modes
Old 01-22-2007, 09:14 PM   #1
Low Bitrate
 
spudgunblunder's Avatar
 
Join Date: Aug 2005
Posts: 105
Multi-control knob using Mouse+AutoHotkey

I want to be able to use the mouse wheel (up and down) to control CF.
I have achieved this so far using AutoHotkey.
I just use the following to map the "F9" and "F10" keys to the up and down roll of the mouse wheel:
Code:
WheelDown::F10 wheelup::F9

However, I then wanted to be able to change the function of the mouse wheel to other commands in CF such as "next/previous track" and "zoom in/out" etc.

The easiest way I could find to do this was to have these 3 .ahk scripts:

SCRIPT1
Code:
WheelDown::F10 wheelup::F9 Mbutton::run C:\script2.ahk #SingleInstance force

SCRIPT2
Code:
WheelDown::^+oemplus wheelup::^+oemMinus Mbutton::run C:\script3.ahk #SingleInstance force

SCRIPT3
Code:
WheelDown::^F wheelup::^B Mbutton::run C:\script1.ahk #SingleInstance force

So when you press the mousewheel button it loads the next script, until you get to the last one (in this case script3) and then you loop round.

Is there a better way of doing this?
Either with AutoHotkey or another program.

Also, is there a way to automatically change the mousewheel functions when you load a certain screen in CF?
E.G. when you load media player it switches to "next/previous track"
then, if you load navigation it switches to "zoom in/out".
It may require both auto switching and also manual select as in the case of media player I would want to be able to control volume and skip tracks.

I would want to scan through the track more than skip to the next/previous but I'll cross that bridge if and when.
spudgunblunder is offline   Reply With Quote
Advertisement
 
Advertisement
Sponsored links

Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
PS2 3 Button(Rotary Wheel) Mouse Properties? nFiniteTuning Input Devices 4 03-12-2005 10:43 PM
Looking for Gear Shift/Knob as a mouse Refael Azi Input Devices 6 10-10-2003 07:14 AM
I can't find my knob! Huge Input Devices 25 10-08-2003 04:46 AM
psx analog sticks for mouse control ShinkunoNamida General Hardware Discussion 1 01-11-2003 05:09 PM
Will someone help me program my relay control module cproaudio Software & Software Development 6 09-04-2002 05:50 AM


All times are GMT -5. The time now is 05:25 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.2.0
Copyright © 1999 - 2008 Mp3Car.com Inc.Ad Management by RedTyger
Message Board Statistics