Count Selected Items with FileRequester
Posted: Sun Oct 22, 2006 11:46 pm
Sometimes, we need to know how many items were selected in a multiselect filerequester.
there are examples of while:wend with nextselectedfilename(), but i am requesting countselectedfilenames().
i think the way Fred has the Filerequester setup, the string returned is delimited with commas, which is then accessed by Nextselectedfilename().
Can you just make a command that counts the number of delimited strings returned by the Internal PB function and gives us a long number back?
there are examples of while:wend with nextselectedfilename(), but i am requesting countselectedfilenames().
i think the way Fred has the Filerequester setup, the string returned is delimited with commas, which is then accessed by Nextselectedfilename().
Can you just make a command that counts the number of delimited strings returned by the Internal PB function and gives us a long number back?