close window ethically

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • askalottaqs
    New Member
    • Jun 2007
    • 75

    close window ethically

    i dont want to go all savage on a window and just kill it by terminating its process, i want to send a command that would simply act as the close button at the top right of a window, in order to leave a chance for the program to be nice enough to ask the user if they want to save their data or what not.

    please help?

    thanks
Working...