I have a problem I’ve been meaning to resolve for a long time, and can’t put it off any longer.
The problem is this: I want my Juce app to register support for files of one or more extension (e.g. “.wibble”, “.wobble” etc.).
So that if in Windows Explorer or Finder, the user double-clicks on such a file, my app will launch automatically (if not already running) and open the file immediately.
And files of that extension to display my application icon automatically in Windows Explorer or Finder.
I can’t find how to do this in the docs/forum, so please excuse if I’ve missed it!
what value should I use for resourceNum?
I just use zero, and that forces Windows to use the default icon; no problem there!
how does the JuceApplication get notified about file open events from Windows Explorer that will be generated as a result of that code?
I see that moreThanOneInstanceAllowed() and anotherInstanceStarted() and initialise() are all involved - no problem there!
Can you answer these for me?
what is the Mac equivalent I should use?
are you going to put a handy call to do just this in the framework (as any app which wants to store/restore data to/from a given file type will want this!!)