# Is it possible to activate the windows screen connected to a processing event?

**URL:** https://discourse.processing.org/t/is-it-possible-to-activate-the-windows-screen-connected-to-a-processing-event/20979
**Category:** Development
**Created:** [May 17, 2020, 5:05pm UTC](https://discourse.processing.org/t/is-it-possible-to-activate-the-windows-screen-connected-to-a-processing-event/20979 "2020-05-17T17:05:35Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![Black\_1](https://avatars.discourse-cdn.com/v4/letter/b/45deac/32.png) [@Black\_1](https://discourse.processing.org/u/Black_1)
#### Post date: [May 17, 2020, 5:05pm UTC](https://discourse.processing.org/t/is-it-possible-to-activate-the-windows-screen-connected-to-a-processing-event/20979/1 "2020-05-17T17:05:35Z")

</div>

Hi everyone.  
I designed a small “scada” with processing that keeps running on windows constantly.  
Windows is set to turn off the screen after 10 minutes of inactivity. is it possible to activate the screen by linking it to an event in my processing code?  
Thanks in advance.

---

<div class="post-metadata">

### Author: ![tony](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/tony/32/949_2.png) [@tony](https://discourse.processing.org/u/tony)
#### Post date: [May 18, 2020, 1:32am UTC](https://discourse.processing.org/t/is-it-possible-to-activate-the-windows-screen-connected-to-a-processing-event/20979/2 "2020-05-18T01:32:16Z")

</div>

Interesting, TIL [https://docs.oracle.com/javase/7/docs/api/java/awt/Robot.html](https://docs.oracle.com/javase/7/docs/api/java/awt/Robot.html)

---

<div class="post-metadata">

### Author: ![Black\_1](https://avatars.discourse-cdn.com/v4/letter/b/45deac/32.png) [@Black\_1](https://discourse.processing.org/u/Black_1)
#### Post date: [May 18, 2020, 7:08pm UTC](https://discourse.processing.org/t/is-it-possible-to-activate-the-windows-screen-connected-to-a-processing-event/20979/3 "2020-05-18T19:08:08Z")

</div>

Thank you very much. you solved my problem!  
I used the robot class to self-command the space bar button and reactivate the screen accordingly.

---

<div class="post-metadata">

### Author: ![tony](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/tony/32/949_2.png) [@tony](https://discourse.processing.org/u/tony)
#### Post date: [May 19, 2020, 6:06am UTC](https://discourse.processing.org/t/is-it-possible-to-activate-the-windows-screen-connected-to-a-processing-event/20979/4 "2020-05-19T06:06:17Z")

</div>

Glad to help! Can I ask what a “scada” is?

---

<div class="post-metadata">

### Author: ![Black\_1](https://avatars.discourse-cdn.com/v4/letter/b/45deac/32.png) [@Black\_1](https://discourse.processing.org/u/Black_1)
#### Post date: [May 19, 2020, 6:06pm UTC](https://discourse.processing.org/t/is-it-possible-to-activate-the-windows-screen-connected-to-a-processing-event/20979/5 "2020-05-19T18:06:49Z")

</div>

home security. the arduino board monitors the sensors and processing manages the activation / deactivation, alarm status, via WIFI.  
The program runs on a tablet hanging on the wall of the room, when Arduino goes into alarm the tablet must turn on and notify the status and the sensor that caused it.

Maybe I misunderstood. you asked me what it means SCADA or what it consists of. 😂  
in any case here it is:

> **[SCADA](https://en.wikipedia.org/wiki/SCADA)**
>
> Supervisory control and data acquisition (SCADA) is a control system architecture comprising computers, networked data communications and graphical user interfaces (GUI) for high-level process supervisory management, while also comprising other peripheral devices like programmable logic controllers (PLC) and discrete proportional-integral-derivative (PID) controllers to interface with process plant or machinery. The use of SCADA has been considered also for management and operations of project-...

thanks again you have been very useful. 😉
