AutoHotkey Community

It is currently May 27th, 2012, 11:17 am

All times are UTC [ DST ]




Post new topic Reply to topic  [ 68 posts ]  Go to page Previous  1, 2, 3, 4, 5
Author Message
 Post subject:
PostPosted: November 21st, 2008, 6:08 pm 
works perfectish in Vista...


Report this post
Top
  
Reply with quote  
 Post subject:
PostPosted: November 29th, 2008, 8:59 pm 
Offline

Joined: September 24th, 2007, 9:05 am
Posts: 41
AWESOME SCRIPTING BY YOU ALL :-D

_________________
Bigrob

L337 Speak - A Ventrilo Client Side program

Winamp Sound Changer - Change Audio Output on the Fly!


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: January 3rd, 2009, 11:14 am 
Offline

Joined: December 6th, 2007, 12:48 pm
Posts: 364
Hi!
This didn't work when appended to my main script. What kind of things (variables, for example) that could possibly conflict with this? :)

_________________
AHK is perfect.


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: January 11th, 2009, 5:17 pm 
Offline

Joined: February 24th, 2008, 1:04 pm
Posts: 40
I 've got some hardware from Creation (Creative Sound Blaster X-Fi Surround 5.1)...
maybe I will be able to link the mouse position on the screen to the volume of all four speakers just to experiment. that would be cool... :wink:

thnx for the little script; the driver included with my laptop worked very slow (some sort of a bug even when I formatted and reinstalled the whole system): when I tried to bring the volume down, it always went -2+1,-2+1 in stead of -1, -1 :roll: so without driver now..
Iguess I could use this little elegant script If i would like the volume to be displayed


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: March 6th, 2009, 11:35 pm 
Is there a way to make this briefly display the volume bar in Vista?


Report this post
Top
  
Reply with quote  
 Post subject:
PostPosted: April 10th, 2009, 5:22 am 
Offline

Joined: April 8th, 2009, 11:33 am
Posts: 13
hey Rajat,

modified your original script that was in the installed help file

it shows in red when muted and green when not (only master vol).

seems to work in xp, not sure about vista.

http://www.autohotkey.com/forum/viewtopic.php?t=42969


Report this post
Top
 Profile  
Reply with quote  
 Post subject: Some help needed..
PostPosted: August 29th, 2009, 7:36 pm 
Offline

Joined: September 15th, 2006, 10:25 am
Posts: 567
I have a wireless mouse.. so i changed the code to be able to control volume when watching videos on my laptop. I need to be able to control volume only using my mouse.

The code below works fine, but it triggers the LButton and RButton actions also. If i remove the tilde, i lose the LButton and RButton of my mouse (I cannot click anything then). Any solutions are appreciated.

Code:
~LButton & WheelUp:: ;Increase wav volume OSD
   Type = W
~RButton & WheelUp:: ;Increase master volume OSD
 #MaxHotkeysPerInterval 50
   
   IfNotEqual, Type, W
   {
      SoundSet, +4       
      SoundGet, currsnd
   }
   
   IfEqual, Type, W
   {
      SoundSet, +4, Wave
      SoundGet, currsnd, Wave

   }
   
   mark=0
   curr=%EmptyBar%
   loopup:
   mark += 4
   iflessorequal,mark, %currsnd%,StringReplace, curr, curr,%Empty%,%Full%
   iflessorequal,mark, %currsnd%, goto, loopup
   gosub, display
return

~LButton & WheelDown:: ;Decrease wav volume OSD
   Type = W
~RButton & WheelDown:: ;Decrease master volume OSD
   #MaxHotkeysPerInterval 50
   
   IfNotEqual, Type, W
   {
      SoundSet, -4       
      SoundGet, currsnd
   }
   
   IfEqual, Type, W
   {
      SoundSet, -4, Wave
      SoundGet, currsnd, Wave
   }
   
   mark=0
   curr=%EmptyBar%
   loopdown:
   mark += 4
   iflessorequal,mark, %currsnd%,StringReplace, curr, curr,%Empty%,%Full%
   iflessorequal,mark, %currsnd%, goto, loopdown
   gosub, display
return


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: December 31st, 2009, 10:38 am 
Offline

Joined: February 6th, 2005, 10:40 pm
Posts: 26
works great! tanks


Report this post
Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 68 posts ]  Go to page Previous  1, 2, 3, 4, 5

All times are UTC [ DST ]


Who is online

Users browsing this forum: nomissenrojb, Rajat and 55 guests


You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Powered by phpBB® Forum Software © phpBB Group