Hi Joe, Hope you have achieved what you are trying to. Not sure if some one will go through my post. Since it's more than a year from since this conversation was started.
I have a developed an app in JavaFX. The idea is to use it in win and mac. For win created installer using InnoSetup wich also registers custom handler protocol. The app is working fine. When some one tries to launch the app by click when it is already running, the second instance will start, identify that some instance is already running and will place the input in some temporary folder and shuts down. The already running app with identify the newly added temp input files in temp folder and will append them to its ui.
However this is not the case with Mac. Mac is not launching the second instance, instead it will just brings the already running app to focus and does nothing.
Basically since mac is blocking the app from launching the second instance, my second instance is not getting chance to create the temp file and then die. from where the first instance will pick them up.
I am editing the Info.plist with below entry and building dmg using "Disk Utility"
<key>LSMultipleInstancesProhibited</key>
<false/>
This seems to be make app launchable in multiple users sessions.
Basically the reason for posting this here is, as you guys here are trying to do some thing close and are already ahead by one year, I am hoping some might be able to help me on how to launch second instance using "custom handler protocol". There are many example, but they are while using command prompt with "open -n". My requirement is from custom protocol.
Cheers,
Andey