Ignition scripting

Do you want tapping the button to create an F7 key press? If so, you could try something like this in the actionPerformed event on the button:

from java.awt import Robot
from java.awt.event import KeyEvent

robot = Robot()
robot.keyPress(KeyEvent.VK_F7)
robot.keyRelease(KeyEvent.VK_F7)
1 Like