Page 1 of 1

how get selected files total size echo ?

Posted: 07 Oct 2016 12:03
by drjs5x
hi
how get selected files total size echo ?

i see selected size but how get script and echo $selecctedtotalsize ?

thanks
:whistle:

Re: how get selected files total size echo ?

Posted: 07 Oct 2016 12:24
by highend

Code: Select all

$size = formatbytes(eval(report("{size RAW}+", <get SelectedItemsPathNames |>) . 0));
$size = formatbytes(get("BytesSelected"));

Re: how get selected files total size echo ?

Posted: 07 Oct 2016 13:10
by drjs5x
great and from me:

$count = get("CountSelected"); $secimboyutu=get("bytesselected");$secimboyutu=formatbytes($secimboyutu, "FLEX");status $count." pcs total size ".$secimboyutu;If($count==00){echo "nothing selected..";return false};


works two script fine.......

:appl: :appl: :appl: :appl: :appl: