> *info expr(m.fileinfo("size:m"))  expr(winamp.track("cur","filename"))

MiscPlugin.fileinfo("size:m") is not good to use in Info expr()
because you must set a new value for sFileName = winamp.track("cur","filename")
every time BEFORE MiscPlugin.fileinfo()

Try file.size or file.ksize instead of miscplugin.fileinfo

*Info expr(file.ksize(winamp.track("cur","filename")) /1024)  M

or

*Info expr(file.ksize(winamp.track("cur","filename")))  K

-----------------------------------------------------------

> so I have another idea.

> in scheduler,I add a item 

> ------------
> Event.Createms(1000,0,"[EMAIL PROTECTED]")
> ------------

Event is OK
or a Timer or the Monitor command list

@mp3size
If (not anywindow "c=winamp v1.x") Do
  cl.SetLabel(?"!!BAR!!TASKBAR!!","36","no winamp")
elseif(not validpath(winamp.track("cur","filename")))
  cl.SetLabel(?"!!BAR!!TASKBAR!!","36","no file")
else
  zSize = file.size(winamp.track("cur","filename"))
  if(zsize > 1048576)do
    zsize = zsize /1048576 ++ " M"
  elseif(zsize > 1024)
    zsize = zsize /1024 ++ " K"
  else
    zsize = zsize ++ " B"
  endif
  cl.SetLabel(?"!!BAR!!TASKBAR!!","36",zsize)
endif
quit




Attention: PowerPro's Web site has moved: http://www.ppro.org 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/power-pro/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 



Reply via email to