# Perspective Request Focus in Window

**URL:** <https://forum.inductiveautomation.com/t/perspective-request-focus-in-window/26899>\
**Category:** Ignition\
**Tags:** ignition80\
**Created:** [July 26, 2019, 8:33am UTC](https://forum.inductiveautomation.com/t/perspective-request-focus-in-window/26899 "2019-07-26T08:33:14Z")\
**Posts on this page:** 1\
**Showing post:** 3

<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:** [July 26, 2019, 2:03pm UTC](https://forum.inductiveautomation.com/t/perspective-request-focus-in-window/26899/3 "2019-07-26T14:03:09Z")

</div>

As @grietveld said previously, all Perspective scripts execute on the Gateway, so be aware that any scripting you’re doing in Perspective will execute in the Gateway scope - even if the method has multiple scopes available to it.

With that being said, Perspective uses Views/Pages, not Windows (these are a Vision concept), so the `requestFocusInWindow()` method is of no use to you here.

What you could do is directly address the component you’d like to put focus onto and apply focus to it:

**From another component:**

```auto
self.getSibling('TextField').focus()

```

**From the root container:**

```auto
self.view.rootContainer.getChild('TextField').focus()

```

---

_[View the full topic](https://forum.inductiveautomation.com/t/perspective-request-focus-in-window/26899)._
