how get selected files total size echo ?

Discuss and share scripts and script files...
Post Reply
drjs5x
Posts: 152
Joined: 18 Nov 2015 18:12
Location: Turkey

how get selected files total size echo ?

Post by drjs5x »

hi
how get selected files total size echo ?

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

thanks
:whistle:
newbie or not...........

highend
Posts: 13317
Joined: 06 Feb 2011 00:33
Location: Win Server 2022 @100%

Re: how get selected files total size echo ?

Post by highend »

Code: Select all

$size = formatbytes(eval(report("{size RAW}+", <get SelectedItemsPathNames |>) . 0));
$size = formatbytes(get("BytesSelected"));
One of my scripts helped you out? Please donate via Paypal

drjs5x
Posts: 152
Joined: 18 Nov 2015 18:12
Location: Turkey

Re: how get selected files total size echo ?

Post 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:
newbie or not...........

Post Reply