AutoHotkey Homepage AutoHotkey Community
Let's help each other out
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Change Zoom to Scoll (Mouse | ms ergonomic keyboard 4000)

 
Reply to topic    AutoHotkey Community Forum Index -> Ask for Help
View previous topic :: View next topic  
Author Message
numen



Joined: 04 Nov 2005
Posts: 2

PostPosted: Fri Nov 04, 2005 7:03 pm    Post subject: Change Zoom to Scoll (Mouse | ms ergonomic keyboard 4000) Reply with quote

I've just bought a microsoft ergonomic keyboard 4000, its all very nice. Except it has a large zoom slider in the middle which is useless to me, what would be very nice is if i could use it to scroll (eg webpages).

I've been trying to do this for several hours but with no joy.

When I hook to capture the commands it just replicates Control MouseUp/MouseDown.

Therefore I thought ^MouseUp::MouseUp would work, but it doesn't.

Anyone got any suggestions,

Cheers.
Back to top
View user's profile Send private message
evl



Joined: 24 Aug 2005
Posts: 1237

PostPosted: Fri Nov 04, 2005 7:21 pm    Post subject: Reply with quote

You could try removing any special drivers for the keyboard (and using standard ones) or other software associated with it and see if it works then.
Back to top
View user's profile Send private message
numen



Joined: 04 Nov 2005
Posts: 2

PostPosted: Fri Nov 04, 2005 7:29 pm    Post subject: Reply with quote

good thought, however when I remove the intellipoint software that comes with the keyboard autohotkey doesn't detect any keypresses when I move the slider.
Back to top
View user's profile Send private message
Chris
Site Admin


Joined: 02 Mar 2004
Posts: 10716

PostPosted: Sat Nov 05, 2005 3:52 pm    Post subject: Reply with quote

When you viewed the key history window, did your script have the keyboard hook installed? If not, try adding the line #InstallKeybdHook to the script and then see if the slider and other custom buttons on the keyboard show up in try key history.
Back to top
View user's profile Send private message Send e-mail
Guest






PostPosted: Sat Nov 05, 2005 4:08 pm    Post subject: Reply with quote

Gave up on autohotkey as the ms software was getting in the way. After a couple of hours messing about here's how to change it.

I copied the contents of the supplied intellipoint disc to my
harddrive, and discovered the file IType/SETUP/Files/Commands.xml.
This contains the key-action pairs for all the supported applications.
The really interesting ones start with C319 and C320, these are the up
and down commands of the zoom slider.

Therefore pick whatever application you wish to change the
functionality for, eg Internet Explorer (no I don't use it either).

<Application UniqueName="IEFrame" AppName="Internet Explorer">
<C319 Type="6" Activator="ZoomOut" />
<C320 Type="6" Activator="ZoomIn" />
</Application>

Changing this to:

<Application UniqueName="IEFrame" AppName="Internet Explorer">
<C319 Type="6" Activator="ScrollUp" />
<C320 Type="6" Activator="ScrollDown" />
</Application>

Means that the zoom slider now scrolls in ie.

Since I'm lazy I just replaced all the c319 and c320 lines with scroll,
this probably isn't wise as some of them are customised to do different
things depending on the application, but if your also lazy fire up vim
and use:

:%s/^.*<C319.*$/<C319 Type="6" Activator="ScrollUp" \/>/gc
:%s/^.*<C320.*$/<C320 Type="6" Activator="ScrollDown" \/>/gc

(note: It's not a very tidy replace, but it does the job)
(note2: Non vim people, I'm sure this can be done using a windows text
editor, but I've no idea how).
(note3: I'd guess you can also do this after IntelliType has been
installed by editing the commands.xml file directly in the Microsoft
IntelliType Pro directory, then restarting intellitype/windows)
Back to top
Cool1
Guest





PostPosted: Mon Nov 14, 2005 12:10 am    Post subject: thank you Reply with quote

just edited my command.xml as you told (in "C:\Programme\Microsoft IntelliType Pro" after install).

and YES: scrolling instead of zooming. Laughing Thank you for this info.

By the way: if you launch "mskey.exe" and there choose "action/close intelli pro" in the menu and after that start the keyboard driver again by launching "type32.exe", you need no restart.
Back to top
johnystyles577
Guest





PostPosted: Thu Apr 20, 2006 6:47 am    Post subject: Visual Studio 2005 RegEx zoom to scroll replace Reply with quote

Thank you "Corneliu I. Tusnea" for leading me in the right direction! Could no longer reply to the closed thread in groups.

For those of you using Visual Studio, here is the regex to do a replace for ONLY the nodes you want to change zoom toggle to scroll toggle:

Scroll Up
------------------
Find What:
\<C319 Type={:q}{.*}{"Zoom.*"}

Replace With:
\<C319 Type=\1\2"ScrollUp"



Scroll Down
------------------
Find What:
\<C320 Type={:q}{.*}{"Zoom.*"}

Replace With:
\<C320 Type=\1\2"ScrollDown"

if you replace all 319 and 320 keys in the command file, you will get some errors. The replace above will replace only the ones that work with the "ScrollUp" and "ScrollDown" identifiers. Some of the other progs use ctrl - / ctrl +, and most of those seem to make sense (i.e. photoshop in which i'd prob want it to zoom instead of scroll)
Back to top
NoX
Guest





PostPosted: Wed Jan 31, 2007 7:37 am    Post subject: Reply with quote

Hi!
Thanks first, for the useful tips. I also changed the Zoomslider into a scroller, but the scroll speed turned out to be very slooow. Since I don't know how to speed it up (maybe something like ScrollDownx3 Smile I decided to have a pageUp/pageDown Button function on the slider.
I got some errors while checking it out, so I'll just note what to take care of.

As posted before <C319... and <C320 are the two identifiers for the Zoom Slider. The number behind ...Type=... refers to what type of butten will be activated.

Type=6 means it is a continuarly sliding function, like for zooming or scrolling. But if you want the whole thing to work as a normal Button like pageUp or page Down you need to change it to:

Type=5! This means, every move up or down is seen as one single keypress.

Therefore you also need to change the function from "Activator" to "KeySeq"

So the whole thing looks like this after modification (I first searched for "Firefox" in the command.xml and just changed it there):

<Application UniqueName="MozillaUIWindowClass" AppName="Mozilla Firefox 1.5">
<C319 Type="5" KeySeq="pageup" />
<C320 Type="5" KeySeq="pagedown" />


Keep on modifying everybody! Laughing
and tell me, if you know how to speed the scrolling function of that zoomslider up...
Back to top
springro
Guest





PostPosted: Tue Apr 03, 2007 12:44 pm    Post subject: Zoom changing Reply with quote

Has anyone checked if Autohotkey can catch these as standard keys after the key setting has been changed?

Thanks.
Back to top
Guest






PostPosted: Wed Jun 06, 2007 6:51 pm    Post subject: winamp next shortcut Reply with quote

thanks a lot. it really helps. Dont know why the programs dont allow users to do that.

Just figured out from C:\Program Files\Microsoft IntelliType Pro\commands.xml that F5 or open button can do next track for winamp.

you may add the key codes here for different next prev buttons so that the web page does not refreshes when you try to change the track. Smile

<Application UniqueName="BaseWindow_RootWnd" AppName="WinAmp">
<C308 Type="5" KeySeq="l" />
</Application>
Back to top
ArgentumFX
Guest





PostPosted: Sun Sep 23, 2007 4:25 pm    Post subject: Reply with quote

NoX wrote:
Hi!
Keep on modifying everybody! Laughing
and tell me, if you know how to speed the scrolling function of that zoomslider up...


Actually there is no way to achieve the result u are willing via the standard Microsoft software. U can use the third parties' software though.

I'm using in particlular the Keyboard Maniac and the setting I've applied is that when u scroll with zoom slider u scroll normally and when u scroll with zoomslider + WinKey u scroll faster.

You can try to change the setting in AutoHotkey as well. I never used it and have no idea if it's able to manipulate with scroll action and mouse scroll function .

P.S. Ah I forgot. Thanx to everyone for that magnificent setting in commands.xml. It helped me a lot in my Wireless Optical Desktop 4000 keyboard.

P.P.S. Faster scroll with this keyboard is not a dream any more, it's THE REALITY!!! And I love my Microsoft keyboard.
Back to top
Guest






PostPosted: Tue Aug 26, 2008 6:29 pm    Post subject: Reply with quote

This also seems to work for the Microsoft Ergonomic Wireless 7000 as well. To change the scroll speed after the change, change the zoom speed in the standard Microsoft utility.
Back to top
PHenry
Guest





PostPosted: Sun Feb 08, 2009 6:34 pm    Post subject: more information at this blog as well Reply with quote

I liked this blog, I even wrote one with some additional tidbits of info.

http://www.pchenry.com/Home/tabid/36/EntryID/77/Default.aspx

Thanks for the info.
Back to top
Guest






PostPosted: Sat Jul 09, 2011 12:09 pm    Post subject: Reply with quote

Hi everybody!

I'm trying to change zoom to scroll, I changed commands.xml

<C319 Type="6" Activator="ScrollUp" />
<C320 Type="6" Activator="ScrollDown" />

in ALL section, StandartSupport

It has effect for all apps expect firefox.

Next, I changed

<Application UniqueName="MozillaUIWindowClass" AppName="Firefox">
<C319 Type="5" KeySeq="ctrl +" />
<C320 Type="5" KeySeq="ctrl -" />
</Application>

to
<C319 Type="6" KeySeq="ctrl add" />
<C320 Type="6" KeySeq="ctrl subtract" />

in ENG section, still no effect

Finally, I add two last rows in

<Application UniqueName="MozillaUIWindowClass" AppName="Firefox">
<C307 Type="5" KeySeq="ctrl n" />
<C308 Type="5" KeySeq="ctrl o" />
<C309 Type="5" KeySeq="ctrl w" />
<C310 Type="5" KeySeq="ctrl p" />
<C311 Type="5" KeySeq="ctrl s" />
<C315 Type="5" KeySeq="ctrl f" />
<C319 Type="6" KeySeq="ctrl add" />
<C320 Type="6" KeySeq="ctrl subtract" />
</Application>

of RUS section (I use russian windows 7 and russian firefox 6.0 beta) and when I try to scroll itype.exe gives error 'error installing intellitype software'

Any ideas?
Back to top
Guest






PostPosted: Sat Jul 09, 2011 12:20 pm    Post subject: Reply with quote

the solution - http://osherove.com/blog/2007/12/18/quick-fix-file-turn-zoom-into-scroll-on-ms-natural-ergonomic.html
works for win7 32bit + ff6!
Back to top
Display posts from previous:   
Reply to topic    AutoHotkey Community Forum Index -> Ask for Help All times are GMT
Page 1 of 1

 
Jump to:  
You can post new topics in this forum
You can reply to topics in this forum


Powered by phpBB © 2001, 2005 phpBB Group