| View previous topic :: View next topic |
| Author |
Message |
akifbayram Guest
|
Posted: Wed Jun 25, 2008 4:31 pm Post subject: Music Pausing When Headphones unplugged from jack |
|
|
| My realtek sound card on my laptop detects when I plug and unplug my headphone from the jack, but I would also like it to pause the music when i do this, just like on an iPod, or the MacBook with Breakaway software installed. I'm not sure if Autohotkey could even support this, but it would be a great script. |
|
| Back to top |
|
 |
engunneer
Joined: 30 Aug 2005 Posts: 6772 Location: Pacific Northwest, US
|
Posted: Wed Jun 25, 2008 5:19 pm Post subject: |
|
|
what notification does it give you that you have unplugged? it may be detectable as is in ahk. _________________
Unless otherwise noted, all code is untested.
Common Answers: 1.(Loops, Viruses, etc.) 2. Search 3.RTFM |
|
| Back to top |
|
 |
akifbayram Guest
|
Posted: Sun Jul 13, 2008 1:12 am Post subject: re: |
|
|
| I don't recieve a notication, but it does move the volume slider to preset positions when I plug/unplug. |
|
| Back to top |
|
 |
engunneer
Joined: 30 Aug 2005 Posts: 6772 Location: Pacific Northwest, US
|
Posted: Sun Jul 13, 2008 4:39 am Post subject: |
|
|
you may be able to detect that change using a timer, and having it see if the volume suddenly changes.
Moving this topic to ask for help. _________________
Unless otherwise noted, all code is untested.
Common Answers: 1.(Loops, Viruses, etc.) 2. Search 3.RTFM |
|
| Back to top |
|
 |
|