User Tag List

Results 1 to 4 of 4

Thread: MMF2 - Saving Current Directory

  1. #1
    Clicker Fusion 2.5 DeveloperHTML5 Export Module

    Join Date
    Jun 2006
    Posts
    1,469
    Mentioned
    10 Post(s)
    Tagged
    0 Thread(s)

    MMF2 - Saving Current Directory

    This may be a simple question. I have been using ".\Data\filename.ext" to save a file.

    Now I have been using the OPEN Dialog to allow the user to save a worksheet to My Documents.

    The program seems to get lost and will not save to ".\Data\filename.ext" I can type in the full path name like C:\My Program Dir\Data\filename.ext and it works

    How do you get the current directory you are in??? so I can save it.

  2. #2
    Clicker Fusion 2.5 DeveloperHTML5 Export Module

    Join Date
    Jun 2006
    Posts
    1,469
    Mentioned
    10 Post(s)
    Tagged
    0 Thread(s)

    Re: MMF2 - Saving Current Directory

    Well after several hours of looking I finally found the solution. You need the AppPath$ from the Expression Editor.

    This really needs to be added to the file extensions. New users would look forever trying to find this.

    In addition the expression editor should have these listed on a button or part of the help button.

    Anyway my application is working now.

  3. #3
    Clicker Fusion 2.5 Developer

    Join Date
    Jun 2014
    Posts
    25
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Thanks, dude! This has helped me too.

  4. #4
    Clicker Fusion 2.5 Developer
    bradley's Avatar
    Join Date
    Apr 2009
    Location
    South Africa
    Posts
    89
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I have been using the 'file' object to put and get files into my program, it works pretty well, but thanks for the AppPath$...

Similar Threads

  1. Saving/Loading from within a specific directory.
    By Cossin in forum Multimedia Fusion 2 - Technical Support
    Replies: 2
    Last Post: 21st March 2009, 07:53 PM
  2. INI - saving to correct directory
    By pirodaggar in forum Multimedia Fusion 2 - Technical Support
    Replies: 2
    Last Post: 20th May 2008, 10:07 PM
  3. command for current directory string?
    By Dave in forum Multimedia Fusion 2 - Technical Support
    Replies: 2
    Last Post: 13th February 2008, 10:40 PM
  4. File Object > change the current directory bug?
    By twister in forum Multimedia Fusion 2 - Technical Support
    Replies: 4
    Last Post: 7th January 2008, 12:05 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
  •