Skip to main content
dublove
Legend
June 20, 2025
Answered

Is there a script to determine which PS or ID on the taskbar is the current window (active state)?

Is there a script to determine which PS or InDesign on the taskbar is the current window (active state)?

I need to switch operations back and forth between PS and ID, and when I'm done storing the image and go back to ID, I want ID to update the image.
The ID forum has been asked and it doesn't seem to work.
Maybe there is a high level expert here.
Can tell me the current window is ID or PS.

 

Thank you very much.

Stephen Marsh
Stephen MarshCorrect answer
Community Expert
June 21, 2025

Legacy ExtendScript has the #target command for executing a script manually, however for a running script that spans multiple apps, you will likely need to look into BridgeTalk.

3 replies

Legend
June 20, 2025

Have you tried Alt-Tab?

Translate
dublove
dubloveAuthor
Legend
June 21, 2025

I would like to know if there is a code for this.
Because I want to use it in a script.

Translate
Stephen Marsh
Community Expert
Stephen MarshCommunity ExpertCorrect answer
Community Expert
June 21, 2025

Legacy ExtendScript has the #target command for executing a script manually, however for a running script that spans multiple apps, you will likely need to look into BridgeTalk.

Translate