# Perspective- open an application or ask to open an application with the user's consent

**URL:** <https://forum.inductiveautomation.com/t/perspective-open-an-application-or-ask-to-open-an-application-with-the-users-consent/86617>\
**Category:** Ignition\
**Tags:** perspective\
**Created:** [February 29, 2024, 5:10pm UTC](https://forum.inductiveautomation.com/t/perspective-open-an-application-or-ask-to-open-an-application-with-the-users-consent/86617 "2024-02-29T17:10:23Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Miguel\_Villasenor\_Es](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/miguel_villasenor_es/32/60416_2.png) [@Miguel\_Villasenor\_Es](https://forum.inductiveautomation.com/u/Miguel_Villasenor_Es)\
**Post date:** [February 29, 2024, 5:10pm UTC](https://forum.inductiveautomation.com/t/perspective-open-an-application-or-ask-to-open-an-application-with-the-users-consent/86617/1 "2024-02-29T17:10:23Z")

</div>

Just a quick question.

I have a webpage were engineers are working with CAD files, as soon as the file is downloaded can I run some script that says "Hey do you want to open the file with autocad" and then do just that, with the users consent. Sort of how Oauth authentication works.

If not, it's no problem, if so could I be directed to documentation for this type of feature because I am having trouble finding any information on this.

---

<div class="post-metadata">

**Author:** ![paul-griffith](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/paul-griffith/32/37249_2.png) [@paul-griffith](https://forum.inductiveautomation.com/u/paul-griffith)\
**Post date:** [February 29, 2024, 5:17pm UTC](https://forum.inductiveautomation.com/t/perspective-open-an-application-or-ask-to-open-an-application-with-the-users-consent/86617/2 "2024-02-29T17:17:05Z")

</div>

The most a browser can do is (attempt to) open a URL with some registered protocol handler. As in, instead of `http://`, navigate to `someCadProgram://` or maybe `file://`. Whether that will actually be allowed or do anything useful is up to the browser and the operating system, not really anything Ignition can do.

---

<div class="post-metadata">

**Author:** ![Miguel\_Villasenor\_Es](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/miguel_villasenor_es/32/60416_2.png) [@Miguel\_Villasenor\_Es](https://forum.inductiveautomation.com/u/Miguel_Villasenor_Es)\
**Post date:** [February 29, 2024, 5:26pm UTC](https://forum.inductiveautomation.com/t/perspective-open-an-application-or-ask-to-open-an-application-with-the-users-consent/86617/3 "2024-02-29T17:26:53Z")

</div>

I appreciate the response. So, there's a possibility that a user can download a file, and I can use a URL to point to the downloaded file and the pc maybe able to open it?

Assuming all the engineers use the same download location, os, etc.

---

<div class="post-metadata">

**Author:** ![paul-griffith](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/paul-griffith/32/37249_2.png) [@paul-griffith](https://forum.inductiveautomation.com/u/paul-griffith)\
**Post date:** [February 29, 2024, 5:28pm UTC](https://forum.inductiveautomation.com/t/perspective-open-an-application-or-ask-to-open-an-application-with-the-users-consent/86617/4 "2024-02-29T17:28:01Z")

</div>

> [@Miguel\_Villasenor\_Es](#):
>
> Assuming all the engineers use the same download location, os, etc.

Big assumption 🙂

But, yes, hypothetically you can _ask_, via a navigation attempt, the 'user agent' (the browser) to open a particular URL that identifies a file, or something else.

---

<div class="post-metadata">

**Author:** ![Miguel\_Villasenor\_Es](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/miguel_villasenor_es/32/60416_2.png) [@Miguel\_Villasenor\_Es](https://forum.inductiveautomation.com/u/Miguel_Villasenor_Es)\
**Post date:** [February 29, 2024, 5:36pm UTC](https://forum.inductiveautomation.com/t/perspective-open-an-application-or-ask-to-open-an-application-with-the-users-consent/86617/5 "2024-02-29T17:36:47Z")

</div>

Thank you, that was very helpful. Will using this [link](https://www.docs.inductiveautomation.com/docs/8.1/appendix/scripting-functions/system-perspective/system-perspective-navigate) help guide me in the right direction?
