tamir Posted January 7, 2005 Posted January 7, 2005 when i scan a directory with FileFindFirstFile and FileFindNextFile i make it scan for *.* and i thought it means all the files, but it includes the folders too, so how can i scan only for files? the other question is a question that i ask alot but i get no answer. i don't know if its because u don't see it or u don't know it, so here it is: can i let the user select more then 1 option in GUICtrlCreateList?
JSThePatriot Posted January 7, 2005 Posted January 7, 2005 the other question is a question that i ask alot but i get no answer.i don't know if its because u don't see it or u don't know it, so here it is:can i let the user select more then 1 option in GUICtrlCreateList?<{POST_SNAPBACK}>I havent been able to find much, and as I am not advanced enough in C++ yet to look at the source I would have to say that you can only select one at a time :-/.As a work around you could possibly select one and add it to an array (after which you remove it from the list). You could then display a list of the selected items. They could add/remove both ways.JS AutoIt Links File-String Hash Plugin Updated! 04-02-2008 Plugins have been discontinued. I just found out. ComputerGetInfo UDF's Updated! 11-23-2006 External Links Vortex Revolutions Engineer / Inventor (Web, Desktop, and Mobile Applications, Hardware Gizmos, Consulting, and more)
w_sp8er Posted January 7, 2005 Posted January 7, 2005 I've seen that you can use wild cards like this: *.*Can you also use this wildcard? *.??? for searching for files only.
JSThePatriot Posted January 8, 2005 Posted January 8, 2005 I've seen that you can use wild cards like this: Can you also use this wildcard? for searching for files only.<{POST_SNAPBACK}>I have never tried and I havent been able to find anything in the helpfile about it.Sorry :-/JS AutoIt Links File-String Hash Plugin Updated! 04-02-2008 Plugins have been discontinued. I just found out. ComputerGetInfo UDF's Updated! 11-23-2006 External Links Vortex Revolutions Engineer / Inventor (Web, Desktop, and Mobile Applications, Hardware Gizmos, Consulting, and more)
sugi Posted January 9, 2005 Posted January 9, 2005 I've seen that you can use wild cards like this: Can you also use this wildcard? for searching for files only.Be careful with *.???. This will only find files with a 3 letter extension and will not find source.c, source.h and maybe not even test.html (but I'm not sure about this one)
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now