User Tag List

Results 1 to 3 of 3

Thread: File association - automaticly open file type on doubleclick

  1. #1
    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)

    File association - automaticly open file type on doubleclick

    Hey,

    I have different project files with the extension .qmap and want these files to automaticly open in my app on doubleclick. I used the yaso object and actually these files do open successfully in the app, but only after I manually selected my app via "open with" and searched the app path. Is there any way the files will automaticly be associated after first app run, so doubleclick on project files will work after that?

    FileAssociation.zip

    Also, why the app has no title in explorer??

    Thanks!

  2. #2
    Clicker

    Join Date
    Jul 2011
    Posts
    95
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Mr. A made file association easy in Multimedia Fusion 2. I imagine it probably still works with Fusion, but I haven't tested.
    http://community.clickteam.com/threads/49214-Mr-A-Wild-Widget-Contest-entry - Mr. A

    The links in the release thread are password protected, but Nivram has archived the widget here:
    http://www.castles-of-britain.com/mm...plespage10.htm - Nivram's MMF2 Examples
    http://www.castles-of-britain.com/mra.mfa - Direct Link

  3. #3
    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)
    Hmm, nothing of these works for Win 7 and higher, for me at least..

    I used a workaround with registry: http://stackoverflow.com/questions/9...n-in-windows-7

    Works fine, tested in XP, Vista, 7, 8, 8.1, 10.

    Via registry:

    Right click HKEY_CLASSES_ROOT and pick New, Key. Name it according to your desired file extension, e.g. .ext. If it exists already, you can skip this step.
    Set the default value of the key you just created to some unique name that isn't used yet, e.g. MyFileType. Again, if it's set already, skip this step.
    Create another new key using the same name you picked in the previous step. Skip this too, if the key exists already.
    Set the default value of the new key to the name that should appear in Windows Explorer and other programs as the file type.
    Right click the new key and create a subkey DefaultIcon.
    Set the new key's default value to C:\Some\Path\To\Your\Icon\Ressource.ico,0 (the 0 is the index of the icon to be used; if there's only one icon in the ressource, it has to be 0).
    Create another new key next to DefaultIcon and call it shell.
    Now, for each verb/action you'd like to associate, create a new sub key with the desired name. Some verbs are preset and will automatically use localized names, e.g. open, edit or print.
    For each verb create a sub key command and set its default value to the program to be run. Also make sure to include all parameters needed, adding quotes if there are spaces inside, e.g. "C:\My Path\My Program.exe" "%1". %1 will be replaced with the actual file name picked for this action.

Similar Threads

  1. Open file selector loading a txt file in Android
    By TheChiller in forum Android Export Module 2.5
    Replies: 4
    Last Post: 15th August 2015, 04:02 PM
  2. Open any file type?
    By Nerdy Nerd in forum Multimedia Fusion 2 - Technical Support
    Replies: 5
    Last Post: 29th January 2010, 01:10 AM
  3. How do i change a wma file type to a midi file
    By Coolorange in forum Multimedia Fusion 2 - Technical Support
    Replies: 7
    Last Post: 29th July 2008, 11:36 AM
  4. Cannot open include file: 'windows.h': Nosuch file
    By JasonDarby in forum Extension Development
    Replies: 12
    Last Post: 11th February 2007, 11:12 PM
  5. File type association
    By Gabriel in forum Multimedia Fusion 2 - Technical Support
    Replies: 2
    Last Post: 16th November 2006, 07:47 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
  •