Rex Posted September 5, 2007 Posted September 5, 2007 Hi i found a prog. that "intercepts" shutdowns a.n.s.o. http://www.mp3car.com/vbulletin/software-s...unch-app-5.htmlhttp://www.mp3car.com/vbulletin/attachment...ceptor_v1.2.zipBut can this also be done in AutoIT ?, i would like to use it in my backup program so it runs at computer shutdown (and only shutdown not reboot)/Rex
weaponx Posted September 5, 2007 Posted September 5, 2007 There is a program called Shutdown folder that works just like your Startup folder:http://www.hs-lab.com/products/
weaponx Posted September 5, 2007 Posted September 5, 2007 Here is another one called X-ecutor:http://www.xpertdesign.de/english/sw_xecutor_info.php4
ChrisL Posted September 5, 2007 Posted September 5, 2007 Search for WM_QUERYENDSESSION you will find some scripts that you can adapt I think [u]Scripts[/u]Minimize gui to systray _ Fail safe source recoveryMsgbox UDF _ _procwatch() Stop your app from being closedLicensed/Trial software system _ Buffering Hotkeys_SQL.au3 ADODB.Connection _ Search 2d Arrays_SplashTextWithGraphicOn() _ Adjust Screen GammaTransparent Controls _ Eventlogs without the crap_GuiCtrlCreateFlash() _ Simple Interscript communication[u]Websites[/u]Curious Campers VW Hightops Lambert Plant Hire
Rex Posted September 21, 2007 Author Posted September 21, 2007 I have now resarched the entire forum, i found some code that do prevent (capture) the shutdown but but but, i cant finde a way to findeout if it's a Shutdown, Reboot or logoff. To finde out if it's a Shutdown or a Reboot all i have to do is to check the registry, but i dont know how to check for logoff and standby. Can some one help ?? /Rex
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now