That's what I did. Only I used a native Objective-C app, as it provides a simple API to register to the events and will even be started if it's not running yet.
Am 12.10.2017 08:50 schrieb Norbert Hartl <norb...@hartl.name>:
I think all you need is to do a system call out to the OS in order to register your scheme. For Mac OS it would be sonething likeAnd then you can see if it is what you want. Custom handlers associate a url scheme to an application binary. I‘m not sure you can use an image with it. So I would register a shell script and handle the adoption in the script.Does that help?NorbertHi,Is there any support from the VM/Application package to add custom URI schemes to listen to from within Pharo? I would like to have a hyperlink like ‘pharo://send?data="" an arbitrary document that, when clicked, switches to Pharo and calls a hook I can register. Could someone give me a hint how to achieve that, or do I have to build a little bridge application that handles the scheme registration and talks with Pharo through another channel? Currently, I only need this for OS X.Cheers,Manuel