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 Server PowerShell
Windows Server PowerShell
Windows Server: A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.PowerShell: A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
5,384 questions
{count} votes