home
products
contribute
download
documentation
forum
Home
Forums
New posts
Search forums
What's new
New posts
All posts
Latest activity
Members
Registered members
Current visitors
Donate
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Search titles only
By:
Menu
Log in
Register
Navigation
Install the app
Install
More options
Contact us
Close Menu
Forums
MediaPortal 1
MediaPortal 1 Talk
Volume OSD for system volume
Contact us
RSS
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="bogser" data-source="post: 838128" data-attributes="member: 118470"><p>Thanks for reply,</p><p>I've tested 3RVX a year ago and had some problems with it. OSD was too small on my TV, setting volume change step did not work, maybe something else. Also, seems like 3RVX is not developed now, there is only 2.5 version as a year ago.</p><p> </p><p>For now, I'm using my own script for <a href="http://l.autohotkey.net/" target="_blank">AutoHotkey_L</a> for displaying OSD:</p><p> </p><p><img src="http://img820.imageshack.us/img820/6517/volumeosd.png" alt="" class="fr-fic fr-dii fr-draggable " style="" /></p><p> [CODE]#Include VA.ahk ; Required for VA_GetMasterVolume and VA_GetMasterMute functions, download from http://www.autohotkey.com/forum/topic23792.html</p><p> </p><p>nVolumeIndicatorDisplayTime := 1000 ; Number of ms that should elapse before hiding volume indicator</p><p>nVolumeIndicatorWidth := 500</p><p>nVolumeIndicatorX := Round( (A_ScreenWidth - nVolumeIndicatorWidth) / 2 )</p><p>nVolumeIndicatorY := A_ScreenHeight - 200</p><p> </p><p>; The $ prefix is needed so that a hotkey can "send itself" without entering into infinite loop</p><p> </p><p>$Volume_Up::</p><p> Send {Volume_Up}</p><p> Sleep, 50 ; Give some time to Windows to process message</p><p> Gosub, ShowVolumeIndicator</p><p> return</p><p> </p><p>$Volume_Down::</p><p> Send {Volume_Down}</p><p> Sleep, 50 ; Give some time to Windows to process message</p><p> Gosub, ShowVolumeIndicator</p><p> return</p><p> </p><p>$Volume_Mute::</p><p> Send {Volume_Mute}</p><p> Sleep, 50 ; Give some time to Windows to process message</p><p> Gosub, ShowVolumeIndicator</p><p> return</p><p> </p><p>ShowVolumeIndicator:</p><p> nVolume := Round(VA_GetMasterVolume())</p><p> bMute := VA_GetMasterMute()</p><p> </p><p> if (!bMute)</p><p> strVolumeText := nVolume</p><p> else</p><p> strVolumeText := "Mute"</p><p> </p><p> ; To prevent the "flashing" effect, only create the progress window if it doesn't already exist</p><p> IfWinNotExist, HTPCVolumeOSDWindowTitle</p><p> {</p><p> Progress, 1:B1 W%nVolumeIndicatorWidth% X%nVolumeIndicatorX% Y%nVolumeIndicatorY% CWWhite CBGreen CTGreen, , %strVolumeText%, HTPCVolumeOSDWindowTitle</p><p> WinSet, Transparent, 225, HTPCVolumeOSDWindowTitle</p><p> }</p><p> Progress, 1:%nVolume%, , %strVolumeText%</p><p> SetTimer, HideVolumeIndicator, %nVolumeIndicatorDisplayTime%</p><p> return</p><p> </p><p>HideVolumeIndicator:</p><p> SetTimer, HideVolumeIndicator, Off</p><p> Progress, 1:Off</p><p> return[/CODE]</p><p> </p><p>It works, but it would be better if mediaportal displayed volume OSD natively according to its current skin as windows media center does.</p></blockquote><p></p>
[QUOTE="bogser, post: 838128, member: 118470"] Thanks for reply, I've tested 3RVX a year ago and had some problems with it. OSD was too small on my TV, setting volume change step did not work, maybe something else. Also, seems like 3RVX is not developed now, there is only 2.5 version as a year ago. For now, I'm using my own script for [URL='http://l.autohotkey.net/']AutoHotkey_L[/URL] for displaying OSD: [IMG]http://img820.imageshack.us/img820/6517/volumeosd.png[/IMG] [CODE]#Include VA.ahk ; Required for VA_GetMasterVolume and VA_GetMasterMute functions, download from http://www.autohotkey.com/forum/topic23792.html nVolumeIndicatorDisplayTime := 1000 ; Number of ms that should elapse before hiding volume indicator nVolumeIndicatorWidth := 500 nVolumeIndicatorX := Round( (A_ScreenWidth - nVolumeIndicatorWidth) / 2 ) nVolumeIndicatorY := A_ScreenHeight - 200 ; The $ prefix is needed so that a hotkey can "send itself" without entering into infinite loop $Volume_Up:: Send {Volume_Up} Sleep, 50 ; Give some time to Windows to process message Gosub, ShowVolumeIndicator return $Volume_Down:: Send {Volume_Down} Sleep, 50 ; Give some time to Windows to process message Gosub, ShowVolumeIndicator return $Volume_Mute:: Send {Volume_Mute} Sleep, 50 ; Give some time to Windows to process message Gosub, ShowVolumeIndicator return ShowVolumeIndicator: nVolume := Round(VA_GetMasterVolume()) bMute := VA_GetMasterMute() if (!bMute) strVolumeText := nVolume else strVolumeText := "Mute" ; To prevent the "flashing" effect, only create the progress window if it doesn't already exist IfWinNotExist, HTPCVolumeOSDWindowTitle { Progress, 1:B1 W%nVolumeIndicatorWidth% X%nVolumeIndicatorX% Y%nVolumeIndicatorY% CWWhite CBGreen CTGreen, , %strVolumeText%, HTPCVolumeOSDWindowTitle WinSet, Transparent, 225, HTPCVolumeOSDWindowTitle } Progress, 1:%nVolume%, , %strVolumeText% SetTimer, HideVolumeIndicator, %nVolumeIndicatorDisplayTime% return HideVolumeIndicator: SetTimer, HideVolumeIndicator, Off Progress, 1:Off return[/CODE] It works, but it would be better if mediaportal displayed volume OSD natively according to its current skin as windows media center does. [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
MediaPortal 1 Talk
Volume OSD for system volume
Contact us
RSS
Top
Bottom