Simulate Mouse click and Key (Robot class)

I think that you mean the java.awt.Robot class. It is part of the Java programming language so to use it simply add this include statement at top of your sketch code.

import java.awt.Robot;

3 Likes