Jump to content

Sky Slate Blueberry Blackcurrant Watermelon Strawberry Orange Banana Apple Emerald Chocolate
Photo

Personalized Scripts? mouse wheel Volume Control


  • Please log in to reply
No replies to this topic
q335r49
  • Members
  • 28 posts
  • Last active: Mar 30 2010 04:05 AM
  • Joined: 26 Oct 2005
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?

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