Jump to content
Sign in to follow this  
GrahamT

Stopping A Program From Closing

Recommended Posts

GrahamT

Hi,

Is there a way of stopping a program like MS Outlook from closing when someone clicks on the red "X" at the top right, and having it minimise to the Task tray instead.

I've stopped it exiting, but only by putting a "fake" email in the outbox, which won't send.

Cheers,

Graham

Share this post


Link to post
Share on other sites
herewasplato

...Is there a way of stopping a program like MS Outlook from closing when someone clicks on the red "X" at the top right, and...

See the demo here http://www.autoitscript.com/forum/index.ph...ndpost&p=147258

I'm not sure about the "minimize" part of your request.

If the user did manage to kill the process, you could always restart it......


[size="1"][font="Arial"].[u].[/u][/font][/size]

Share this post


Link to post
Share on other sites
GrahamT

Brilliant! It looks like there is something I can work on there.

Thanks,

G

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.