geekhack

geekhack Community => Input Devices => Topic started by: msimon on Sun, 02 October 2011, 09:53:25

Title: Anyone got ahk volume script for tenkeypad
Post by: msimon on Sun, 02 October 2011, 09:53:25
Does anyone know how to create a script to use the - and + on the tenkeypad with the alt or win key as a the activating key for volume control.

I have a simple one on my tenkeyless keybaord now but when my tenkeypad arrives it will be in full use for such things.

Much appreciated.
Title: Anyone got ahk volume script for tenkeypad
Post by: pyro on Sun, 02 October 2011, 14:18:08
Code: [Select]

NumpadAdd::Send {Volume_Up 5}
NumpadSub::Send {Volume_Down 5}


Everything you need is here http://www.autohotkey.com/docs/KeyList.htm
Title: Anyone got ahk volume script for tenkeypad
Post by: msimon on Sun, 02 October 2011, 14:38:57
Quote from: pyro;425135
Code: [Select]
NumpadAdd::Send {Volume_Up 5}
NumpadSub::Send {Volume_Down 5}

Everything you need is here http://www.autohotkey.com/docs/KeyList.htm

Thankyou, +rep for you if it existed so this will have to suffice :kiss:
Title: Anyone got ahk volume script for tenkeypad
Post by: msimon on Sun, 02 October 2011, 15:37:09
Im having another problem.

I need the NumpadEnter to be my activate button for the NumpadAdd and Sub so NumpadEnter+NumpadAdd.

How do i go by adding that in, the help stuff is nice just doesnt get to the stuff i realy need to learn.
I did one back ago with !PgUp::Send (Win+Page Up) and that worked perfectly just this wont do what i want.

What am i missing?
Title: Anyone got ahk volume script for tenkeypad
Post by: pyro on Sun, 02 October 2011, 16:35:35
try
Code: [Select]

NumpadEnter & NumpadAdd::Send {Volume_Up 5}
Title: Anyone got ahk volume script for tenkeypad
Post by: msimon on Sun, 02 October 2011, 16:45:41
Quote from: pyro;425168
try
Code: [Select]

NumpadEnter & NumpadAdd::Send {Volume_Up 5}

 
Success, Thankyou.
Title: Anyone got ahk volume script for tenkeypad
Post by: slueth on Sun, 02 October 2011, 20:34:15
Quote
Alt & NumpadAdd::
Send {Volume_Up}
return

Alt & NumpadSub::
Send {Volume_Down}
return

Alt & NumpadUp::
Send {Volume_Mute}
return

Alt & NumpadClear::
Send {Media_Play_Pause}
return

Alt & NumpadLeft::
Send {Media_Prev}
return

Alt & NumpadRight::
Send {Media_Next}
return

This one uses alt and the numpad, pause/play,mute, next song, previous song, volup, voldown.
Title: Anyone got ahk volume script for tenkeypad
Post by: msimon on Tue, 04 October 2011, 09:43:14
Quote from: slueth;425250
This one uses alt and the numpad, pause/play,mute, next song, previous song, volup, voldown.

Thankyou for this.