EdWilson Posted July 19, 2010 Posted July 19, 2010 Not even a new AutoIt user yet. If this can be done in AutoIt, I'll take on learning it. Haven't found a way in batch. For use in XP. I need a script that will: 1. Check if an application is running a. If running, make the window active, b. AND if minimized make it restored. c. If not running, start the application as maximized, d. as well as display a message that lasts for about 5 seconds stating that the application is starting. (application happens to be very is slow to display any activity when started) The "restored" part for a minimized window is critical. Is this something AutoIt can do? (Bonus if you can help me with the exact script to get me jump started) If possible I will compile as an exe. (I like that AutoIt can reportedly do this) Thank you so very much. Ed Wilson
jaberwacky Posted July 19, 2010 Posted July 19, 2010 (edited) Indeed, AutoIt does possess the facilities of which you speak. It is often said that this Ancient Knowledge is buried deep within the bowels of an old, musty tome. lulz, ok, enough of being a wiseacre. Look up WinExists(), WinActivate(), Run(), that should get you off and running. Edited July 19, 2010 by jaberwocky6669 Helpful Posts and Websites: AutoIt Wiki | Can't find what you're looking for on the Forum? My scripts: Guiscape | Baroque AU3 Code Formatter | MouseHoverCalltips | SciTe Customization GUI | ActiveWindowTrack Toy | Monitor Configuration UDF
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