Jump to content
Sign in to follow this  

_SoundPos and others

Recommended Posts



Hi there

I downloaded and replaced the Sound.au3 from the topic I've linked and its working fine, except one thing.

It's have a quiet large ammunt of Faild 'QueryOpen' - 'NAME NOT FOUND'.

I've looked after the UDF Code, and found out that when the _Sound<something> Fuction using the "mciSendString()" functions they all have the the following function:


By watching the sysinternals process monitor, every time when its tring to get the short name of the random 10 character generated by the _SoundOpen() these functions are tring to find it in the script's directory, like "C:\AutoIt3\kyudhfikei" which is absoluetly not existing, but it check is 12 times before it figures out that the song I'm looking for is somewhere else...?!

I've Replaced all 'FileGetShortName($sSnd_id)' to a simple '$sSnd_id' in my sound.au3, but since I don't understand this level of programing yet, I would like to ask if anyone knows the consequences,... if there are any until I'm using the alias given by the _SoundOpen()?

[quote name='PsaltyDS']so what is your ilegitimate purpose here?[/quote]

Share this post

Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this