maxrealqnx Posted November 17, 2013 Posted November 17, 2013 Hi ! I think I found a bug for the windows 8.1. How can I fix it ? Thank you in advance for your answers Visit My Website
maxrealqnx Posted November 17, 2013 Author Posted November 17, 2013 (edited) I think this way it can be workaround until the bug is fixed. #RequireAdmin Global $OSBuild = 1 $OSBuild = FileGetVersion("user32.dll") If (StringRegExp($OSBuild, "^(.*)\.(.+)\.(.+)\.(.*)$")) Then $OSBuild = StringRegExp($OSBuild, "^(.*)\.(.+)\.(.+)\.(.*)$", 1) $OSBuild = $OSBuild[2] Else $OSBuild = @OSBuild EndIf MsgBox(64, @OSBuild, $OSBuild) Edited November 17, 2013 by maxrealqnx Visit My Website
trancexx Posted November 17, 2013 Posted November 17, 2013 That's not bug, it's how it should be. But documentation for AutoIt should address it, if not. The thing is AutoIt uses WinAPI function that is (or will be) deprecated very soon. The result get that way can't be guaranteed for future systems, meaning AutoIt will have to change. In this particular case the manifest attached to the executable directs the output you get. MSDN however documents this, unlike AutoIt. Follow the link. ♡♡♡ . eMyvnE
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