User Tag List

Results 1 to 9 of 9

Thread: File Association

  1. #1
    Clicker Multimedia Fusion 2 DeveloperiOS Export Module

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

    File Association

    Hi folks,

    I'm using the YASO object to associate a file extension to my app. Now, setting the assocation works great. When I double click the file, it opens my app. The files have the icon I gave them. Etc...

    However... When I double click a file, nothing is parsed into the command line. When I right-click a file and go to "Open with...", the file location is parsed into the command line. (Albeit with Windows' illogical way)

    My application is not compressed, by the way.

    Anyone here able to help me here? I'm using the Unicode version Build 250 Beta #4.

    Thanks in advance!

  2. #2
    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: File Association

    You could try using my Power System Object. I've created applications that associate a file and then use the command line for when it's opened, so it should work for that.

  3. #3
    Clicker Multimedia Fusion 2 DeveloperiOS Export Module

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

    Re: File Association

    Same story, I'm afraid. Can set the association, can open my app with the file, but can't retrieve the filepath in the commandline. All I get is the path of my app.
    The only way I can get the file path is if I drag the file onto the .exe in Explorer. But that kind of defeats the purpose of having a file assocation.

    Is it possible this is related to the latest Beta build? Or that I'm using the Unicode version?

    Many thanks.

  4. #4
    Clickteam Clickteam

    Join Date
    Jun 2006
    Location
    France
    Posts
    14,022
    Mentioned
    279 Post(s)
    Tagged
    3 Thread(s)

    Re: File Association

    I don't think it's due to the last beta or Unicode version, I've just tried to run a simple application with command line parameters and the command line is correctly displayed in the application.

    What keys (and their values) are created with the YASO object?

  5. #5
    Clicker Multimedia Fusion 2 DeveloperiOS Export Module

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

    Re: File Association

    Now that's just weird. Perhaps it's a problem with Windows 7 64-bit?

    With YASO, I give these parameters:
    Extension: ".test5"
    Type: "open" (I also tried "edit" and a custom one)
    Path: "D:\test.exe"
    Icon: "!"

    Again, the application opens after double clicking the file. But the filepath of said file is missing in the command line. But it DOES show when I drag a file onto the .exe in Explorer. (And shows multiple filepaths when I drag multiple files)

  6. #6
    Clicker Multimedia Fusion 2 Developer

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

    Re: File Association

    Try putting Path: "D:\test.exe %*" or "D:\test.exe %1" if that doesn't work

  7. #7
    Clicker Multimedia Fusion 2 DeveloperiOS Export Module

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

    Re: File Association

    Whoa! Adding %1 did the trick.

    Thanks!

  8. #8
    Clicker 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)

    Join Date
    Nov 2012
    Posts
    121
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    For me, the command line works fine..

    But the association does not work automaticly (for the first time). I have to manually set the open file with, then select my program, and only from then on my files will open on doubleclick in my application.. I want them to work right after the very first application start, how is that done?

  9. #9
    Clicker Multimedia Fusion 2 Developer
    Jax's Avatar
    Join Date
    Jul 2006
    Location
    UK
    Posts
    702
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Hey 2xD,

    If you perform the association using YASO and then log in and log out again, does it then work when you double-click the file?

Similar Threads

  1. File association
    By kickradiomeuh in forum Install Creator and Patch Maker
    Replies: 2
    Last Post: 18th November 2009, 05:18 PM
  2. MFA file association lost
    By Raylax in forum Multimedia Fusion 2 - Technical Support
    Replies: 6
    Last Post: 2nd January 2009, 09:13 PM
  3. File association example for Spryz
    By Steven in forum File Archive
    Replies: 2
    Last Post: 8th September 2007, 12:11 PM
  4. File association
    By Benicle in forum Multimedia Fusion 2 - Technical Support
    Replies: 2
    Last Post: 23rd February 2007, 09:55 AM
  5. File Association not working!
    By BrandonC in forum Multimedia Fusion 2 - Technical Support
    Replies: 11
    Last Post: 29th July 2006, 06:45 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
  •