User Tag List

Results 1 to 3 of 3

Thread: filter file in "file" extension

  1. #1
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleXNA Export Module
    daniele's Avatar
    Join Date
    Nov 2007
    Location
    italy
    Posts
    413
    Mentioned
    3 Post(s)
    Tagged
    0 Thread(s)

    filter file in "file" extension

    HELLO, Can you help me for a very simple thing? I wanted to use the filter to load the images. jpeg and. bpm and I wanted to hide all the other files that are not needed. I can only do this with a file, my problem is to make visible only those files. jpeg and. bpm

    This is an example for hide all file not .bpm
    --

    set file selectror filter to
    -- "Import image *.bpm|*.bpm;"
    number to default filter
    --0

    set file selector default
    --".bpm"

    this instruction shows only files with the extension. bpm, but I want to also display file.jpg, how can I do?

  2. #2
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleiOS Export ModuleMac Export ModuleUnicode Add-on
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)Universal Windows Platform Export Module (Steam)
    AyreGuitar's Avatar
    Join Date
    Jan 2011
    Location
    Wales, UK
    Posts
    1,113
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    You need to separate the types using a semi-colon, eg:

    set file selectror filter to
    -- "Image|*.bmp;*jpg;"
    number to default filter
    --0

    Also I assume you meant .bmp rather than .bpm?
    I've attached an example that should help.

    NB The bit I always struggle with is remembering to have some kind of filename in the path for the selector, otherwise it just doesn't pop-up at all, eg:
    Open Load file selector to apppath$
    does nothing, but
    Open Load file selector to apppath$+"a"
    works, even though there is no file in the apppath$ folder called "a"
    Attached files Attached files

  3. #3
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleXNA Export Module
    daniele's Avatar
    Join Date
    Nov 2007
    Location
    italy
    Posts
    413
    Mentioned
    3 Post(s)
    Tagged
    0 Thread(s)
    Very very tanks :-) I love MMF and this forum
    I'm finishing my last automation software and I want this software has everything that a real program. is very powerful and complex, they are happy in a few days to show it to you.
    hello and thanks for your help

Similar Threads

  1. "Load text file" from "The Edit Object" BUG?
    By MOBii in forum Multimedia Fusion 2 - Technical Support
    Replies: 1
    Last Post: 19th December 2013, 05:43 AM
  2. Pressing the "F2" key and Choosing "New" From the File Menu Aren't the Same (bug)
    By redpandagames in forum Multimedia Fusion 2 - Technical Support
    Replies: 5
    Last Post: 10th October 2012, 06:42 AM
  3. Create file with "FILE" Extensione BIG PROBLEM
    By daniele in forum Multimedia Fusion 2 - Technical Support
    Replies: 10
    Last Post: 5th October 2010, 12:55 AM
  4. REQUEST: File Path "check for file" extension
    By MechatheSlag in forum Extension Development
    Replies: 16
    Last Post: 20th July 2008, 09:41 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
  •