On 12 Nov 2002 01:24:30 -0600, Norvell Spearman wrote: > > Thanks for answering so quickly. > > How much longer will FvwmAudio compatibility mode be available in > FvwmEvent?
I don't know, probably until 3.0.0. > Could I not append the sound directory to the FvwmEvent Cmd argument, > for example: > > SetEnv SOUND_DIR /data/multimedia/sounds > *FvwmEvent-Sound: Cmd "Exec exec esdplay $[SOUND_DIR]/$[1]" > *FvwmEvent-Sound: add_window wiggle.wav > > Thanks much for your help. It should be fairly trivial to change FvwmEvent to accept format specifier (like %s) in Cmd. If it is not found in Cmd, then " %s" is added to it just like it works now. Then something like this would work for you: *FvwmEvent-Sound: Cmd "Exec exec esdplay /data/multimedia/sounds/%s.wav" *FvwmEvent-Sound: add_window wiggle I don't have a time to add this right now. Maybe someone else has. Regards, Mikhael. -- 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]
