# Call back command when I need to quit

**URL:** https://forum.highend3d.com/t/call-back-command-when-i-need-to-quit/6776
**Category:** Maya
**Tags:** mel
**Created:** [October 24, 2001, 6:16pm UTC](https://forum.highend3d.com/t/call-back-command-when-i-need-to-quit/6776 "2001-10-24T18:16:57Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![faloverung](https://forum.highend3d.com/letter_avatar_proxy/v4/letter/f/b4bc9f/32.png) [@faloverung](https://forum.highend3d.com/u/faloverung)
#### Post date: [October 24, 2001, 6:16pm UTC](https://forum.highend3d.com/t/call-back-command-when-i-need-to-quit/6776/1 "2001-10-24T18:16:57Z")

</div>

Hi  
What is call back command when i need to press like a OK button or cancel button. after finish call back routine for those two commandm i need to quit from dialog (i.e. GUI) and quit from the script. what should I do.
