From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Send keyboard commands to photoshop, through labview

Solved!
Go to solution

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.

0 Kudos
Message 1 of 2
(1,909 Views)
Solution
Accepted by topic author Nando88

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.

0 Kudos
Message 2 of 2
(1,862 Views)