AutoHotkey Community

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

All times are UTC [ DST ]




Post new topic Reply to topic  [ 12 posts ] 
Author Message
 Post subject: The "Roller!"
PostPosted: October 17th, 2006, 12:09 am 
Offline

Joined: May 29th, 2006, 3:14 pm
Posts: 24
Hi,

I tought I'd share with you a mousewheel project.

Image

It is based upon this guy's great idea: (With Walktrough)
http://forums.bit-tech.net/showthread.p ... fd&t=86820

A homebrew usb knob, with an old VHS playing head mounted on a mouse’s scroll wheel socket.

VHS heads have excellent ball bearings and believe me, it spins really well.

It is particularly useful in scrolling large list in music library, scrolling through text or scripts.

I use mostly graphic applications and in Photoshop, every numeric box entry is adjustable with the mouse wheel. I have assigned various modifiers (alt, ctrl, etc) to the mouse wheel to adjust things like: Brush Size, Brush opacity, Zoom, Volume etc.

Regards,

Tarc


Last edited by tarc on October 17th, 2006, 3:09 pm, edited 1 time in total.

Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: October 17th, 2006, 12:25 pm 
D'ya you wanna sell such a device all over the world (OK, guessing its form factor will change a little :wink:)???
In German 'Spinner' means 'fool' :shock: (definitely in some parts of Germany).

Just to let you know. Btw, cool project 8)


Report this post
Top
  
Reply with quote  
 Post subject:
PostPosted: October 17th, 2006, 3:20 pm 
Offline

Joined: May 29th, 2006, 3:14 pm
Posts: 24
Hi Bobo,

I thought I'd show it here so people could build their own! :)

Thanks for the tip, it is funny how things have different meanings in other languages. Once I made an illustration representing excellence with a hand joining index and thumb to form a kind of "o", I soon learned by the client that in Latin America this gesture a whole other meaning, and was is in fact meaning: “asshole”.

Tarc


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: October 17th, 2006, 3:58 pm 
Quote:
I soon learned by the client that in Latin America ...
which indeed is based on the colonization done by European (Mediterranian) Empires. Latin is the basis of the italian, french, hispanic language - so while colonized the native South/Middle American people adopted that NON verbal language (gestures) too.

So feel free to get killed in Milano (Italy/EU) for the reason that you've used a 'Latin American' gesture :shock:

8)


Report this post
Top
  
Reply with quote  
 Post subject:
PostPosted: October 17th, 2006, 4:09 pm 
:lol: a "Roller" is commonly used in Germany as an equivalent for
1) a 'Vespa' --> [Motorroller] or
2) a toy for kids --> [Tretroller] or
3) a special kind of cheese --> ["Harzer Roller"]

Have fun 8)


Report this post
Top
  
Reply with quote  
 Post subject:
PostPosted: October 17th, 2006, 4:35 pm 
What about to let the AHK Community find a name for the BVHMSD (BlueishVideoHeadMouseScrollDevice) ??? Go + get IT! :D


Report this post
Top
  
Reply with quote  
 Post subject:
PostPosted: October 17th, 2006, 5:15 pm 
Offline

Joined: May 29th, 2006, 3:14 pm
Posts: 24
Motoroller, I like that!

Tarc


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: October 17th, 2006, 6:54 pm 
Offline

Joined: February 14th, 2005, 4:05 pm
Posts: 4710
Location: Boulder, CO
For the ones, who are not so good at building cool hardware, here is a script I use to speed up scrolling, when needed. If the 4th mouse button is pressed, while the wheel turns, scrolling will be 10 times faster. (Use any other key or button, if your mouse is not like a piano.)
Code:
CoordMode Mouse, Screen          ; Needed for Wheel handling
DllCall("SystemParametersInfo",UInt,0x69,UInt,1,UInt,0,UInt,0) ; Wheel -> 1 line/event

XButton1::Wheel =                ; Reset Wheel history
XButton1 Up::                    ; Normal only if Wheel did not turn
   IfNotEqual Wheel,, Return
   SendInput {XButton1}
Return

WheelDown::                      ; Scroll window under mouse pointer
WheelUp::                        ; Needs "CoordMode Mouse, Screen"
   Wheel = 1                     ; For XButton
   MouseGetPos mX, mY, WinID, Ctrl
   Loop % 1+9*GetKeyState("XButton1","P") ; Accelerated scroll: Some applications don't take scroll-size
     PostMessage 0x20A,((A_ThisHotKey="WheelUp")-.5)*A_EventInfo*(120<<17),(mY<<16)|mX,%Ctrl%,ahk_id %WinID%
Return
This script also changes the wheel behavior: the control under the mouse cursor scrolls, not the active one. You can scroll your dictionary on the side of the screen, while your editor stays active.


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: October 18th, 2006, 12:55 pm 
Quote:
here is a script I use to speed up scrolling
Wouldn't this be a top scorer at the Scripts&Functions section (if not be already)? :D


Report this post
Top
  
Reply with quote  
 Post subject:
PostPosted: October 18th, 2006, 4:05 pm 
Offline

Joined: February 14th, 2005, 4:05 pm
Posts: 4710
Location: Boulder, CO
something similar has been posted there


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: October 18th, 2006, 4:12 pm 
Offline

Joined: May 29th, 2006, 3:14 pm
Posts: 24
Great script Laszlo!
I like the Idea of not having to bring the window upfront to activate the scrollbars.

Tarc


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: October 19th, 2006, 9:54 pm 
Offline

Joined: May 29th, 2006, 3:14 pm
Posts: 24
I was also thinking of a footswitch project for a while. Now that there is some cheap 6 buttons mouses available, I could use the last three ones and map something specific to it.

Maybe something like Ctrl alt and shift.

Regards,

Tarc


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

All times are UTC [ DST ]


Who is online

Users browsing this forum: No registered users and 5 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