get selection image count

Please check the FAQ (https://www.xyplorer.com/faq.php) before posting a question...
Post Reply
drjs5x
Posts: 152
Joined: 18 Nov 2015 18:12
Location: Turkey

get selection image count

Post by drjs5x »

hi dear
$count = get("CountSelected"); this all count.
possible jpg,jpeg,bmp,png,gif count?

thanks. :cup:
newbie or not...........

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

Re: get selection image count

Post by highend »

gettoken()
formatlist()

In conjunction they can do what was asked for...
One of my scripts helped you out? Please donate via Paypal

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

Re: get selection image count

Post by drjs5x »

from selection list?
newbie or not...........

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

Re: get selection image count

Post by highend »

Sure
One of my scripts helped you out? Please donate via Paypal

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

Re: get selection image count

Post by drjs5x »

i will try like " text gettoken(CountSelected, "count", "*.jpg;*.png"); " :biggrin:
newbie or not...........

jupe
Posts: 2794
Joined: 20 Oct 2017 21:14
Location: Win10 22H2 120dpi

Re: get selection image count

Post by jupe »

Code: Select all

text gettoken(formatlist(<get selecteditemsnames |>, "f", , "*.jpg|*.jpeg|*.bmp|*.gif|*.png"), "count", "|");

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

Re: get selection image count

Post by highend »

Learning effect: 0 or probably: -1

<- Out
One of my scripts helped you out? Please donate via Paypal

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

Re: get selection image count

Post by drjs5x »

great working .
thanks for reply.
thanks for help.
:cup:
newbie or not...........

jupe
Posts: 2794
Joined: 20 Oct 2017 21:14
Location: Win10 22H2 120dpi

Re: get selection image count

Post by jupe »

highend wrote:Learning effect: 0 or probably: -1

<- Out
I have been trying to teach the OP, but it just results in more & more questions, instead of an answer and then research on the OPs part, so don't dirty up on me, and IMO your analysis is flawed, a lot of people learn easier from seeing the constructed command first than from trying to piece it together themselves, also when you don't read english well like the OP I would think reading the help file is particularly hard to absorb and there might be a benefit to seeing it completed, but from now on I will let you answer every question the way you want.

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

Re: get selection image count

Post by drjs5x »

highend and jupe. dears. thank you very much. I appreciate you. you are great .
Sincerely.
newbie or not...........

Post Reply