can i get folder Contents in a drop list
Posted: 22 Aug 2014 15:30
can i get folder Contents in a drop list and filter them by .exe
Forum for XYplorer Users and Developers
https://www.xyplorer.com/xyfc/
Code: Select all
text inputselect(".exe files", formatlist(folderreport("files", "r", "<curpath>", "r", , "<crlf>"), "f", "<crlf>", "*.exe", "f"), "<crlf>");
Code: Select all
text inputselect(".exe files", formatlist(folderreport("files", "r", "<curpath>", "r", , "<crlf>"), "f", "<crlf>", "*.exe", "f"), "<crlf>");
//look here: formatlist( --------------- first parameter ---------------- , "f", "<crlf>", "*.exe" ) Right, what's the 3rd parameter of formatlist in the script? it's the parameter left of "*.exe": <crlf>.the manual about the fourth pararmter wrote:"On format f: A list of filters, separated by separator (3rd argument)."[/i]
Code: Select all
run inputselect(".exe files", formatlist(folderreport("files", "r", "<curpath>", "r", , "|"), "f", , "*.exe|*.lnk", "f"));