TonyNo Moderator Group
Joined: December 05 2001 Location: United States
Online Status: Offline Posts: 2889
|
Posted: May 10 2007 at 19:53 | IP Logged
|
|
|
As requested.
Maybe I don't understand what's being asked for, but this is really simple...
Play
ph_winampctrl( "play", 0, "")
Pause
ph_winampctrl( "pause", 0, "")
Previous
ph_winampctrl( "prev", 0, "")
Next
ph_winampctrl( "next", 0, "")
Stop
ph_winampctrl( "stop", 0, "")
Getting fancy here...
Play/Pause
case( ph_winampinfo( "status", 0, 2) WHEN "stopped" THEN ph_winampctrl( "play", 0, "") WHEN "playing" THEN ph_winampctrl( "pause", 0, "") when "paused" THEN ph_winampctrl( "play", 0, "") )
|