Quantcast
Channel: Windows PowerShell forum
Viewing all articles
Browse latest Browse all 21975

Script using Windows PowerShell ISE to move mouse and control keyboard

$
0
0

Hello,

I am new to PowerShell scripting, and fairly new to scripting in general.

I would like to create a script that would move the mouse to a certain location, double click, enter a number, click tab 3 three times, click spacebar, close window.

I started with: [System.Windows.Forms.Cursor]::Position = New-Object System.Drawing.Point(230,175);

But I couldn't find how to double click.

I would appreciate your help very much.


Viewing all articles
Browse latest Browse all 21975

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>