That's good for you,Alan.Thank you for your wonderful idea.
But the plugin file.dll can not get the info of the "currunt playing"
mp3 file.
In another situation,when the winamp is "stop",it works well.you can
test.
So its related to the plugins,somehow,I guess.hah! : )
So,so,so,
I wrote it my way.
------------------------------------------------------
@mp3size
If (not anywindow "c=winamp v1.x") Do
cl.SetLabel(?"!!BAR!!TASKBAR!!","36","[None]")
elseif(not validpath(winamp.track("cur","filename")))
cl.SetLabel(?"!!BAR!!TASKBAR!!","36","[No file]")
elseif(winamp.trackinfo("status_i") == 2)
cl.SetLabel(?"!!BAR!!TASKBAR!!","36","[Pause]")
elseif(winamp.trackinfo("status_i") == 0)
cl.SetLabel(?"!!BAR!!TASKBAR!!","36","[Stop]")
else
sFileName = winamp.track("cur","filename")
zSize = m.fileinfo("size")
if(zsize > 1048576)do
zsize = m.fileinfo("size:m") ++ " M"
elseif(zsize > 1024)
zsize = m.fileinfo("size:k") ++ " K"
else
zsize = zsize ++ " B"
endif
cl.SetLabel(?"!!BAR!!TASKBAR!!","36",zSize)
endif
quit
-----------------------------------------------------
Now,I'm feeling so good.
m.fileinfo("size:m") or m.fileinfo("size:k")
it can show the label just like "3.21 M" or "820.67 K",there are 2
numbers after the point.
can plugin file.dll do the same thing? Maybe I should use "if(zsize >
1048576)do"?
I don't think it's necessary to do this.miscplugin can do it well now.
I just want to say thank you to Alan and Brucexs,I can not do this
without your help.
and specially,Brucexs,your program is the best one I've ever used.I
can find almost everything in Powerpro.
thank you so much.
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/