Jump to content

richtburkhart

Members
  • Posts

    7
  • Joined

  • Last visited

Everything posted by richtburkhart

  1. Haha how was I so blind? Of course I can't do that. Thanks so much, Jos.
  2. I'm getting the syntax error: "Statement cannot be just an expression." Here's the piece of code where it occurs: $Check = WinExists("MySQL Installer") If $Check <> "" Then WinClose("MySQL Installer") Else $Check = ControlGetHandle("", "&No", '[CLASS:Button; INSTANCE:2]') If $Check <> "" Then ControlClick("", "&No", '[CLASS:Button; INSTANCE:2]') Sleep(10000) WinClose("MySQL Installer") EndIf EndIfAnyone know why this error is occurring?
  3. Is there anyone with an alternative to targeting handles?
  4. Haha no. It's not. I'm using the Microsoft Web Platform Installer to install PHP 5.6.0. There is an install button inside the search results area, but once that button is used, it disappears. The button never had a handle of its own to begin with though. I had to use coords to ControlClick it.
  5. I am having trouble with a script I'm writing. I'm not sure how to handle this problem. I've got the script running through an installation, but at one point in the installation, I want it to check if a button is there or not. The problem is the button I'm referring to doesn't have its own handle. It's just part of a larger box which has its own handle. What can I use instead of checking for the button's handle, since the button doesn't have one to begin with?
  6. I figured it out. Just had to do some troubleshooting. I'm very sorry for creating a post that didn't really accomplish anything. Next time I post for some help though, I will make sure to post the code I'm working on. Sorry. I should have known to do that.
  7. Hello, I'm having some trouble in my script. I've been using _IsChecked before, but suddenly it is telling me that it's an undefined function. How does that work? Is there an #include that I've missed? I have Constants.au3 and GUIConstantsEx.au3. I'm sorry if I don't sound knowledgeable. I'm still learning the language, but any help whatsoever would be helpful. Also, another problem I've got is I'm being told one of my variables was previously declared as a 'Const'.
×
×
  • Create New...