Jump to content

Command.vbs Funktion wie isPiP ?


Recommended Posts

Hey ich fummel grad an meiner Command.vbs nen bisschen rum..

nun hab ich hier im forum eine gefunden die mir schon ganz gut taugt

aber ich habe das Problem das wenn ich Pip ( Bild in Bild) aktiviere und Timeshift an ist (was es bei mir immer ist) ich 2 mal auf OSD Grün drücken muss bevor er zum anderen fenster wehchselt

vorher geht erstmal das EPG auf.. Gibt es sowas wie ispip oder so ??

das ich ihm sage wenn PIp an ist dann ist OSD Grün fenster wechsel aber wenn nicht dann isses EPG ??

Command.vbs sieht so aus :

sub main(ActionID)
  Select Case ActionID

   Case 30501
   'bei OSD-Grün
	   If osd.isVisible Then
		   SendCommand(75)
		   'OSD-Grün
	   ElseIf istimeshift Then
		   SendCommand(8197)
	   Else
		   SendCommand(75)
	   End If

   Case 30504
   'bei OSD-Links
	   If osd.isVisible Then
	   'Ist das OSD sichtbar dann mache folgendes:
		   SendCommand(2000)
		   'OSD-Links
		   '2000 - Lautstaerke -
	   ElseIf isMediaplayback Then
	   'Wenn kein OSD Fenster sichtbar ist und ein Datei wiedergegeben wird mache folgendes:
		   SendCommand(2000)
		   'voriges
	   Else
	   'Wenn kein OSD Fenster sichtbar ist und keine Datei wiedergegeben wird mache folgendes:
		   SendCommand(2000)
	   End If

   Case 30505
   'bei OSD-Rechts
	   If osd.isVisible Then
	   'Ist das OSD sichtbar dann mache folgendes:
		   SendCommand(2100)
		   'OSD-Rechts
		   '2100 - Lautstaerke +
	   ElseIf isMediaplayback Then
	   'Wenn kein OSD Fenster sichtbar ist und ein Datei wiedergegeben wird mache folgendes:
		   SendCommand(2100)
		   'nächstes
	   Else
	   'Wenn kein OSD Fenster sichtbar ist und keine Datei wiedergegeben wird mache folgendes:
		   SendCommand(2100)
	   End If

   Case 30506
   'bei OSD-aufwärts
	   If osd.isVisible Then
		   SendCommand(78)
	   ElseIf istimeshift Then
	   'Wenn Timshift an ist mache folgendes:
		   SendCommand(21)
		   'Favoriten +
	   Else
	   'in allen anderen Fällen mache folgendes:
		   SendCommand(78)
	   End If

   Case 30507
   'bei OSD-abwärts
	   If osd.isVisible Then
		   SendCommand(79)
	   ElseIf istimeshift Then
	   'Wenn Timshift an ist mache folgendes:
		   SendCommand(20)
		   'Favoriten -
	   Else
	   'in allen anderen Fällen mache folgendes:
		   SendCommand(79)
	   End If
'	   Case Else
'		   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

Link to comment
  • 4 weeks later...

Gibt es bis jetzt nicht, nichtmal über irgendwelche Tags.

Da kann man maximal eine individuelle Taste für Bild in Bild anlernen und einen Wert hinterlegen, wenn die Funktion gesetzt wird.

Dann müsste man in der Command.vbs diesen Wert auswerten und dementsprechend die Tastenzuweisung vornehmen.

Aber spätestens wenn man diese Funktion über das Kontextmenü anwendet, gerät das Prozedere ins Wanken.

 

Man muss also abwägen ob es einem Wichtig genug ist, um etwaige Fehler zu tollerieren.

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...