# Ignition scripting

**URL:** <https://forum.inductiveautomation.com/t/ignition-scripting/32450>\
**Category:** Ignition\
**Created:** [February 20, 2020, 3:50am UTC](https://forum.inductiveautomation.com/t/ignition-scripting/32450 "2020-02-20T03:50:55Z")\
**Posts on this page:** 1\
**Showing post:** 18

<div class="post-metadata">

**Author:** ![witman](https://avatars.discourse-cdn.com/v4/letter/w/d2c977/32.png) [@witman](https://forum.inductiveautomation.com/u/witman)\
**Post date:** [February 26, 2020, 1:43am UTC](https://forum.inductiveautomation.com/t/ignition-scripting/32450/18 "2020-02-26T01:43:21Z")

</div>

If you’re pressing F7 on the computer keyboard and that is working, the [code I posted above](http://forum.inductiveautomation.com/t/ignition-scripting/32450/7) does create an F7 key press when you press a button with that code in the action performed script of the button like this.

 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/2X/f/f8761ecede17703b191a8c0d228fecba002db5cd.png)  
If this does not work for your application, the next question is where is the focus when you press F7 on the keyboard and it works? Is the focus/cursor in a component in Ignition or in another program?

---

_[View the full topic](https://forum.inductiveautomation.com/t/ignition-scripting/32450)._
