OnPostDeactivate not working in conjunction with Deactivate when last process exits
Updated: 30 Aug 2010 | 2 comments
This issue has been solved. See solution.
Hi,
well, the title says it all, i've put a command in the OnPostActivate regentry and it works if i manually deactivate the layer, but won't trigger if the 'Deactivate when last process exits' is checked. We're using SWV 6.1sp4.
greets,
Peter
discussion Filed Under:
Comments
Ya that's unfortunately how it works and not a bug (but I have asked for that functionality).
The best way to do this is to write a service that monitors processes and the deactivates a layer when that process closes.
If a forum post solves your problem please flag is as the solution
Ah, it's by design, where did i hear that one before ;-)
was working on a script to do your suggestion, but luckily found a simpler way using our desktop management software, but it would be a good, more logical, functionality to add. Hopefully in the next version.
Thanks
Would you like to reply?
Login or Register to post your comment.