nobbitry Posted December 3, 2016 Posted December 3, 2016 Hi all, Someone wrote somewhere, generally it would be better to use the constants instead of numbers, because the numbers could vary in different AutoIt versions. So I tried to replace the numbers in some cases. But in case of WinGetState it is not possible. The help says: ' Constants are defined in "AutoItConstants.au3". ' But they are not defined there. Neither in my v3.3.14.2 nor in the Beta AutoItConstants.au3. Are they defined somewhere else, or doesn't they exist anymore? regards nobbitry
czardas Posted December 3, 2016 Posted December 3, 2016 (edited) I took a quick look and couldn't find them either. You'll just have to use the numeric values for the time being, until someone adds or locates them. Edited December 3, 2016 by czardas operator64 ArrayWorkshop
czardas Posted December 3, 2016 Posted December 3, 2016 Apparently this has already been amended: https://www.autoitscript.com/trac/autoit/ticket/3116 I'm running a slightly older version of AutoIt, but I'm sure they will be included in the next release. nobbitry 1 operator64 ArrayWorkshop
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