User Tag List

Results 1 to 7 of 7

Thread: list of directories

  1. #1
    Clicker Fusion 2.5 DeveloperiOS Export Module
    ChrisBurrows's Avatar
    Join Date
    May 2011
    Location
    Tasmania, Australia
    Posts
    622
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)

    list of directories

    Hello,

    I want to populate a list object with the names of all folders within a certain directory. How could I do this?

    Thank you in advance

    Chris

  2. #2
    Forum Moderator Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleSWF Export Module
    Stephen's Avatar
    Join Date
    Aug 2008
    Location
    Montana
    Posts
    4,515
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    +Start of Frame
    -Load Directory List from "C:\Whatever\Whatever2\*.*" (Files -> Load Directory List)

    _____________________________________________
    Nivram's Examples -Need extensions? Send me a PM.-


  3. #3
    Clicker Fusion 2.5 DeveloperiOS Export Module
    ChrisBurrows's Avatar
    Join Date
    May 2011
    Location
    Tasmania, Australia
    Posts
    622
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)
    Thanks Stephen. That is very handy to know.

    I actually found another way, first loading a directly list with the "Tree Control" object and then running a loop to add the directory names into my list object. It actually worked out well this way, because I was easily able to choose which files not to add to the list.

    Thanks again.

  4. #4
    Clickteam Clickteam
    LB's Avatar
    Join Date
    Jun 2007
    Location
    Richardson, Texas, North America
    Posts
    8,937
    Mentioned
    4 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by Stephen View Post
    +Start of Frame
    -Load Directory List from "C:\Whatever\Whatever2\*.*" (Files -> Load Directory List)

    Most folders do not have periods in their name, rendering this code rather useless
    Working as fast as I can on Fusion 3

  5. #5
    Forum Moderator Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleSWF Export Module
    Stephen's Avatar
    Join Date
    Aug 2008
    Location
    Montana
    Posts
    4,515
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by LB View Post
    Most folders do not have periods in their name, rendering this code rather useless
    I was in Android Mode. Android likes to name their folders with periods, but either way it still works.
    _____________________________________________
    Nivram's Examples -Need extensions? Send me a PM.-


  6. #6
    Forum Moderator

    Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleUniversal Windows Platform Export ModuleSWF Export ModuleXNA Export ModuleInstall Creator Pro
    nivram's Avatar
    Join Date
    Jul 2006
    Location
    Bandon, Oregon
    Posts
    6,773
    Mentioned
    12 Post(s)
    Tagged
    0 Thread(s)
    Ah. Android mode.

    Marv
    ​458 TGF to CTF 2.5+ Examples and games
    http://www.castles-of-britain.com/mmf2examples.htm

  7. #7
    Clicker Fusion 2.5 MacFusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleSWF Export ModuleXNA Export ModuleUnicode Add-on
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Fusion 2.5+ DLC (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)Universal Windows Platform Export Module (Steam)Firefly 3D Module (Steam)
    Phi's Avatar
    Join Date
    Jan 2010
    Location
    England
    Posts
    1,964
    Mentioned
    25 Post(s)
    Tagged
    0 Thread(s)
    Apple like their dots in folders as well. Then they call 'em "packages" and pretend there's some artsy compression going on.

Similar Threads

  1. Coping entire directories?
    By ChrisBurrows in forum Multimedia Fusion 2 - Technical Support
    Replies: 8
    Last Post: 17th April 2012, 09:05 AM
  2. Install Creator - empty directories are ignored
    By popro in forum Install Creator and Patch Maker
    Replies: 4
    Last Post: 19th October 2009, 07:45 AM
  3. ftp object : How can you view directories?
    By MikeB in forum Multimedia Fusion 2 - Technical Support
    Replies: 0
    Last Post: 25th November 2008, 03:55 AM
  4. Copy files and directories
    By juanjo in forum Multimedia Fusion 2 - Technical Support
    Replies: 6
    Last Post: 18th April 2008, 10:16 PM
  5. Which object to use to select Directories?
    By MelliGeorgiou in forum Multimedia Fusion 2 - Technical Support
    Replies: 2
    Last Post: 29th October 2006, 02:40 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •