import javax.swing.*;
import org.sikuli.script.*;
public class pasteTypeClass {
public static void main(String[] args) throws InterruptedException {
boolean r = true;
Object[] options2 = { "Pegar!" };
JOptionPane pane = new JOptionPane("Pegar!");
while (r) {
JDialog d = pane.createDialog("Tools");
d.setAlwaysOnTop(true);
d.setBounds(0, 500, 120, 100);
d.setVisible(true);
int result2 = (int) pane.getValue();
if (result2 == 0) {
Screen screen = new Screen();
String t = Env.getClipboard();
screen.type(t);
}
d.dispose();
}
}
}
No hay comentarios
https://www.dropbox.com/s/c8nryhhln3prwdo/ToolBar.jar?dl=0
Que lo disfruten y quedo a la orden!