Flowy Posted July 30, 2009 Share Posted July 30, 2009 Habe es geschafft, dass ich die Lautstärke von Windows und DVBViewer ändern kann. Ausserdem wird das DVBViewer Fenster in den Vordergrund geholt! Im DVBViewer Ordner unter Scripts gibt es die Command.vbs dort folgendes ergänzen, oder überschreiben: sub main(ActionID) Set WshShell = CreateObject("WScript.Shell") WshShell.AppActivate("DVBViewer") Select Case ActionID Case 50301 if osd.isVisible Then WshShell.SendKeys(chr(175)) else SendCommand(26) end if Case 50302 if osd.isVisible Then WshShell.SendKeys(chr(174)) else SendCommand(27) end if Case Else 'Bei allen anderen ActionIDs osd.showInfoinTVpic "No action in the Command.vbs for the ActionID " & ActionID,1000 'Zeige die Text Information No action in the Command.vbs for the ActionID (ActionID) 'für 1000 Millisekunden im DVBViewer an. End Select end sub Vll hilfts dem einen oder anderen Quote Link to comment
dbraner Posted August 1, 2009 Share Posted August 1, 2009 die command.vbs wird ja nur aufgerufen, wenn eine Action ausgeführt wird. Dies geschieht normalerweise, wenn eine Taste gedrückt wird. Dazu wiederum muss der Dlvbviewer schon das aktive Fenster sein. Wozu sollte man also in der command.vbs den DVBViewer aktivieren? Quote Link to comment
Flowy Posted August 2, 2009 Author Share Posted August 2, 2009 Ja das stimmt. Bei mir ist das TechnoTrend-Plugin aktiv und das sendet auch, wenn DVBViewer im Hintergrund ist. Falls Popups in den Vordergrund kommen, sollte das DVBV-Fenster wieder in den Vordergrund kommen. Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.