Right now, I am trying to open an application it would go directly to the taskbar. The function in UiPath that I am using is Start Process. How do I ensure that when I trigger start progress it will maximize the application for the rest of the code to work.
Have your tested with Attach Window and Maximize Window activities?
If that doesn’t work, option 2 is to use Invoke Code to open the application instead:
Dim psiProgram As ProcessStartInfo = New ProcessStartInfo("NOTEPAD.EXE")
psiProgram.WindowStyle = ProcessWindowStyle.Maximized
Process.Start(psiProgram)
Thanks for your help! It is working but I just encountered a problem which is my application is running in the background. How do I bring it to the foreground?