Scripting and security

Operating Systems, software development, scripting, PowerShell tips, network and security

Menú principal
  • Categorías
  • Cursos
  • Libro de PowerShell
  • Lo mejor
  • Lo último
  • Proyectos
  • Contactar
Ir al contenido

Realizar una captura de pantalla de toda la pantalla con Java

Ofertas y promociones en Videojuegos

Java
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
import java.awt.Rectangle;
import java.awt.Robot;
import java.awt.image.BufferedImage;
import java.io.File;
import java.awt.Toolkit;
import javax.imageio.ImageIO;
 
public class Robots
{
public static void main(String[] args) throws Exception
{
BufferedImage bufferedImage = (new Robot()).createScreenCapture(new Rectangle(Toolkit.getDefaultToolkit().getScreenSize()));
ImageIO.write(bufferedImage,"PNG", new File("imagen.PNG"));
}
}

CATEGORÍAS

Automatización, Java

ETIQUETAS

Java, Jesús Niño Camazón, Robots

MÁS

  • Realizar una captura de pantalla de una parte de la pantalla con Java
  • Administración y aseguramiento de la información (Implantación de sistemas operativos)
  • 11. Gestión del Directorio Activo (nivel intermedio)
  • Automatizar desde Python
  • Mostrar un documento del servidor eXist-db y se imprime en la salida estándar
  • Manejar eventos en AWT
618212211 644350964 681006066 607098886 611826552 674286275 683582637 634154025 630779002 637717218 629161079 658779907 643663975 681464731 697646946 654575113 622952089 683996019 666850001 645852244 642446973 661506570 681425003 658220449 621524266 686648672 643708769 642892275 669981302 640967423 686998577 644213823 673371190 606071427 620992060 656445184 691385689 672525576 649243329 628079101 668133661 664989812 610206021 634951665 652462431 695038450 653858373 671699577 641429691 683347529 605547456 674238167 664692415 614252127 673091566 697314862 673163826 614933351 684364611 609092992 668650917 664249019 631481620 617279109 641474848 698393126 693378429 615680604 681388982 637709602