Sign in to follow this  
Followers 0
smcombs

Hiding a media player

4 posts in this topic

Does anyone know of a media player that can be hidden on execution? I have tried Windows Media Player, AAMP, foobar2000, and WinAmp but none of them seem to support the ability to be hidden on execution. I got Windows Media Player to be hidden after the window appears. I need this for a notification but cant have the window show. Here is my code I am using:

CODE
ShellExecute("attention.wav","","c:\users\steven\documents\autoit\wav files\")

Sleep(1000)

WinSetState("Windows Media Player","",@SW_HIDE)

Thanks

Share this post


Link to post
Share on other sites



Look-up _SoundPlay() in the UDF Helpfile.

Thank you so much that worked amazing.

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  
Followers 0