Skip to main content
dublove
Legend
Jun 20, 2025 5:47 PM UTC
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
Jun 21, 2025 11:37 AM UTC

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
Jun 20, 2025 6:12 PM UTC

Have you tried Alt-Tab?

Translate
dublove
dubloveAuthor
Legend
Jun 21, 2025 2:47 AM UTC

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
Jun 21, 2025 11:37 AM UTC

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