Page 1 of 1

alarming sound

PostPosted: Fri Sep 26, 2014 9:32 pm
by Pedro
Sometimes I am easily amused. I hope you are too:

You have to start the ISPF workstation agent first.
/* rexx */                                       
ip    = 'pedro.abc.com'                     
title = 'PEDRO'                                 
Address ISPEXEC     
"WSCON ip(ip) title(title) codepage(1140) ",     
         "charset(0695) noguidsp panel(onerror)"
wsname = "C:/Windows/Media/Ringout.wav"         
"SELECT WSCMD("wsname") MODELESS MIN INVIS"     
"WSDISCON"                                       

This example launches the media player and plays the wave file. The file name can be other types. For example, if you specify the name of an html file, it will launch your browser to display that page. The file has to exist on your workstation.