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

Abrir Chrome utilizando SendKeys

Ofertas y promociones en Videojuegos

PowerShell
1
2
3
4
5
6
7
#Abrir PowerShell y escribir:
[System.Windows.Forms.SendKeys]::SendWait("^({ESC})")
[System.Windows.Forms.SendKeys]::SendWait("EJECUTAR")
[System.Windows.Forms.SendKeys]::SendWait("{ENTER}")
Start-Sleep -Seconds 2
[System.Windows.Forms.SendKeys]::SendWait("chrome.exe")
[System.Windows.Forms.SendKeys]::SendWait("{ENTER}")

CATEGORÍAS

Automatización, PowerShell

ETIQUETAS

Chrome, Jesús Niño, Jesús Niño Camazón, SendWait, Start-Sleep, System.Windows.Forms.SendKeys, Windows

MÁS

  • Abrir una página web con SendKeys y tabular 10 veces dentro de la página, después pulsar la tecla ENTER
  • Cómo depurar scripts en ISE de Windows PowerShell
  • Automatizar desde Python
  • Automatizar el pulsado de teclas en el sistema operativo Windows con PowerShell
  • Ejercicios de PowerShell: crear mediante scripts una estructura de una red con un dominio y las configuraciones de GPOS que necesites
  • Abrir Notepad y escribir un texto
679630385 688884669 603940512 673943716 677405568 658635435 682973308 670947569 632790056 621473177 630540280 629618036 627813454 690951471 661727296 634948178 668118015 628815354 697822593 661715445 666807350 635765840 676079876 604393851 661347436 687707811 666782273 629346702 619623755 630600012 682525386 627696025 694602277 641861521 688070487 660121978 652386169 621322943 601073373 662906131 608093842 631364494 660474101 695397611 622457023 628948217 662076493 685026347 663910694 644397013 686660429 622201226 655471257 608975025 685751523 671482717 644798348 613857775 625398824 624072480 635926188 698497253 613763541 634863689 623448577 688430854 644996924 607555651 632901234 605597097