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 like
https://superuser.com/questions/548119/how-do-i-configure-custom-url-handlers-on-os-x And 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? Norbert > Am 10.10.2017 um 21:06 schrieb Manuel Leuenberger <leuenber...@inf.unibe.ch>: > > Hi, > > 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=fancypants’ in 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 >