Active TopicsActive Topics  Display List of Forum MembersMemberlist  Search The ForumSearch  HelpHelp
  RegisterRegister  LoginLogin
PowerHome Macros, Scripts, and Formulas Repository
 PowerHome Messageboard : PowerHome Macros, Scripts, and Formulas Repository
Subject Topic: Winamp Control Post ReplyPost New Topic
Author
Message << Prev Topic | Next Topic >>
TonyNo
Moderator Group
Moderator Group
Avatar

Joined: December 05 2001
Location: United States
Online Status: Offline
Posts: 2889
Posted: May 10 2007 at 19:53 | IP Logged Quote TonyNo

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, "") )
Back to Top View TonyNo's Profile Search for other posts by TonyNo Visit TonyNo's Homepage
 
TonyNo
Moderator Group
Moderator Group
Avatar

Joined: December 05 2001
Location: United States
Online Status: Offline
Posts: 2889
Posted: May 11 2007 at 06:59 | IP Logged Quote TonyNo

I'm using Winamp v5.2 build 393.
Back to Top View TonyNo's Profile Search for other posts by TonyNo Visit TonyNo's Homepage
 

If you wish to post a reply to this topic you must first login
If you are not already registered you must first register

  Post ReplyPost New Topic
Printable version Printable version

Forum Jump
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot delete your posts in this forum
You cannot edit your posts in this forum
You cannot create polls in this forum
You cannot vote in polls in this forum