AreS Posted May 10, 2005 Posted May 10, 2005 I'm incredibly bored, thus, I've come up with the idea to make digital coffee. It'd be a more or less simple program, just opening up notepad or something. I was thinking of giving it hotkeys for tasks, such as a hotkey for filling the coffee pot with water, putting in the filter, turning it on, etc. How can I make it so that a hotkey can only be pressed if a certain task is complete, meaning, they can't put the coffee in unless the filter is in, they can't turn the coffee pot on unless the water is in, etc. If anyone could assist me in curing my boredom, I'd be very gateful. Thanks.
steveR Posted May 10, 2005 Posted May 10, 2005 (edited) Well one way is to only activate the hotkey after the certain task is complete. Another is to have the hotkey activated always and have a condition statement in the hotkey function to test whether task is complete or not. Edited May 10, 2005 by steveR AutoIt3 online docs Use it... Know it... Live it...MSDN libraryglobal Help and SupportWindows: Just another pane in the glass.
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