Hi,
i m using the Photoshop as host application, and creative suite SDK for developing the my extension. My question is, how could I get the close event oh host application (Photoshop) in my extension???
any suggestion is really helpful for me
I'm doing something similar for InDesign, I haven't tested it on Photoshop, but it should look something like :
import com.adobe.cshostadapter.*;
...
PSEventAdapter.addEventListener(PSEvent.QUIT, applicationClosingHandeler);
and then define the applicationClosingHandler function to preform the action you want.
See the events references here : Photoshop event codes
And documentation about Using the host adapter libraries
Hope it helps.Cheers.
North America
Europe, Middle East and Africa
Asia Pacific