Work around for Beep not working on RunRev 2.7.x+

Stephen Barncard stephenREVOLUTION at barncard.com
Wed Apr 4 13:46:46 EDT 2007


often a sound file works better than a beep for signaling


repeat with n = 1 to 4
   play "beep.aif"
   wait until the sound is done
end repeat




>Bill wrote:
>>I have rev 2.8 build 350 on powerbook g4
>>
>>When I type beep (in message box) it beeps once
>>When I type beep one it beeps once
>>When I type beep two it beeps once
>>When I type beep three it beeps twice
>>When  I type beep four it beeps three times
>>
>>Etc.
>
>Normal behavior. See the docs:
>
>"Cross-platform note:  Windows and OS X do not execute the beep 
>command if it's issued while a beep is playing. This means that if 
>you specify a numberOfTimes on a Windows or OS X system, the user 
>might hear fewer beeps because not all of them are sent to the 
>speaker. To ensure that the user hears a specific number of beeps, 
>use a loop with a wait command (where the wait time is at least as 
>long as the beep sound's duration) after each beep:"
>
>--
>Jacqueline Landman Gay         |     jacque at hyperactivesw.com
>HyperActive Software           |     http://www.hyperactivesw.com
>_______________________________________________
>use-revolution mailing list
>use-revolution at lists.runrev.com
>Please visit this url to subscribe, unsubscribe and manage your 
>subscription preferences:
>http://lists.runrev.com/mailman/listinfo/use-revolution


-- 


stephen barncard
s a n  f r a n c i s c o
- - -  - - - - - - - - -





More information about the use-livecode mailing list