lattey Posted July 20, 2017 Posted July 20, 2017 I have a system that need to operates at Windows NT environment. So, i am using old version autoit - ver 3.2.12.1, since only old version that compatible with windows NT. But i face some error which i couldn't figure out why it is happen. The error only happen after running the system few times. i suspected it is may due to i am using old version autoit but i am not sure about it. Errors that I faced: Send command send wrong keys - after few times, autoit will send wrong keys. The autoit will send Start keys. WinActivate("Program Selection") send ("{UP}") ;loop start to delete test prog local $j = 0 Do send ("{DOWN}") Sleep (200) ControlClick("Program Selection", "", "[CLASS:Button; INSTANCE:3]") Sleep (500) $j = $j + 1 until $j = 10 The button not appear - after running few times, the button suddenly not appear SplashTextOn("", "successfully Load. ", 300, 120, (@DesktopWidth - 330) / 2, (@DesktopHeight - 339) / 2, 0, "", 16) Sleep(10000) SplashOff() GUISetFont(7, 400, "Tahoma") ; will display underlined characters $CmdPrint = GUICtrlCreateButton("PRINT",6,420,295,30,$BS_MULTILINE) there also few error that happens after few times running which doesnt not capture. is this maybe because i am using the old version of autoit? How can i proved all this error happen may not because of my code?
Trong Posted July 20, 2017 Posted July 20, 2017 Autoit no longer support older operating systems and older autoit versions! Can you plan on upgrading? Enjoy my work? Buy me a 🍻 or tip via ❤️ PayPal
lattey Posted July 20, 2017 Author Posted July 20, 2017 i see.. so all this error happened may due to im using older version? i cant upgrade to new version of autoit since older version of autoit is compatible with wndows nt. do you have any suggestions what can i do?
Trong Posted July 20, 2017 Posted July 20, 2017 Update your OS to Windows XP, Windows 7 or Windows 10 Enjoy my work? Buy me a 🍻 or tip via ❤️ PayPal
Developers Jos Posted July 20, 2017 Developers Posted July 20, 2017 Show a script that has the issues that can be ran so we can see what you are doing and possibly make suggestions. Jos SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past.
junkew Posted July 20, 2017 Posted July 20, 2017 try latest autoit I assume its more then 99% compatible with Windows NT. Its probably not tested but as far as I know there is no explicit statement its incompatible. FAQ 31 How to click some elements, FAQ 40 Test automation with AutoIt, Multithreading CLR .NET Powershell CMDLets
lattey Posted July 20, 2017 Author Posted July 20, 2017 hi jos, please see my post, that one of the code that faced issues after ran few times. the code suppose to insert text to text box of an application but after few times running, it does mot auto insert text in the textbox. Local $OperatorMenu = " Entry (" & $Test & ")" ControlSetText($OperatorMenu, "", "TextBox21", $fer_No) sleep (400) ControlSetText($OperatorMenu, "", "TextBox20", $Lt_No) sleep (400) ControlSetText($OperatorMenu, "", "TextBox18", $temp) sleep (400)
Developers Jos Posted July 20, 2017 Developers Posted July 20, 2017 It could very well be that the Up or Down keys you send is getting the key "stuck", is that also in your case? Jos SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past.
lattey Posted July 21, 2017 Author Posted July 21, 2017 hi Jos, i think its not likely the key is stuck because instead send up keys, it send start keys and thats make me confused why it is send start key. hi Junkew, ive already tried to used latest version of autoit but when running the autoit application, the error prompt " this is not a valid windows NT application".
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