Nimue,

it returns $null if Winamp isn't running, then it returns the name of the song if Winamp is running.

the $iif should return "Ekkert" because $ampplayingcs returns $null and I check whether $ampplayingcs returns $null and it does, but not in the $iif smile


__________________________
Curiosity killed the cat.