09-09-2019 12:14 PM
I am trying to send keyboard commands to photoshop, but I can't get photoshop to come to front, because, from what I understand, the command needs a window name, and I am using the name that appears on the task manager, because photoshop doesn't create a new file after it gets opened.
Can anyone please tell me how I can bring photoshop to front, or some way I can get the correct name I need to send the bring to front command, so that it can get photoshop on the front view?
Thanks in advance.
Solved! Go to Solution.
09-09-2019 03:24 PM
I fixed the problem I was having.
It seems that you can't minimize the application, before bringing it to front, because if you do so, the application will never be set to foreground. I just stopped minimizing the application and it worked.
The other thing is that for this to work with Adobe Photoshop, a new project must be create, before running the application, in order to call the window to foreground, so the application must be opened, and a new project must be created, before running the labview code.
Thanks in advance.