q335r49
Joined: 26 Oct 2005 Posts: 17
|
Posted: Fri Mar 24, 2006 12:46 am Post subject: Personalized Scripts? mouse wheel Volume Control |
|
|
AutoHotKey turns my computer into the TI-89!
I spend hours personalizing my computer to look awesome, as one would a honda civic ... like this mouse wheel volume control ...
anyone have some tiny scripts they use?
| Code: |
SoundGet, Volume
Loop, 27
{
VolumeBar = %VolumeBar%I
VolumeArray%A_index% = %VolumeBar%
}
Gui, Font, S30
Gui, Add, Edit, w350 vy
Gui, Add, UpDown, Range1-0 vMyUpDown gUpDown, 0
Gui, Show,, volumegui
Return
UpDown:
if MyUpDown
Volume *=.8
else ifLess, Volume, 98
Volume += 2
j := Round(Volume*.27)
ControlSetText,Edit1,% VolumeArray%j%,volumegui
SoundSet, %Volume%
Return
GuiClose:
ExitApp |
|
|