Page 1 of 1
Need something like an audible alarm
Posted: Tue Sep 20, 2011 12:46 pm
by RICHARD RUTA
Not a technical question. I need something to replace an alarm as records are added one at a time to a subfile. The user needs to see, formerly hear, from a distance that he has accomplished a bar code scan. Does anyone have a suggestion?
Re: Need something like an audible alarm
Posted: Wed Sep 21, 2011 9:51 am
by Brian
If they just need to see this from a distance, Maybe you just add a very large output field and output "Accepted" or "Rejected". You could even control the background color by binding to the background color property. You could then change the background color to green or red.
If you really need a beep, find a wav file of an acceptable alarm sound. Then you could put something like
document.write("<bgsound src=/sounds/beep.wav>");
in your onload event property where sounds is whatever folder you put the wav file in inside your web server folder. Since onload is not bindable, you may need two versions of the screen, one that beeps and one that does not and call the appropriate one as needed.