madflame991 Posted August 30, 2008 Posted August 30, 2008 Hello Is there any way to choose the directory where I want to use FileFindFirstFile/ FileFindNextFile? I've searched the help file but found nothing... Game Game Gadget! - read about indie games, gadgets, chiptunes and demoscenesAssembly-like language interpreter and custom machine emulatorSuper Mario Screen Mate - official website or autoit forum pageCogut - Puzzle Game + Editor like sokoban and others
madflame991 Posted August 30, 2008 Author Posted August 30, 2008 (edited) Andreik said: FileSelectFolder()tried that, it only returns the selected folderthx anyway (mersi, acum m-am uitat la tara) Edited August 30, 2008 by madflame991 Game Game Gadget! - read about indie games, gadgets, chiptunes and demoscenesAssembly-like language interpreter and custom machine emulatorSuper Mario Screen Mate - official website or autoit forum pageCogut - Puzzle Game + Editor like sokoban and others
Andreik Posted August 30, 2008 Posted August 30, 2008 madflame991 said: tried that, it only returns the selected folderthx anyway (mersi, acum m-am uitat la tara)Explica-mi te rog un pic mai bine ce vrei sa faci, sa te pot ajuta mai mult.
madflame991 Posted August 30, 2008 Author Posted August 30, 2008 Andreik said: Explica-mi te rog un pic mai bine ce vrei sa faci, sa te pot ajuta mai mult. Vreau sa modific automat multe file... si sa pot sa imi selectez folderu de unde sa mi le listeze FileFindFirstFile/ FileFindNextFilefilele doriteMa descurc in Autoit, nu's nou, dar asta chiar imi scapa si presupun ca are de-a face cu vreuna din macrourile @workingdir sau ceva de genu Game Game Gadget! - read about indie games, gadgets, chiptunes and demoscenesAssembly-like language interpreter and custom machine emulatorSuper Mario Screen Mate - official website or autoit forum pageCogut - Puzzle Game + Editor like sokoban and others
Andreik Posted August 30, 2008 Posted August 30, 2008 madflame991 said: Vreau sa modific automat multe file... si sa pot sa imi selectez folderu de unde sa mi le listeze FileFindFirstFile/ FileFindNextFile filele dorite Ma descurc in Autoit, nu's nou, dar asta chiar imi scapa si presupun ca are de-a face cu vreuna din macrourile @workingdir sau ceva de genu$DIR = FileSelectFolder("Select","") $search = FileFindFirstFile($DIR & "\*.*") If $search = -1 Then MsgBox(0, "Error", "No files/directories matched the search pattern") Exit EndIf While 1 $file = FileFindNextFile($search) If @error Then ExitLoop MsgBox(4096, "File:", $file) WEnd FileClose($search)
madflame991 Posted August 30, 2008 Author Posted August 30, 2008 Am gasit FileChangeDir('e:\') schimba @workingdir Mersi, sunt curios daca mai sunt multi dev romani in autoit... Game Game Gadget! - read about indie games, gadgets, chiptunes and demoscenesAssembly-like language interpreter and custom machine emulatorSuper Mario Screen Mate - official website or autoit forum pageCogut - Puzzle Game + Editor like sokoban and others
Andreik Posted August 30, 2008 Posted August 30, 2008 (edited) madflame991 said: Am gasit FileChangeDir('e:\') schimba @workingdirMersi, sunt curios daca mai sunt multi dev romani in autoit...Am vazut cativa useri din Romania pe forum.PS: Pune un solved la titlu sa stie ca ai gasit solutia, ca am vorbit alta limba. Edited August 30, 2008 by Andreik
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