当前位置: 首页 >> 榆树网-系统 >> 文章正文

VLC disable error messages (error messages suppressed)

VLC from throws and not turn-off errors in a separate error window [1] [2] [3]. These errors particularly annoying when VLC is operated with a remote control or keyboard. Also setting the “verbose level” ( “Verbosity”) to “0″ or the quiet switch “be quiet” ( “Be”) under “Tools-> Settings” ( “Tools-> Preferences) does not prevent VLC still sporadic error messages. The problem can be solved but with AutoHotkey and a corresponding script. This script monitors the open window in Windows and includes an error occurs, the information window of VLC.

SetTitleMatchMode, 3
Loop
{
	; English and German
	if WinExist("Errors ahk_class QWidget")
	   or WinExist("Fehler ahk_class QWidget")
	{
		WinKill ; Close
		WinWaitClose
		;MsgBox Closed Error
	}

	; Error Message after Crash
	IfWinExist, VLC media player ahk_class #32770
	{
		WinKill	 ; Close
		WinWaitClose
		;MsgBox Closed Error
	}
	Sleep, 2000
}

From: http://sysout.twoday.net/stories/5758698/

相关文章

发表评论