AutoHotkey Community

It is currently May 27th, 2012, 2:58 am

All times are UTC [ DST ]




Post new topic Reply to topic  [ 8 posts ] 
Author Message
PostPosted: March 18th, 2010, 7:28 pm 
Offline

Joined: March 18th, 2010, 7:18 pm
Posts: 5
Is it possible to create a script so i can mute/un-mute the line in playback volume with a mouse click? Middle mouse wheel pressed down would be good.

I could spend all day trying to figure it out (i will try) but if somebody could help me in the meantime?

Vista/Realtek

Thanks.


Last edited by SJM on March 18th, 2010, 9:10 pm, edited 1 time in total.

Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: March 18th, 2010, 8:08 pm 
Offline

Joined: April 8th, 2009, 7:49 pm
Posts: 6071
Location: San Diego, California
http://www.autohotkey.com/docs/Hotkeys.htm
http://www.autohotkey.com/docs/KeyList.htm

search for mute here
http://www.autohotkey.com/docs/commands/Send.htm

The above contain the links to the needed information.
You can probably do it in less than an hour, including the reading assignments :wink:

edit:
next time, choose a _useful_ subject time. You might as well have written "asking for help"

you also might consider searching the forum, with the keywords :arrow: volume mute


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: March 18th, 2010, 8:46 pm 
Offline

Joined: October 7th, 2006, 4:50 pm
Posts: 3157
Location: MN, USA
Hint1
It's only one line of code.

Hint2
Registered users can edit their own posts, including thread titles. If you would add "mute/un-mute" or something to that effect in the subject line, it saves me from having to do it. :)


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: March 18th, 2010, 9:41 pm 
Offline

Joined: March 18th, 2010, 7:18 pm
Posts: 5
Sorry, i was in hurry.

I've posted on here several times before but i had to re-regester.

Used ahk scripts for years, all for poker.

I don't really have the time (or interest) in learning to be honest.

I spend a lot of time helping people on forums regarding subjects i know about: Satellite encryptions/dreamboxes & some poker. People want help? I help if i can.

I only wanted a pi$$y little script to save a few seconds here and there.

I normally have to be circumspect when i reply to people regarding encryptions as it can't be discussed on open forums usually.

This is just a bit of code, which i know little about, or want to either.

Maybe there's a disclaimer stating i must fully understand ahk if i'm going to use it?

Leaving "hints" of how i can do this is a little sad i think.

Maybe get over yourselves?

....ensing ban i think. :roll:


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: March 18th, 2010, 9:49 pm 
Offline

Joined: October 7th, 2006, 4:50 pm
Posts: 3157
Location: MN, USA
I think most forums encourage learning over leaching. This one is no different; however, I appreciate your consideration in modifying the topic title.
Code:
MButton::SendInput {Volume_Mute}


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: March 18th, 2010, 9:59 pm 
Offline

Joined: March 18th, 2010, 7:18 pm
Posts: 5
Thanks, works a treat :D

If anybody wants to learn about dreamboxes and cardsharing (sure you don't), then you can find me here: :D

http://www.avforums.com/forums/index.php - PANORAMIC

http://www.satpimps.com/ - Dice Man


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: March 18th, 2010, 10:17 pm 
Offline

Joined: March 18th, 2010, 7:18 pm
Posts: 5
Ahhh, that mutes the volume ok, but i wanted the line in - playback volume muted only.

I have my tv into the line in. I just wanted to be able to mute that but still have the pc volume - i need to be able to mute the volume from the tv. I can manually do this by just muting the playback volume in realtek.

No problems, thanks again.


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: March 18th, 2010, 10:27 pm 
Offline

Joined: October 7th, 2006, 4:50 pm
Posts: 3157
Location: MN, USA
This might work, but you'll have to read the remarks on the SoundSet page.
Code:
MButton::SoundSet, +1, Line, Mute


Report this post
Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 8 posts ] 

All times are UTC [ DST ]


Who is online

Users browsing this forum: Bing [Bot], Google [Bot], rbrtryn and 27 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