j0rg3 Posted June 25, 2008 Share Posted June 25, 2008 Hello everybody! I'm brand-new to AutoIt and I'm pretty sure that I have a dumb question -- but I haven't been able to figure it out on my own. I've been downloading a lot of example scripts for educational purposes. A lot of the time, I get errors stating: C:\Program Files\AutoIt3\helloworld.au3(13,75) : WARNING: $BS_ICON: possibly used before declaration. So I checked GUIConstants.au3 and GUIConstantsEx.au3. No $BS_ICON there. FYI: I get the same error when I try to run it from Koda. Similarly, I had the problem with $WS_EX_TRANSPARENT when I tried using Felix N.'s downloader (http://www.autoitscript.com/forum/index.php?showtopic=16868&st=0&gopid=116844&). I went through "_Functions.au3" and removed the references to it just so I could see the script work but something is obviously whompy-jawed. I've upgraded to the latest beta in my attempts to make this problem go away. Any ideas? Tnx!! j0rg3 Link to comment Share on other sites More sharing options...
Paulie Posted June 25, 2008 Share Posted June 25, 2008 The newes Version of autoit has changed the include sysyem. You need to include "WindowsConstants.au3" and the constants from any controls used Ex. #include <WindowsConstants.au3> #include <ButtonConstants.au3> ; Contains $BS_ICON Link to comment Share on other sites More sharing options...
j0rg3 Posted June 25, 2008 Author Share Posted June 25, 2008 Works perfectly! Thank you!! 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