Use Powershell to automate a windows program

Manny 151 Reputation points
2022-02-04T03:24:39.997+00:00

Hi

I have a windows program to download stock prices. There is no command line version of it. Is it possible to use Powershell to do the following:

  1. start program
  2. press download button or alt button plus d
  3. wait (for program to download prices) this can take about 5 minutes or so
  4. press close button
  5. exit program

If yes, how would I do it?

Thank you

Windows for business Windows Server User experience PowerShell
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.