Scripting and security

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

Primary Menu
  • Home
  • PowerShell
  • Categories
  • Books
  • Courses
  • Top posts
  • Projects
  • Scripts
Skip to content

Mover el ratón a las posiciones que están guardadas en un fichero

1 Star2 Stars3 Stars4 Stars5 Stars (No Ratings Yet)
Loading...

PowerShell
1
2
3
4
5
6
7
#Leer las posiciones que están en un fichero que previamente se han guardado
#https://www.jesusninoc.com/2015/01/26/save-screen-position/
 
Get-Content F:\power\p1.txt | %{
[System.Windows.Forms.Cursor]::Position = New-Object System.Drawing.Point($_.split(',')[0],$_.split(',')[1])
Start-Sleep -Milliseconds 5
$_}

 


Automation, Graphics, PowerShell Drawing, Get-Content, HTTP, HTTPS, Milliseconds, move, New-Object, Screen, Split, Start-Sleep, System.Drawing, System.Drawing.Point, System.Windows.Forms.Cursor, Windows

Related Articles

Liste aller laufenden Dienste

Check if a text has been modified during transmission (using MD5)

Pulsar en el segundo resultado de la búsqueda en Google

Post navigation

Previous Previous post: Resolves a host name or IP address to an IPHostEntry instance
Next Next post: Abrir un puerto en el firewall de Windows