pash 504 Posted March 8, 2013 Report Share Posted March 8, 2013 Hi.When I build the sample program (test.exe).How do I create a confirmation dialog before exiting the program (test.exe). I'm trying to find is not found.Customer Care. Does not help anything.He asked me to come on the forums. Quote Link to post Share on other sites
pash 504 Posted March 8, 2013 Author Report Share Posted March 8, 2013 Hi.When I build the sample program (test.exe).How do I create a confirmation dialog before exiting the program (test.exe). I'm trying to find is not found.Customer Care. Does not help anything.He asked me to come on the forums. Quote Link to post Share on other sites
malefic 48 Posted March 8, 2013 Report Share Posted March 8, 2013 Use the confirm command, something like: set(#TEST, $confirm("Want to exit?"), "Global") if(#TEST) { then { comment("Code to exit") } } Quote Link to post Share on other sites
pash 504 Posted March 9, 2013 Author Report Share Posted March 9, 2013 Use the confirm command, something like: set(#TEST, $confirm("Want to exit?"), "Global") if(#TEST) { then { comment("Code to exit") } } I'm sorry I was not clear.I meant to close the program. Created by ubot.http://postto.me/id/uokcc.png Quote Link to post Share on other sites
AutomationNinja 194 Posted March 9, 2013 Report Share Posted March 9, 2013 You could use the windows commands. not ideal. Maybe there is a shell command to close a program? Quote Link to post Share on other sites
pash 504 Posted March 12, 2013 Author Report Share Posted March 12, 2013 I meant confirmation dialog before exiting the program Quote Link to post Share on other sites
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.