Our new official repo is on github
LCD Smartie version 5.6 is released!
Download it now: https://github.com/LCD-Smartie/LCDSmartie/releases

Swap/Warn if with Bar/PBar probs

Discuss anything to do with plugins

Moderators: _X7JAY7X_, caesar, IFR, mattcro, limbo

Post Reply
EvylRat
Posts: 53
Joined: September 26th, 2007, 5:33 pm
Contact:

Swap/Warn if with Bar/PBar probs

Post by EvylRat »

Code: Select all

Text01="Sys  $dll(Pbar,2,9#8,$HDUsed(C)#$HDTotal(C)) $Right($dll(swap,1,$dll(swap,1,$dll(if,1,$HDFreg(C)#0,$HDFree(C)Mb#$HDFreg(C)Gb)#$HDF%(C)%,2)#$HDF%(C)%,2),$5%)"
Text02="Sys  Low space $Right($dll(swap,1,$dll(swap,1,$dll(if,1,$HDFreg(C)#0,$HDFree(C)Mb#$HDFreg(C)Gb)#$HDF%(C)%,2)#$HDF%(C)%,2),$5%)"
Text03="$dll(warnif.dll,2,$dll(warnif.dll,11,$HDF%(C)/15,Good)/15,Bad)"
Text04="$dll(warnif.dll,2,$dll(warnif.dll,11,$HDF%(C)/15,$dll(Pbar,2,9#8,$HDUsed(C)#$HDTotal(C)))/15,Low space )"
I'm trying to show a Bar for the hard drive usages (3 drives).
I want the bar to be replaced with a warning message when the free space falls below a percentage.
However, no matter what I do, I get garbage on the screen instead of bars.
I've tried both Bar and PBar functions, and used Warn If and Swap, both with similar results... random chars instead of a bar.

Image

Post Reply