« Special Complete Upgr… | Home | MBS Xojo Plugins, ver… »

URL scheme handling in Xojo


Handling URL schemes in both Mac and Windows can be tricky.
For Mac you need to define plist entry to declare the URL scheme and later handle the AppleEvent.
For Windows it is more difficult. First you edit registry to declare your URL scheme. Than you need to handle the URL as start parameter. But as a second copy of your app may be launched, you need to talk yourself to the first instance via IPCSocket and pass URL command to main app.

Robert Beier from Dibomedia GmbH in Leipzig recently implemented a helper class to handle this and put it on githup:

github.com/CranberryStackCookie/xojo-url-scheme

Feel free to send feedback including bug fixes to him. And next time you meet him at a Xojo conference, you can of course invite him for a drink!
12 08 17 - 00:23
No comments

  
Remember personal info?

Emoticons / Textile


Notify:
Hide email:

Small print: All html tags except <b> and <i> will be removed from your comment. You can make links by just typing the url or mail-address.