button to show and hide media player
Wednesday, January 2, 2008 by aspa23 | Discussion: DesktopX
i tried to build a button that shows my winamp player if its minimized/hidden, and hides it, if its shown.
with the built in DXPlayer application, i could build a button that shows the player on click and hides it on "shift & click".
i also tried to do it with a script, using the pusbutton activex element, but i dont know how i can manipulate the player from the script...is there a command that shows or hides the player?
someone has an idea how i could build such a button?
thanks in advance
Reply #2 Wednesday, January 2, 2008 11:16 AM
now i'm gonna look closely at your script...hope i can learn how those things work out
Reply #3 Wednesday, January 2, 2008 12:15 PM
There are definitely some DX scripting gods out there that can answer any other questions you might have.
If you had any questions about the dxpack, I'd be happy to help.
-Mike
[Stardock Support]
Please login to comment and/or vote for this skin.
Welcome Guest! Please take the time to register with us.
There are many great features available to you once you register, including:
- Richer content, access to many features that are disabled for guests like commenting on the forums and downloading skins.
- Access to a great community, with a massive database of many, many areas of interest.
- Access to contests & subscription offers like exclusive emails.
- It's simple, and FREE!







Reply #1 Wednesday, January 2, 2008 10:58 AM
It is not possible to (through scripts or otherwise) change the functionality of objects that are utilizing the DXPlayer. Scripting support of objects utilitizing DXPlayer is somewhat limited.
You could, through some script trickery, accomplish this using multiple objects and toggling their visibility. For example:
http://sd.stardock.com/mike/apps/Winamp_show-hide_example.zip
(Built with DesktopX 3.2 on XP x86 - Tested with winamp 5.32 on XP x86)
-Mike
[Stardock Support]