# Deeplink OSX Desktop

**URL:** <https://forum.xojo.com/t/deeplink-osx-desktop/44289>\
**Category:** General\
**Created:** [July 10, 2018, 12:30pm UTC](https://forum.xojo.com/t/deeplink-osx-desktop/44289 "2018-07-10T12:30:31Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Christian\_Bader](https://forum.xojo.com/user_avatar/forum.xojo.com/christian_bader/32/1412_2.png) [@Christian\_Bader](https://forum.xojo.com/u/Christian_Bader)\
**Post date:** [July 10, 2018, 12:30pm UTC](https://forum.xojo.com/t/deeplink-osx-desktop/44289/1 "2018-07-10T12:30:31Z")

</div>

Howdy!

Xojo Desktop  
OSX Only.

I have an app which can be started multiple times (different locations on disc). And I wanna add Deeplinks too it. Like register with app starts Deeplink\_1, Deeplink\_2 etc.

My Problem is, with a deep link or associated file extension OSX just looks for the first “appname.app” and not for a specific path to the app (as all copies of the app have the same bundle identifier) But I want to open a specific app path with the deep link.

does anyone have an idea how to solve this? (w/o writing an own helper app)

thanks and kind regards  
chris

---

<div class="post-metadata">

**Author:** ![Beatrix\_Willius](https://forum.xojo.com/user_avatar/forum.xojo.com/beatrix_willius/32/282_2.png) [@Beatrix\_Willius](https://forum.xojo.com/u/Beatrix_Willius)\
**Post date:** [July 10, 2018, 1:30pm UTC](https://forum.xojo.com/t/deeplink-osx-desktop/44289/2 "2018-07-10T13:30:37Z")

</div>

You can ask the launch services database for all apps with the bundle id. Then you get a full path and do a launch on the folderitem that you need.

---

<div class="post-metadata">

**Author:** ![Christian\_Bader](https://forum.xojo.com/user_avatar/forum.xojo.com/christian_bader/32/1412_2.png) [@Christian\_Bader](https://forum.xojo.com/u/Christian_Bader)\
**Post date:** [July 10, 2018, 3:09pm UTC](https://forum.xojo.com/t/deeplink-osx-desktop/44289/3 "2018-07-10T15:09:46Z")

</div>

Thanks for the reply but I wanted a solution without a helper app 🙂

Found the solution now by myself.

Solution: I modify the info.plist during the runtime now (URL types) with different urls (app1\_v1:// app1\_v2:// etc) and restart the app. Works like a charm 🙂 I am using the xCode PlistBuddy to make the changes.

---

<div class="post-metadata">

**Author:** ![system](https://forum.xojo.com/uploads/default/original/1X/455b4dcc0e61630e9f81940004ddffa49c432a46.png) [@system](https://forum.xojo.com/u/system)\
**Post date:** [October 29, 2020, 7:16pm UTC](https://forum.xojo.com/t/deeplink-osx-desktop/44289/4 "2020-10-29T19:16:50Z")

</div>


