User Tag List

Results 1 to 8 of 8

Thread: Listing Folders

  1. #1
    No Products Registered

    Join Date
    Jul 2006
    Location
    www.dingdongstudios.co.nr
    Posts
    505
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Listing Folders

    How would i list the folder names in a certain directory in a combo box?

  2. #2
    Clicker Multimedia Fusion 2 Developer

    Join Date
    Jun 2006
    Posts
    34
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Listing Folders

    start of frame: Files > Load Directory List Appdrive$ + Appdir$ + "*."
    Delete a Line 0
    Delete a Line 0

    you could replace Appdrive and Appdir with an absolute path also, such as "C:\program files\"

  3. #3
    No Products Registered

    Join Date
    Jul 2006
    Location
    www.dingdongstudios.co.nr
    Posts
    505
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Listing Folders

    Ah thanks, dunno how i missed that..

    So how would i get rid of the [ and ] either side of the Folder name?

  4. #4
    Forum Moderator Fusion 2.5 DeveloperAndroid Export ModuleiOS Export ModuleSWF Export ModuleInstall Creator Pro
    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)

    Join Date
    Jun 2006
    Location
    England
    Posts
    3,546
    Mentioned
    4 Post(s)
    Tagged
    1 Thread(s)

    Re: Listing Folders

    []Ah thanks, dunno how i missed that..

    So how would i get rid of the [ and ] either side of the Folder name? [/]
    Loop through each item in the list and use mid$ and len(gth) to only leave the actual text.
    .:::.Joshtek.:::.

  5. #5
    No Products Registered

    Join Date
    Jul 2006
    Location
    www.dingdongstudios.co.nr
    Posts
    505
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Listing Folders

    Well the folders can have variable lengths so what would i put? so far i have:

    Mid$(Combo Select$( "Combo Box" ), 1, Len( Combo Select$( "Combo Box" ) - Str$( 2 ) )

    But that doesnt seem to work?

  6. #6
    No Products Registered

    Join Date
    Jul 2006
    Location
    www.dingdongstudios.co.nr
    Posts
    505
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Listing Folders

    Ah dont worry, ive worked it out by using a counter. Thanks for your help guys!

  7. #7
    Forum Moderator Fusion 2.5 DeveloperAndroid Export ModuleiOS Export ModuleSWF Export ModuleInstall Creator Pro
    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)

    Join Date
    Jun 2006
    Location
    England
    Posts
    3,546
    Mentioned
    4 Post(s)
    Tagged
    1 Thread(s)

    Re: Listing Folders

    Cool. Here is another way:

    []http://x.jflom.com/files/klik/dirlist.gif[/]
    .:::.Joshtek.:::.

  8. #8
    Clicker Multimedia Fusion 2 Developer

    Join Date
    Jul 2006
    Posts
    227
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Listing Folders

    you can do that,or you can simplify it by just using the
    List SelDir$( "List" )
    which just converts the current selected line from a directory (kinda easier if you ask me)
    e.g. [mmfusion] to mmfusion

Similar Threads

  1. MMF2 SubApp Listing
    By droberson in forum Multimedia Fusion 2 - Technical Support
    Replies: 5
    Last Post: 5th May 2010, 07:52 PM
  2. Channel Listing Loop
    By dave26 in forum Lacewing
    Replies: 7
    Last Post: 9th March 2010, 07:09 AM
  3. Problem with channel listing
    By Mxthe in forum Lacewing
    Replies: 6
    Last Post: 11th July 2009, 03:05 PM
  4. Creating & Listing Channels
    By Asholay in forum Lacewing
    Replies: 5
    Last Post: 24th January 2009, 06:11 PM
  5. Listing files (MP3s)
    By gamefreak202 in forum Multimedia Fusion 2 - Technical Support
    Replies: 5
    Last Post: 7th December 2007, 09:58 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
  •