fury0n Posted April 10, 2014 Share Posted April 10, 2014 So I'm very, very new to AutoIt and I'm trying to figure out how to use ProcessClose to close processes as soon as they start. Just to learn, I'm trying with mspaint. What would it say to close mspaint.exe as soon as it opens up? Thanks, fury0n Link to comment Share on other sites More sharing options...
iamtheky Posted April 10, 2014 Share Posted April 10, 2014 The processlist function in the helpfile provides an example of detecting notepad and closing it, you should be able to work from there forward. ,-. .--. ________ .-. .-. ,---. ,-. .-. .-. .-. |(| / /\ \ |\ /| |__ __||| | | || .-' | |/ / \ \_/ )/ (_) / /__\ \ |(\ / | )| | | `-' | | `-. | | / __ \ (_) | | | __ | (_)\/ | (_) | | .-. | | .-' | | \ |__| ) ( | | | | |)| | \ / | | | | | |)| | `--. | |) \ | | `-' |_| (_) | |\/| | `-' /( (_)/( __.' |((_)-' /(_| '-' '-' (__) (__) (_) (__) Link to comment Share on other sites More sharing options...
fury0n Posted April 10, 2014 Author Share Posted April 10, 2014 Thank you, got it to work. Link to comment Share on other sites More sharing options...
PlayHD Posted April 10, 2014 Share Posted April 10, 2014 Or ProcessExist and ProcessKill My UDF : _WinShake, _WinSplitMy Apps : Google Guitar Bot, PuzzleGameDesign Gui : Interesting Tabs Design, RBox Project (abandoned), Animated Gui on Exit Link to comment Share on other sites More sharing options...
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