Skip to main content
Known Participant
May 31, 2023
Question

get active psd file or document

  • May 31, 2023
  • 1 reply
  • 538 views

hi all,

 

how to get active file or active document using suites in photoshop.

please kindly help me to get this

 

thank you

1 reply

Zesty_wanderlust15A7
Known Participant
May 31, 2023

You mean scripts?

Many scripts start with...

var doc = app.activeDocument;

You want the name?

alert(doc.name);   // I hope 😉

Mahesh12Author
Known Participant
May 31, 2023

hi @Zesty_wanderlust15A7  thanks for your response.

i have created plugin for photoshop . so using photoshop sdk i need to get active psd file using suites.

Zesty_wanderlust15A7
Known Participant
May 31, 2023

hi @Zesty_wanderlust15A7  
is there any way to get that from sdk using c++?


The SDK is probably above my paygrade. I barely know what SDK stands for 😉