Jump to content

Recommended Posts

Posted

http://www.autoitscript.com/forum/index.ph...st&p=320381

here is how you set it

try reversing it... (I sincerely haven't got a clue on how to do that!)

Some Projects:[list][*]ZIP UDF using no external files[*]iPod Music Transfer [*]iTunes UDF - fully integrate iTunes with au3[*]iTunes info (taskbar player hover)[*]Instant Run - run scripts without saving them before :)[*]Get Tube - YouTube Downloader[*]Lyric Finder 2 - Find Lyrics to any of your song[*]DeskBox - A Desktop Extension Tool[/list]indifference will ruin the world, but in the end... WHO CARES :P---------------http://torels.altervista.org

Posted (edited)

Try this :

$ProgName = "Winamp song reader"


Opt("WinTitleMatchMode",2)
$text = WinGetTitle (" - Winamp", "")
if $text = "" Then
    MsgBox (0, $ProgName , "Winamp window or title couldn't be found")
    exit
endif

$text = StringReplace ( $text, " - Winamp", "")
MsgBox (0, $ProgName , $text)

You can also search/remove/use the [stopped] and [Paused] ...

Also, in the General Preferences of Winamp you may want to uncheck the option that adds the playlist number to the taskbar title.

Edited by Inverted
Posted

  Inverted said:

Try this :

$ProgName = "Winamp song reader"


Opt("WinTitleMatchMode",2)
$text = WinGetTitle (" - Winamp", "")
if $text = "" Then
    MsgBox (0, $ProgName , "Winamp window or title couldn't be found")
    exit
endif

$text = StringReplace ( $text, " - Winamp", "")
MsgBox (0, $ProgName , $text)

You can also search/remove/use the [stopped] and [Paused] ...

Also, in the General Preferences of Winamp you may want to uncheck the option that adds the playlist number to the taskbar title.

yes i know this script, and i have one for itunes, but what about WMP?
Posted (edited)

  Inverted said:

If WinExists("Windows Media Player") Then
    $songname = ControlListView  ("Windows Media Player", "", "SysListView321", "GetText", 0,0)
    MsgBox(0, "", $songname)
EndIf

The above will return the first item in the playlist, I don't know how to see which one is playing :-(

not working to me :S

i get $songname = 0

can u test it on your pc? thx

Edited by Gillboss

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
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...