Sign in to follow this  
Followers 0
mentosan

play a sound when a string is found

3 posts in this topic

Hi !

Is it possible to declare ,let's say a short wav file, to play when a string from a live console output is found ?

I'm planning to build a script which scans in real time the output from a telnet session and when "not connected" occurs I want to play an alarm sound.

thanks and regards

Share this post


Link to post
Share on other sites



soundopen()

soundplay()

in help file


hmm... I wonder which key is the any key :O

Share this post


Link to post
Share on other sites

What about capturing string in real time ?

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0