blumi Posted August 21, 2015 Share Posted August 21, 2015 When I compile a autoit script with the new version 3.8.14.1 my comments in the code get modified.For exampleLokale Konfiguration prüfen will be changed toLokale Konfiguration prüfenI don't want this modification, what can I do? Link to comment Share on other sites More sharing options...
water Posted August 21, 2015 Share Posted August 21, 2015 Without seeing your cody it is impossible to help. My UDFs and Tutorials: Spoiler UDFs: Active Directory (NEW 2024-07-28 - Version 1.6.3.0) - Download - General Help & Support - Example Scripts - Wiki ExcelChart (2017-07-21 - Version 0.4.0.1) - Download - General Help & Support - Example Scripts OutlookEX (2021-11-16 - Version 1.7.0.0) - Download - General Help & Support - Example Scripts - Wiki OutlookEX_GUI (2021-04-13 - Version 1.4.0.0) - Download Outlook Tools (2019-07-22 - Version 0.6.0.0) - Download - General Help & Support - Wiki PowerPoint (2021-08-31 - Version 1.5.0.0) - Download - General Help & Support - Example Scripts - Wiki Task Scheduler (2022-07-28 - Version 1.6.0.1) - Download - General Help & Support - Wiki Standard UDFs: Excel - Example Scripts - Wiki Word - Wiki Tutorials: ADO - Wiki WebDriver - Wiki Link to comment Share on other sites More sharing options...
blumi Posted August 21, 2015 Author Share Posted August 21, 2015 I don't think this has something to do with the code.After compiling the script, the changes are made by the editor or autoit. Of course you can have some code... expandcollapse popup; Lokale Konfiguration prüfen (Configfile liegt im Scriptverzeichnis) If (FileExists(@ScriptDir & "\" & $ConfigFile)) Then $config = @ScriptDir & "\" & $ConfigFile Else ; Netzwerkkonfiguration (Configfile liegt auf dem Server im Pfad \Administration\AutoIt\ von dem das Script ausgeführt wird) Dim $SplitDrive, $SplitDir, $SplitFileName, $SplitExtension $SplitPath = _PathSplit (@ScriptFullPath, $SplitDrive, $SplitDir, $SplitFileName, $SplitExtension) $SplitServer = $SplitPath[1] $config = $SplitServer & $ConfigPfad & $ConfigFile EndIf ;MsgBox(0, $ScriptName, "Config: " & $config) ; Konfiguration einlesen und Server definieren If (FileExists($config)) Then ; Anzahl der Einträge im Bereich IP feststellen $aArray = IniReadSection($config, "IP") $counter = $aArray[0][0] ; Übereinstimmung der eigenen IP Adresse und den Vorgaben aus dem INI File überprüfen For $i = 1 To $counter If (StringInStr (@IPAddress1, $aArray[$i][1])) OR (StringInStr (@IPAddress2, $aArray[$i][1])) Then ; Standord aus dem Array auslesen. Das = Zeichen im String FR=10.112. trennt die Werte in Spalten $standort = $aArray[$i][0] ; Server anhand von $standort auslesen $server = IniRead ($config, "Server", $standort, "Fehler") ; OU definieren anhand vom Standort If($standort = "FR") Then $ou = "OU=Workstations,DC=emi,DC=fhg,DC=de" ElseIf($standort = "EK") OR ($standort = "KA") Then $ou = "OU=Workstations,DC=wiwei,DC=emi,DC=fhg,DC=de" EndIF EndIf Next ; Serverpfad anpassen, für weitere Verwendung $Server = "\\" & $server & "\" Else MsgBox (16, $ScriptName, "Die Konfigurationsdatei " & $config & " wurde nicht gefunden.") Exit(1) EndIf Link to comment Share on other sites More sharing options...
jchd Posted August 21, 2015 Share Posted August 21, 2015 Switch SciTE to UTF8: File > Encoding > UTF8add space anywhere, remove space then save. This wonderful site allows debugging and testing regular expressions (many flavors available). An absolute must have in your bookmarks.Another excellent RegExp tutorial. Don't forget downloading your copy of up-to-date pcretest.exe and pcregrep.exe hereRegExp tutorial: enough to get startedPCRE v8.33 regexp documentation latest available release and currently implemented in AutoIt beta. SQLitespeed is another feature-rich premier SQLite manager (includes import/export). Well worth a try.SQLite Expert (freeware Personal Edition or payware Pro version) is a very useful SQLite database manager.An excellent eBook covering almost every aspect of SQLite3: a must-read for anyone doing serious work.SQL tutorial (covers "generic" SQL, but most of it applies to SQLite as well)A work-in-progress SQLite3 tutorial. Don't miss other LxyzTHW pages!SQLite official website with full documentation (may be newer than the SQLite library that comes standard with AutoIt) Link to comment Share on other sites More sharing options...
blumi Posted August 21, 2015 Author Share Posted August 21, 2015 Okay, the setting is the right one.When I change to UTF8 all is fine, but after comiling a script, the setting is set back to "Code Page Property"Should this not be saved after I changed to UTF8 ?? Link to comment Share on other sites More sharing options...
jchd Posted August 21, 2015 Share Posted August 21, 2015 Add this line to SciTE > Options > Open User Options File :NewFileEncoding=UTF8Now every new file will be UTF8 by default. This wonderful site allows debugging and testing regular expressions (many flavors available). An absolute must have in your bookmarks.Another excellent RegExp tutorial. Don't forget downloading your copy of up-to-date pcretest.exe and pcregrep.exe hereRegExp tutorial: enough to get startedPCRE v8.33 regexp documentation latest available release and currently implemented in AutoIt beta. SQLitespeed is another feature-rich premier SQLite manager (includes import/export). Well worth a try.SQLite Expert (freeware Personal Edition or payware Pro version) is a very useful SQLite database manager.An excellent eBook covering almost every aspect of SQLite3: a must-read for anyone doing serious work.SQL tutorial (covers "generic" SQL, but most of it applies to SQLite as well)A work-in-progress SQLite3 tutorial. Don't miss other LxyzTHW pages!SQLite official website with full documentation (may be newer than the SQLite library that comes standard with AutoIt) Link to comment Share on other sites More sharing options...
blumi Posted August 21, 2015 Author Share Posted August 21, 2015 (edited) No changes.After compiling the script Scite refreshes the script and goes back to "Code Page Property" and shoes all "ü" as "ü"Okay, new Files are set to UTF8 I have seen.But when I edit an old one I have still the problems. Edited August 21, 2015 by blumi Link to comment Share on other sites More sharing options...
jchd Posted August 21, 2015 Share Posted August 21, 2015 Are you running the latest SciTE4AutoIt3 ? This wonderful site allows debugging and testing regular expressions (many flavors available). An absolute must have in your bookmarks.Another excellent RegExp tutorial. Don't forget downloading your copy of up-to-date pcretest.exe and pcregrep.exe hereRegExp tutorial: enough to get startedPCRE v8.33 regexp documentation latest available release and currently implemented in AutoIt beta. SQLitespeed is another feature-rich premier SQLite manager (includes import/export). Well worth a try.SQLite Expert (freeware Personal Edition or payware Pro version) is a very useful SQLite database manager.An excellent eBook covering almost every aspect of SQLite3: a must-read for anyone doing serious work.SQL tutorial (covers "generic" SQL, but most of it applies to SQLite as well)A work-in-progress SQLite3 tutorial. Don't miss other LxyzTHW pages!SQLite official website with full documentation (may be newer than the SQLite library that comes standard with AutoIt) Link to comment Share on other sites More sharing options...
blumi Posted August 21, 2015 Author Share Posted August 21, 2015 AutoIT 3.3.14.1Scite 3.5.4With older versions never had such a problem, it's the first time. Link to comment Share on other sites More sharing options...
jchd Posted August 21, 2015 Share Posted August 21, 2015 I never met the problem with recent versions and all my files have been UTF8 for years so I don't see what I could advise. Try asking Jos. This wonderful site allows debugging and testing regular expressions (many flavors available). An absolute must have in your bookmarks.Another excellent RegExp tutorial. Don't forget downloading your copy of up-to-date pcretest.exe and pcregrep.exe hereRegExp tutorial: enough to get startedPCRE v8.33 regexp documentation latest available release and currently implemented in AutoIt beta. SQLitespeed is another feature-rich premier SQLite manager (includes import/export). Well worth a try.SQLite Expert (freeware Personal Edition or payware Pro version) is a very useful SQLite database manager.An excellent eBook covering almost every aspect of SQLite3: a must-read for anyone doing serious work.SQL tutorial (covers "generic" SQL, but most of it applies to SQLite as well)A work-in-progress SQLite3 tutorial. Don't miss other LxyzTHW pages!SQLite official website with full documentation (may be newer than the SQLite library that comes standard with AutoIt) Link to comment Share on other sites More sharing options...
Developers Jos Posted August 22, 2015 Developers Share Posted August 22, 2015 We seem to have 2 threads running with an issues like this.Please try the current SciTE beta version 3.6.0 to see if that works for you.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. Link to comment Share on other sites More sharing options...
blumi Posted August 24, 2015 Author Share Posted August 24, 2015 BETA has the same problem.Are there some Downloadlinks for Scite version < 3.5.4 ?I want to switch back. Link to comment Share on other sites More sharing options...
Developers Jos Posted August 24, 2015 Developers Share Posted August 24, 2015 Check the other thread for the solution. 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. Link to comment Share on other sites More sharing options...
blumi Posted August 24, 2015 Author Share Posted August 24, 2015 Could you add these in your SciTEUser.properties and try again?:NewFileEncoding=UTF8 utf8.auto.check=4 Works fine, thanks for the help 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