Digital Art Zone

 
     
Quit plugin too as Studio quits
Posted: 05 September 2012 03:48 AM   [ Ignore ]
Power Member
Avatar
RankRankRank
Total Posts:  1344
Joined  2009-10-27

I’d like to know if there is a function in the SDK that is able to intercept if the user is closing Studio.
I ask this because I am able to quit Studio and have the plugin still running, while I’d like to intercept the call to Studio closing, so that the user is prompted to close the plugin first etc.
Thanks for any help.

 Signature 

Alessandro’s Store
Blog
LAMH FB

Profile
 
 
Posted: 05 September 2012 04:41 AM   [ Ignore ]   [ # 1 ]
Administrator
Avatar
RankRankRankRank
Total Posts:  15717
Joined  2003-10-09

Does the DzApp.closing() signal not work for that?

 Signature 

DAZ Studio Frequently Asked Questions

Index of free DAZ Studio scripts and plugins list

Profile
 
 
Posted: 05 September 2012 04:47 AM   [ Ignore ]   [ # 2 ]
Power Member
Avatar
RankRankRank
Total Posts:  1344
Joined  2009-10-27
Richard Haseltine - 05 September 2012 04:41 AM

Does the DzApp.closing() signal not work for that?

Thanks, will try that, but isn’t related to the plugin window itself, rather than to the Studio one?

 Signature 

Alessandro’s Store
Blog
LAMH FB

Profile
 
 
Posted: 05 September 2012 07:32 AM   [ Ignore ]   [ # 3 ]
Administrator
Avatar
RankRankRankRank
Total Posts:  15717
Joined  2003-10-09

It’s an App signal, and as I read it it is sent when the main event loop for the app closes out. Of course that may be too late to be of use, but it looked somewhat promising.

 Signature 

DAZ Studio Frequently Asked Questions

Index of free DAZ Studio scripts and plugins list

Profile