ioa747 Posted yesterday at 12:46 PM Posted yesterday at 12:46 PM (edited) The _ArrayFromString function is not correctly colored as a Standard UDF. Can someone tell me where I should look? Does it only happen to me? Thank you very much. Edit: Now that I looked in the C:\Program Files (x86)\AutoIt3\Include\Array.au3, the same applies to the _Array2DCreate Edited yesterday at 12:54 PM by ioa747 Edit I know that I know nothing
pixelsearch Posted 7 hours ago Posted 7 hours ago Hello @ioa747 Assuming your AutoIt version is 3.3.16.1, maybe you got files that need to be updated in your Scite folder / subfolders. For example, if these 2 files "au3.api" and "au3.keywords.properties" got a modification year indicating 2018 (in Windows Explorer) then it could explain why some actual functions names are not found in them. Then you won't find these functions in the autocompletion list (while you type the beginning of their names in Scite), also their color won't be the same as the other functions names (as you noticed when opening Array.au3) In case @Jos reads this, he could tell you how to solve your problem, in his own helping words Have a great week-end ioa747 1 "I think you are searching a bug where there is no bug... don't listen to bad advice."
Developers Jos Posted 6 hours ago Developers Posted 6 hours ago On 6/6/2025 at 2:46 PM, ioa747 said: The _ArrayFromString function is not correctly colored as a Standard UDF. Can someone tell me where I should look? Does it only happen to me? You know I will need details on what you have installed to have any clue why that happens, but in general when you open "au3.keywords.properties" from within SciTE/Options, you get the file that is used to recognize the UDFs. 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.
Solution argumentum Posted 4 hours ago Solution Posted 4 hours ago Also, do add them in all lower case or it wont work. I have one at \AutoIt3\SciTE (;AutoIt3 Version 3.3.16.1) and one at \AutoIt3\SciTE\Properties (;AutoIt3 Version 3.3.14.5). Why ?, I don't know, but it now looks properly colored after the edit. Does take closing and opening again for SciTE to show the changes. Follow the link to my code contribution ( and other things too ). FAQ - Please Read Before Posting.
Developers Jos Posted 4 hours ago Developers Posted 4 hours ago (edited) No, you should not add anything to that file as it is overwritten with autoit3 installs. 😉 Edited 4 hours ago by Jos argumentum and ioa747 2 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.
argumentum Posted 4 hours ago Posted 4 hours ago But.., I install AutoIt 1st, then install SciTE ( the v4 version ). So ... AutoIt would not overwrite anything because it was already installed. Now there are 2 of these property files and yes, makes no sense to edit the old file when I should just replace the old version with the correct version ( just thought of it now ). I never paid much attention to the coloring ... thinking on my feet here. The year for the \SciTE\Properties one is 2018 and the one from \SciTE is 2022. The solution is simple, replace one with the other. I guess that one of these LUA files can check the header of the properties files and replace the one originally included with the version with the one distributed by AutoIt ?, no clue. Is not a big deal for me. I thought it was just me but another user saw that too so is not just me. Again, no big deal. Follow the link to my code contribution ( and other things too ). FAQ - Please Read Before Posting.
ioa747 Posted 4 hours ago Author Posted 4 hours ago (edited) I found four in me "C:\Program Files (x86)\AutoIt3\SciTE\au3.keywords.properties" "C:\Program Files (x86)\AutoIt3\SciTE\Defs\beta\au3.keywords.properties" "C:\Program Files (x86)\AutoIt3\SciTE\Defs\Production\au3.keywords.properties" "C:\Program Files (x86)\AutoIt3\SciTE\Properties\au3.keywords.properties" I corrected the C:\Program Files (x86)\AutoIt3\SciTE\au3.keywords.properties and I threw it in the C:\Program Files (x86)\AutoIt3\SciTE\Properties\ and now it's ok. (at least until the next installation) Thank you very much Edited 3 hours ago by ioa747 argumentum 1 I know that I know nothing
Developers Jos Posted 3 hours ago Developers Posted 3 hours ago 20 minutes ago, argumentum said: But.., I install AutoIt 1st, then install SciTE ( the v4 version ). So ... AutoIt would not overwrite anything because it was already installed. Now there are 2 of these property files and yes, makes no sense to edit the old file when I should just replace the old version with the correct version ( just thought of it now ). I never paid much attention to the coloring ... thinking on my feet here. The year for the \SciTE\Properties one is 2018 and the one from \SciTE is 2022. The solution is simple, replace one with the other. I guess that one of these LUA files can check the header of the properties files and replace the one originally included with the version with the one distributed by AutoIt ?, no clue. Is not a big deal for me. I thought it was just me but another user saw that too so is not just me. Again, no big deal. Think about it for a moment. Just in general : never customize any file provide by the installer in the scite directory as these will be overwritten with the next upgrade or reinstall. Always use the files in the user directory. 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.
Developers Jos Posted 3 hours ago Developers Posted 3 hours ago 22 minutes ago, ioa747 said: I found four in me "C:\Program Files (x86)\AutoIt3\SciTE\au3.keywords.properties" "C:\Program Files (x86)\AutoIt3\SciTE\Defs\beta\au3.keywords.properties" "C:\Program Files (x86)\AutoIt3\SciTE\Defs\Production\au3.keywords.properties" "C:\Program Files (x86)\AutoIt3\SciTE\Properties\au3.keywords.properties" I corrected the C:\Program Files (x86)\AutoIt3\SciTE\au3.keywords.properties and I threw it in the C:\Program Files (x86)\AutoIt3\SciTE\Properties\ and now it's ok. (at least until the next installation) Thank you very much How did you install /upgrade AutoIt3 the last time? The installer handles all of this normally. 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.
ioa747 Posted 3 hours ago Author Posted 3 hours ago I did a normal install. What can I say, I don't remember if it was an upgrade. Besides, I have a bad habit of messing things up, so I might have done something wrong. At some point I made a portable version with SciTE v5x & lua Dynamic_include, but I didn't declare it correctly in the environment variables, and until I figured it out, it messed up some things. 19 minutes ago, Jos said: Always use the files in the user directory. this means that I simply copy au3.keywords.properties to C:\Users\ioa747\AppData\Local\AutoIt v3\SciTE and is ok ? I know that I know nothing
Developers Jos Posted 3 hours ago Developers Posted 3 hours ago 12 minutes ago, ioa747 said: this means that I simply copy au3.keywords.properties to C:\Users\ioa747\AppData\Local\AutoIt v3\SciTE and is ok ? Nope, you are restoring a proper version of a file which likely was accidentally changed. 😀 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.
argumentum Posted 2 hours ago Posted 2 hours ago 1 hour ago, Jos said: Think about it for a moment. Just in general : never customize any file provide by the installer in the scite directory as these will be overwritten with the next upgrade or reinstall. I click-click. AutoIt3 "click-click", SciTE "click-click". Then I run the beta file updater that downloads and copy over the excising files with those from the beta site, and that too I "click-click". I do that at least once a month because I run VMs and need the AutoIt environment. The only difference is the I install in C:\utilities\Autoit instead of the default programs folder. If you were to do a fresh install in a fresh PC, you'd see. Or I can make a video ( but am camera shy ) Follow the link to my code contribution ( and other things too ). FAQ - Please Read Before Posting.
Developers Jos Posted 2 hours ago Developers Posted 2 hours ago (edited) Sorry for being slow here and understand the issue now... Many ( really many) moons ago I moved all properties files into their own subdirectory, but AutoIt indeed install it into the SciTE root directory since that is also where the light version expects it. Funny this comes up after such a loooong time, but I will have a look to fix this in the SciTE4AutoIt3 installer. Guess all i really need to do is change this in au3.properties: # Import the default au3.keywords.properties file containing AutoIt3 info import properties\au3.keywords # override with the AutoIt3 provided file located in the root. import au3.keywords Edited 1 hour ago by Jos argumentum and ioa747 2 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.
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