maniootek Posted April 30 Share Posted April 30 I just noticed, that AutoIt3Wrapper checks existance of include files even if the include code are commented. This happens only when include statement is commented in include file. Maybe I did not explained it well so I will show the example: Content of test.au3 file: #include "test2.au3" func helloworld() msgbox(0,0,$g_test) EndFunc Content of test2.au3 file: #cs #Include "test123.au3" #ce global $g_test = "hello world" Link to comment Share on other sites More sharing options...
Developers Jos Posted April 30 Developers Share Posted April 30 Fixed in Beta since 13-10-2021: * 21.316.1639.6 Fixed getting error for missing include when in commentblock ioa747 1 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. Link to comment Share on other sites More sharing options...
maniootek Posted April 30 Author Share Posted April 30 5 hours ago, Jos said: Fixed in Beta since 13-10-2021: * 21.316.1639.6 Fixed getting error for missing include when in commentblock I have installed beta from here: https://www.autoitscript.com/autoit3/scite/download/beta_SciTE4AutoIt3/SciTE5-with-DynamicFunctions/SciTE4AutoIt3.exe but after that, when I open au3 file I got this message on console: ... Files (x86)\AutoIt3\SciTE\Lua\AutoItDynamicIncludes.lua:682: attempt to concatenate a nil value (field 'MaxIncludes2Read') Link to comment Share on other sites More sharing options...
Developers Jos Posted April 30 Developers Share Posted April 30 You could have only downloaded just the AutoIt3Wrapper.au3 from Beta to fix your reported issue, but normally this should work too, as long as you realize that there are many changes in that Beta Version! Did you run the installer and not change anything after that, as this line should be part of au3.properties?: dynamic.max.includes=150 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. Link to comment Share on other sites More sharing options...
maniootek Posted May 1 Author Share Posted May 1 19 hours ago, Jos said: Did you run the installer and not change anything after that, as this line should be part of au3.properties?: dynamic.max.includes=150 There is no such a line in my au3.properties file. I have added this line but still got that message in the console. And yes, there are many changes in this version. Some are cool but some features stopped to work like shortcut CTRL + J. It says -> cursor not on a Variable or UDF. before it was working properly There is also frustrating page jump (scroll to certain position) when I hit Enter (new line) Link to comment Share on other sites More sharing options...
argumentum Posted May 1 Share Posted May 1 (edited) 1 hour ago, maniootek said: frustrating use this That will update your SciTE. I've tried your code in ( my beta updated SciTE ) and get no such mishap. Give it a try. PS: the regular distro one (v4.x), not the new dynamic func. one (v5.x) !. Edited May 1 by argumentum oops Follow the link to my code contribution ( and other things too ). FAQ - Please Read Before Posting. Link to comment Share on other sites More sharing options...
Developers Jos Posted May 1 Developers Share Posted May 1 35 minutes ago, maniootek said: There is no such a line in my au3.properties file. Strange... and you did run the installer? 34 minutes ago, maniootek said: And yes, there are many changes in this version. Some are cool but some features stopped to work like shortcut CTRL + J. It says I do not see that issue either... 33 minutes ago, maniootek said: There is also frustrating page jump (scroll to certain position) when I hit Enter (new line) Quick fix: Simply revert back to the production SciTE4AutoIt3 installer and update the AutoIt3Wrapper.au3 with the Beta version. 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. Link to comment Share on other sites More sharing options...
Developers Jos Posted May 1 Developers Share Posted May 1 7 minutes ago, argumentum said: That will update your SciTE. I've tried your code in ( my beta updated SciTE ) and get no such mishap. Give it a try. Guess this requires the production SciTE4AutoIt3 first? Not a good idea when you have the dynamic version installed though. 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. Link to comment Share on other sites More sharing options...
argumentum Posted May 1 Share Posted May 1 Just now, Jos said: Not a good idea when you have the dynamic version installed ...just updated my post with the warning. Follow the link to my code contribution ( and other things too ). FAQ - Please Read Before Posting. Link to comment Share on other sites More sharing options...
argumentum Posted May 1 Share Posted May 1 (edited) I'll add Added code to the script to exit and tell the user that the script is for SciTE ( full install ) v4 only Edited May 1 by argumentum done Follow the link to my code contribution ( and other things too ). FAQ - Please Read Before Posting. Link to comment Share on other sites More sharing options...
maniootek Posted May 1 Author Share Posted May 1 2 hours ago, Jos said: Strange... and you did run the installer? Yes. Please check the movie: 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