Windows File Association? Double clicking file opens file in Game?

Discussion in 'Programming' started by QuinnlanVos, Jul 2, 2019.

  1. QuinnlanVos

    QuinnlanVos Member

    Joined:
    Aug 15, 2016
    Posts:
    16
    I am making a windows based program that saves and loads a custom ini file (not ".ini" diff extension)

    Is there any Dll's or any way at all to let windows know that this custom file ext is associated with my program?
    I would also then need a way to begin my program with opening this file.

    Is there a solution in GMS2 or am i just dreaming? lol

    I did fin a dll for drag and dropping files into the GMS2 screen so that would be my fail-safe

    -Thanks
    -Quinnlan
     
  2. YellowAfterlife

    YellowAfterlife ᴏɴʟɪɴᴇ ᴍᴜʟᴛɪᴘʟᴀʏᴇʀ Forum Staff Moderator

    Joined:
    Apr 21, 2016
    Posts:
    2,351
    You can use parameter_ functions to check what arguments (file paths) were passed to your game
     

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice