All pastes #570994 Raw Edit

Mine

public text v1 · immutable
·published 2007-06-16 23:32 UTC
rendered paste body
alias np {
  var %artist
  var %album
  var %title
  if (!$com(itunes)) .comopen itunes iTunes.Application
  if ($com(CurrentTrack)) .comclose CurrentTrack
  .echo -q $com(itunes,CurrentTrack,3,dispatch* CurrentTrack)
  .echo -q $com(CurrentTrack,Artist,3)
  %artist = $com(CurrentTrack).result
  .echo -q $com(CurrentTrack,Album,3)
  %album = $com(CurrentTrack).result
  .echo -q $com(CurrentTrack,Name,3)
  %title = $com(CurrentTrack).result
  say 12Now3laying:2 %artist 62 %title $8i12(%album,(14 $+ %album $+ )
}