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 

Personalized Scripts? mouse wheel Volume Control

 
Post new topic   Reply to topic    AutoHotkey Community Forum Index -> Scripts & Functions
View previous topic :: View next topic  
Author Message
q335r49



Joined: 26 Oct 2005
Posts: 17

PostPosted: Fri Mar 24, 2006 12:46 am    Post subject: Personalized Scripts? mouse wheel Volume Control Reply with quote

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
Back to top
View user's profile Send private message AIM Address
Display posts from previous:   
Post new topic   Reply to topic    AutoHotkey Community Forum Index -> Scripts & Functions 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