# \[feature-15502\]Perspective full screen script or launch via browser

**URL:** <https://forum.inductiveautomation.com/t/feature-15502-perspective-full-screen-script-or-launch-via-browser/30123>\
**Category:** Ignition\
**Tags:** perspective\
**Created:** [November 20, 2019, 9:19pm UTC](https://forum.inductiveautomation.com/t/feature-15502-perspective-full-screen-script-or-launch-via-browser/30123 "2019-11-20T21:19:38Z")\
**Posts on this page:** 16\
**Page:** 1

<div class="post-metadata">

**Author:** ![brendan.curran](https://avatars.discourse-cdn.com/v4/letter/b/cdc98d/32.png) [@brendan.curran](https://forum.inductiveautomation.com/u/brendan.curran)\
**Post date:** [November 20, 2019, 9:19pm UTC](https://forum.inductiveautomation.com/t/feature-15502-perspective-full-screen-script-or-launch-via-browser/30123/1 "2019-11-20T21:19:38Z")

</div>

I’m attempting to get a perspective client to launch right into full screen. Are there any scripting methods to get the client to attempt to force full screen when launched in a browser?

---

<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:** [November 20, 2019, 10:56pm UTC](https://forum.inductiveautomation.com/t/feature-15502-perspective-full-screen-script-or-launch-via-browser/30123/2 "2019-11-20T22:56:35Z")

</div>

Not currently, but it looks fairly easy to do… I’ll file a ticket to expose that functionality.

---

<div class="post-metadata">

**Author:** ![benp](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/benp/32/34073_2.png) [@benp](https://forum.inductiveautomation.com/u/benp)\
**Post date:** [April 5, 2020, 11:30pm UTC](https://forum.inductiveautomation.com/t/feature-15502-perspective-full-screen-script-or-launch-via-browser/30123/3 "2020-04-05T23:30:38Z")

</div>

I would definitely be keen to have a way to do it as well.

---

<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:** [April 6, 2020, 3:05pm UTC](https://forum.inductiveautomation.com/t/feature-15502-perspective-full-screen-script-or-launch-via-browser/30123/4 "2020-04-06T15:05:33Z")

</div>

Good news, a full screen action is available as of 8.0.10.

---

<div class="post-metadata">

**Author:** ![kgamble](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/kgamble/32/8019_2.png) [@kgamble](https://forum.inductiveautomation.com/u/kgamble)\
**Post date:** [April 6, 2020, 3:13pm UTC](https://forum.inductiveautomation.com/t/feature-15502-perspective-full-screen-script-or-launch-via-browser/30123/5 "2020-04-06T15:13:13Z")

</div>

Also @benp you can do this by utilizing Google Chrome Kiosk mode as well, so if for some reason you cant get to 8.0.10, its possible to do it natively with your application launch icon. This also works if you need an auto-startup project for something like a TV as well, you just put it in the startup programs folder configured as Kiosk Mode, no scripting needed.

> **[Here's How Easy it is to Set Up Chrome Kiosk Mode](https://www.appsadmins.com/blog/chrome-kiosk-mode-introduction)**
>
> Learn how to set up Kiosk mode on Chrome devices with Apps Admins.

---

<div class="post-metadata">

**Author:** ![luc.martin](https://avatars.discourse-cdn.com/v4/letter/l/77aa72/32.png) [@luc.martin](https://forum.inductiveautomation.com/u/luc.martin)\
**Post date:** [September 2, 2020, 4:37pm UTC](https://forum.inductiveautomation.com/t/feature-15502-perspective-full-screen-script-or-launch-via-browser/30123/6 "2020-09-02T16:37:34Z")

</div>

Is there a way to force at session start the fullscreen mode.

---

<div class="post-metadata">

**Author:** ![pturmel](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/pturmel/32/3295_2.png) [@pturmel](https://forum.inductiveautomation.com/u/pturmel)\
**Post date:** [September 2, 2020, 4:48pm UTC](https://forum.inductiveautomation.com/t/feature-15502-perspective-full-screen-script-or-launch-via-browser/30123/7 "2020-09-02T16:48:13Z")

</div>

I’d be shocked if you could. It is a web browser environment, and web browsers don’t trust websites with that kind of control.

---

<div class="post-metadata">

**Author:** ![luc.martin](https://avatars.discourse-cdn.com/v4/letter/l/77aa72/32.png) [@luc.martin](https://forum.inductiveautomation.com/u/luc.martin)\
**Post date:** [September 2, 2020, 5:03pm UTC](https://forum.inductiveautomation.com/t/feature-15502-perspective-full-screen-script-or-launch-via-browser/30123/8 "2020-09-02T17:03:29Z")

</div>

Do you know the python script to pass the fullscreen mode ? I want to interger it to our login/logout procedure

---

<div class="post-metadata">

**Author:** ![pturmel](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/pturmel/32/3295_2.png) [@pturmel](https://forum.inductiveautomation.com/u/pturmel)\
**Post date:** [September 2, 2020, 7:23pm UTC](https://forum.inductiveautomation.com/t/feature-15502-perspective-full-screen-script-or-launch-via-browser/30123/9 "2020-09-02T19:23:17Z")

</div>

What script? The fullscreen mode described above is a technique to start the browser that way. It is not a way to do it from within the browser.

---

<div class="post-metadata">

**Author:** ![cmallonee](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/cmallonee/32/6416_2.png) [@cmallonee](https://forum.inductiveautomation.com/u/cmallonee)\
**Post date:** [September 2, 2020, 8:28pm UTC](https://forum.inductiveautomation.com/t/feature-15502-perspective-full-screen-script-or-launch-via-browser/30123/10 "2020-09-02T20:28:27Z")

</div>

> [@luc.martin](#):
>
> Do you know the python script to pass the fullscreen mode ? I want to interger it to our login/logout procedure

There is absolutely NO way to script the application into entering fullscreen mode. Certain user events (onClick or onActionPerformed are recommended Events) cna be used to fire the [Fullscreen Action](https://docs.inductiveautomation.com/display/DOC80/Component+Events+and+Actions#ComponentEventsandActions-FullscreenAction). Note that there is no `perspective` package analog for this Action because as previously stated: there is no way to fire this action through scripting.

---

<div class="post-metadata">

**Author:** ![luc.martin](https://avatars.discourse-cdn.com/v4/letter/l/77aa72/32.png) [@luc.martin](https://forum.inductiveautomation.com/u/luc.martin)\
**Post date:** [September 2, 2020, 8:39pm UTC](https://forum.inductiveautomation.com/t/feature-15502-perspective-full-screen-script-or-launch-via-browser/30123/11 "2020-09-02T20:39:26Z")

</div>

OK, I have added an OnStartup event to my menu to fire de fullscreen mode. Seems to do what I need.

Thanks

---

<div class="post-metadata">

**Author:** ![cmallonee](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/cmallonee/32/6416_2.png) [@cmallonee](https://forum.inductiveautomation.com/u/cmallonee)\
**Post date:** [September 2, 2020, 9:39pm UTC](https://forum.inductiveautomation.com/t/feature-15502-perspective-full-screen-script-or-launch-via-browser/30123/12 "2020-09-02T21:39:11Z")

</div>

An onStartUp Event should not have the ability to successfully invoke the FullScreen Action (even though the option should be available to be configured). Could you show some screenshots of how you set it up?

---

<div class="post-metadata">

**Author:** ![luc.martin](https://avatars.discourse-cdn.com/v4/letter/l/77aa72/32.png) [@luc.martin](https://forum.inductiveautomation.com/u/luc.martin)\
**Post date:** [September 3, 2020, 11:01am UTC](https://forum.inductiveautomation.com/t/feature-15502-perspective-full-screen-script-or-launch-via-browser/30123/13 "2020-09-03T11:01:09Z")

</div>

I have place my event on root of my bottom docked view

 ![2020-09-03_06h58_40](https://us1.discourse-cdn.com/inductiveautomation/original/3X/5/a/5afc2a50c624d6e0f3afbda0a86fe8964307f930.png)

---

<div class="post-metadata">

**Author:** ![luc.martin](https://avatars.discourse-cdn.com/v4/letter/l/77aa72/32.png) [@luc.martin](https://forum.inductiveautomation.com/u/luc.martin)\
**Post date:** [September 3, 2020, 11:15am UTC](https://forum.inductiveautomation.com/t/feature-15502-perspective-full-screen-script-or-launch-via-browser/30123/14 "2020-09-03T11:15:51Z")

</div>

OK, today I found that it’s not really did what I need. When I lauch URL from my browser the fullscreen mode doesn’t fired. When I save my project from Designer then update my already loaded page the fullcreen is fired. So I think that I will have tu put a toggle button to do my fullscreen mode.

---

<div class="post-metadata">

**Author:** ![ken.maze](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/ken.maze/32/85876_2.png) [@ken.maze](https://forum.inductiveautomation.com/u/ken.maze)\
**Post date:** [December 21, 2020, 6:54pm UTC](https://forum.inductiveautomation.com/t/feature-15502-perspective-full-screen-script-or-launch-via-browser/30123/15 "2020-12-21T18:54:37Z")

</div>

The application I am working on has one textfield in it. I have attached a Fullscreen Action onto the onCompositionEnd event for that textfield. So the application doesn’t start in full screen mode, but as soon as they start using it it goes into fullscreen. Seems to work well.

Thanks!

---

<div class="post-metadata">

**Author:** ![ken.maze](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/ken.maze/32/85876_2.png) [@ken.maze](https://forum.inductiveautomation.com/u/ken.maze)\
**Post date:** [December 21, 2020, 7:29pm UTC](https://forum.inductiveautomation.com/t/feature-15502-perspective-full-screen-script-or-launch-via-browser/30123/16 "2020-12-21T19:29:44Z")

</div>

I take that back somewhat. It works well on the tablet which is the target of my app. On my desktop on my development computer, the onCompositionEnd event didn’t work. Probably because I am using an actual keyboard on the desktop. In instead attached it to the onKeyDown event. That seems to work both on desktop and tablet. BTW using Chrome for both.
