User Tag List

Results 1 to 10 of 10

Thread: How to create a file list from specific folder?

  1. #1
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleSWF Export ModuleXNA Export ModuleUnicode Add-on
    Fanotherpg's Avatar
    Join Date
    Jul 2006
    Location
    High Wycombe, Buckinghamshire, UK
    Posts
    3,663
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    How to create a file list from specific folder?

    Like in title how to create a list of files (only names, or even with extension) from a specific folder.

    I was trying to look around with file object and File-Folder object to get it and produce in List object but I seem to skip the option.

    Maybe it's cause I'm tired after job, or anything and my brain is shutting down but any fast help/suggestion/tip would be appreciated.

  2. #2
    Clicker Fusion 2.5 Developer

    Join Date
    Jul 2008
    Location
    UK
    Posts
    1,341
    Mentioned
    16 Post(s)
    Tagged
    0 Thread(s)

    Re: How to create a file list from specific folder?

    The list object itself has a function for this under Files -> Load Filelist.
    Note that you must include both a path and an extension filter.
    eg. Apppath$ + "*.*"

  3. #3
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleSWF Export ModuleXNA Export ModuleUnicode Add-on
    Fanotherpg's Avatar
    Join Date
    Jul 2006
    Location
    High Wycombe, Buckinghamshire, UK
    Posts
    3,663
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: How to create a file list from specific folder?

    That's interesting MuddyMole, thanks for Tip I will try it later on!

    EDIT:

    That's epic, it's working Now I only have to work out to get access to the directory of MMF itself on any computer.

  4. #4
    Clicker Fusion 2.5 Developer

    Join Date
    Jul 2008
    Location
    UK
    Posts
    1,341
    Mentioned
    16 Post(s)
    Tagged
    0 Thread(s)

    Re: How to create a file list from specific folder?

    You can get that from the registry, using the "Registry2" object.
    The following expression returns the path for MMF2 (standard version):

    RegKeySZ$( "Registry2", "HKEY_LOCAL_MACHINE", "Software\Clickteam\Multimedia Fusion 2\Settings", "StdPath")

    It's possible that the developer version uses a different key name - probably something like "DevPath" (ask around, and I'm sure someone will be able to tell you) - so you'll want to check both.

  5. #5
    Clicker Multimedia Fusion 2 DeveloperiOS Export ModuleSWF Export Module
    Jaffob's Avatar
    Join Date
    May 2008
    Location
    USA
    Posts
    1,833
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: How to create a file list from specific folder?

    For developer, it would be:

    RegKeySZ$( "Registry2", "HKEY_LOCAL_MACHINE", "Software\Clickteam\Multimedia Fusion Developer 2\Settings", "ProPath")

  6. #6
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleSWF Export ModuleXNA Export ModuleUnicode Add-on
    Fanotherpg's Avatar
    Join Date
    Jul 2006
    Location
    High Wycombe, Buckinghamshire, UK
    Posts
    3,663
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: How to create a file list from specific folder?

    Cheers guys. For me and other 64-bit users it will be Software\Wow6432Node\Clickteam So I've got what I need, cheers!

  7. #7
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleSWF Export ModuleXNA Export ModuleUnicode Add-on
    Fanotherpg's Avatar
    Join Date
    Jul 2006
    Location
    High Wycombe, Buckinghamshire, UK
    Posts
    3,663
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: How to create a file list from specific folder?

    I manage to get it all working Thanks one more time guys!

  8. #8
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleiOS Export ModuleSWF Export ModuleInstall Creator ProPatch Maker

    Join Date
    Jun 2006
    Location
    Norway
    Posts
    528
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: How to create a file list from specific folder?

    Quote Originally Posted by MuddyMole
    The list object itself has a function for this under Files -> Load Filelist.
    Note that you must include both a path and an extension filter.
    eg. Apppath$ + "*.*"
    I can't seem to get this working. Nothing is showing up on my list.

    Start of frame: Load filelist - Appdrive$+Appdir$+"\Maps"

    I've tried using only "Apppath$" as your example suggested, to load files from the same folder as the application.

    What am I doing wrong here?

  9. #9
    Clicker Multimedia Fusion 2 Developer

    Join Date
    Jun 2006
    Location
    Darlington, UK
    Posts
    3,298
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: How to create a file list from specific folder?

    Add "\*" (or "\*.*"?):
    Start of frame: Load filelist - Appdrive$+Appdir$+"\Maps\*"

  10. #10
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleiOS Export ModuleSWF Export ModuleInstall Creator ProPatch Maker

    Join Date
    Jun 2006
    Location
    Norway
    Posts
    528
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: How to create a file list from specific folder?

    Ah! Thanks man!

Similar Threads

  1. Create folder with File object on Program File
    By Vantales in forum Multimedia Fusion 2 - Technical Support
    Replies: 7
    Last Post: 13th April 2013, 12:13 PM
  2. create file in a specific place in android phone?...
    By Sevennemesis in forum Android Export Module Version 2.0
    Replies: 2
    Last Post: 22nd June 2012, 08:01 AM
  3. Search a folder for a specific file?
    By picklecow in forum Multimedia Fusion 2 - Technical Support
    Replies: 4
    Last Post: 28th November 2009, 08:50 PM
  4. Setting the File Object to a specific folder
    By CBSection31 in forum Multimedia Fusion 2 - Technical Support
    Replies: 6
    Last Post: 2nd June 2009, 10:08 PM
  5. how can I create a shortcut with the File-Folder ?
    By fernandolt in forum Multimedia Fusion 2 - Technical Support
    Replies: 2
    Last Post: 4th November 2008, 01:07 AM

Posting Permissions

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