Good evening, I've had an enjoyable day getting acquainted with this scripting software, and as I mentioned in my first post, I can see there's a million things this can do, and I know I'm not going to be able to absorb it at the speed I'd like to. I dream of the day we can plug a jump drive into our head and download the knowledge like on the Matrix :-)
I'm very close on completing this first big script, and I'm looking for a little explanation to help me figure out the rest.
I have a valid AutoIt support question and kindly provide the details of my system:
AutoIt Version: V3.3.10.2 [X32]
Windows Version: WIN_2012 [X64]
Language: 0409
So I have a nice stack of steps being handled automatically with the script, I've got the mouse moving and clicking where I need it to, everything's perfect but the very end. The final window that pops up is running a process. There's a "cancel" button on the screen during the process, and once the process is complete, it turns to a "Close" button. Same x/y location, just the name of the button changes. I'm trying If/Then expressions with no luck, I'm not very strong in general loop understanding, and I can't really think of any search terms (because I don't really know the technical jargon) for what I'm asking. So I haven't been able to find anything on the forum or the Help system that fits my needs.
In English, what I'd like to communicate through the script, is:
- as long as classNN="Cancel", do nothing.
- if classNN = "Close", then go ahead and click.
I have the mouse already in position, and I'm seeing the information from the window spy application, I'm just not having much luck with the syntax for that. Can somebody help me think this one through? I'd greatly appreciate it. Thanks so much!
Farns