First off, this site's been a huge help over the past week. So thanks for just being here.
This is my first post, and I haven't been able to find information on my current dilemma. Heres hoping that people smarter than I am might help out.
The problem: I'm writing a routine that temporarily changes the crosshair color (part of a modal layer utility) & saves the user's original color to the blackboard namespace. If the alternate color is active when Autocad exits (or crashes) the crosshair color stays the alternate color. Right now I'm working around this by setting the crosshair color back to white(model)/black(layout) (& only if needed) at lisp load. This is all fine and good, but it's pretty crappy for users who have custom crosshair colors & those that have embraced the v2010 off-white model-space background.
I was hoping that there might be an "execute on autocad exit" functionality in AutoLisp. (Though this solution wouldn't help much if Autocad crashed.)
Is there another way to do this? I'd like to not save any preference files to the user's computer if at all possible, but perhaps that's the way to go. (I can post the routine if you want, just figured I'd keep the s/n ratio down.)
Thanks for your time,
Matt.