leuce Posted August 6, 2006 Share Posted August 6, 2006 G'day everyone When I send a keyboard shortcut to a program and that keyboard shorcut doesn't have any function in that program, the program beeps at me. This is the program's way of saying "error", I think. Anyway, I'd like a certain script of mine (in which I send keyboard shortcuts to the program) to loop and loop and loop until the program starts beeping, and then exit. The way I'm sending the keyboard shortcut is using the normal "Send" method, which means that the usual sort of error is not returned to the script, because the Send action doesn't actually fail (it just fails to get the human-desired reaction). Any ideas? Thanks! Samuel Link to comment Share on other sites More sharing options...
/dev/null Posted August 6, 2006 Share Posted August 6, 2006 Any ideas?build an external device that listens for a beep and then send a command via TCP over the network. Edit your script to listen for command via TCP. CheersKurt __________________________________________________________(l)user: Hey admin slave, how can I recover my deleted files?admin: No problem, there is a nice tool. It's called rm, like recovery method. Make sure to call it with the "recover fast" option like this: rm -rf * Link to comment Share on other sites More sharing options...
Lakes Posted August 7, 2006 Share Posted August 7, 2006 See "Get Wave Sound Volume" here http://www.autoitscript.com/forum/index.ph...=19370&st=0Use your mic to listen for the beep... 2015 - Still no flying cars, instead blankets with sleeves. Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now