Is there a better way (less code?) of conditionally adding menu items to a menu than this?
AddToMenu "[EMAIL PROTECTED]@" "MuLTiMeDia" Title m4_syscmd(type xine >& /dev/null) m4_ifelse(m4_sysval, 0, + "&XiNe (DVD Player)%xine.xpm%" Exec exec xine ) m4_syscmd(type gmplayer >& /dev/null) m4_ifelse(m4_sysval, 0, + "&MPLaYeR (DVD Player)%xine.xpm%" Exec exec gmplayer ) m4_syscmd(type xmms >& /dev/null) m4_ifelse(m4_sysval, 0, + "XMMS (MP&3 PLaYeR)%xmmsMini.xpm%" Exec exec xmms ) m4_syscmd(type dvdrip >& /dev/null) m4_ifelse(m4_sysval, 0, + "&dvd::rip" Exec exec dvdrip ) SCoTT. :) -- Visit the official FVWM web page at <URL: http://www.fvwm.org/>. To unsubscribe from the list, send "unsubscribe fvwm" in the body of a message to [EMAIL PROTECTED] To report problems, send mail to [EMAIL PROTECTED]
