Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'With added beeps!' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
With added beeps!
Authored by: applescripter on May 04, '11 10:49:54AM
I realise you were joking, but ask and you shall receive

sleep $((10-$(date +%S)%10)) ; while :; do t=$SECONDS; say "At the third beep the time will be $(date -v +10S "+%l %M and %S seconds")"; sleep $((10+$t-$SECONDS-2)); printf "\a"; sleep 1 ; printf "\a"; sleep 1; printf "\a"; done
Edited on May 04, '11 11:50:04AM by applescripter


[ Reply to This | # ]
With added beeps!
Authored by: Mac Berry on May 05, '11 01:50:23AM

Ooh neat!

So next, can I have a white Aston Martin DB9 please?

Mark



[ Reply to This | # ]
With added beeps!
Authored by: asmeurer on Jul 31, '11 06:23:33PM

You forgot to mention that you have to enable audible beeps in the Terminal preferences. Some of us have turned them off.

Also, I should note that this is better for another reason, which is that the say command takes some time to compile the string into audio before it is played, which is more of a delay.



[ Reply to This | # ]