LukeWCS Posted March 23, 2022 Share Posted March 23, 2022 (edited) Hi Thanks to Jon and all who made the new version possible. I get the following error: --------------------------- AutoIt Error --------------------------- Line 2348 (File "C:\Program Files (x86)\AutoIt3\SciTE\SciTE Jump\SciTE Jump.au3"): Return $__WINVER >= 0x0600 Return ^ ERROR Error: Variable used without being declared. --------------------------- OK --------------------------- I guess a new SciTe version is also necessary for the new AutoIt version? Edited March 24, 2022 by LukeWCS Link to comment Share on other sites More sharing options...
ad777 Posted March 23, 2022 Share Posted March 23, 2022 (edited) @LukeWCS just go to: C:\Program Files (x86)\AutoIt3\SciTE\SciTE Jump\SciTE Jump.au3 Add Global $__WINVER at Top of script: SciTE Jump.au3 and Save it and Close it that it. Edited March 23, 2022 by ad777 Decibel 1 iam ِAutoit programmer. best thing in life is to use your Brain to Achieve everything you want. Link to comment Share on other sites More sharing options...
LukeWCS Posted March 23, 2022 Author Share Posted March 23, 2022 (edited) @ad777 Thanks, problem solved. _SetVariables() Global Const $__sScriptDir = _GetInstalledSettingsDir() ; If AutoIt & SciTE are installed then use the application directory instead. Global $__WINVER _SciTE_Startup() But why does the missing variable declaration only appear in 3.3.16.0? Edited March 23, 2022 by LukeWCS Link to comment Share on other sites More sharing options...
Musashi Posted March 23, 2022 Share Posted March 23, 2022 41 minutes ago, LukeWCS said: But why does the missing variable declaration only appear in 3.3.16.0? I suspect this has to do with the ' new ' detection of Windows 11 in AutoIt 3.3.16.0. "In the beginning the Universe was created. This has made a lot of people very angry and been widely regarded as a bad move." Link to comment Share on other sites More sharing options...
Solution Danp2 Posted March 23, 2022 Solution Share Posted March 23, 2022 See this thread for the prior discussion and solution to this issue. Musashi 1 Latest Webdriver UDF Release Webdriver Wiki FAQs Link to comment Share on other sites More sharing options...
LukeWCS Posted March 23, 2022 Author Share Posted March 23, 2022 (edited) @Danp2 Thanks for the hint. It never occurred to me to look for it in "AutoIt Example Scripts" because "SciTe Jump" is part of the SciTe package and therefore part of the IDE. I've now implemented Jos' suggested change, which seems to me to be the better option for the future. @Musashi With what I've read from Jos now, I assume that this "internal" variable was an undocumented feature that was removed in 3.3.16.0. edit: Saw this morning that there is already a system here to mark threads as solved. Changes made accordingly. Edited March 24, 2022 by LukeWCS 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