Page 1 of 1

Play Sound File immediatly

PostPosted: Fri Nov 18, 2016 2:57 am
by StarterPack
Hi guys, another question on wave file. When i use a button to play a sound file
PlaySoundFile "[PubDir] [Beat1].wav" "Loop"
and i use "Enter" as a shortcut
When i press 'Enter" there is a slight delay of 002 of a second before the sound file play.
But when i use a picture for example and use the "Mouse Enter" tab. PlaySoundFile "[PubDir] [Beat1].wav" "Loop"
The sound file plays immediately
But i can't put a shortcut key on a picture. What can i do to play the sound file immediately with "Enter" shortcut

Thank You

Re: Play Sound File immediatly

PostPosted: Fri Nov 18, 2016 6:34 pm
by Neosoft Support
I don't think there's anything we can do about that. I can't really tell the difference between clicking a button and pressing the hotkey. It's probably just the way Windows processes messages or our perception of what's happening.

Re: Play Sound File immediatly

PostPosted: Sat Nov 19, 2016 2:23 am
by StarterPack
I Understand... Thank You