Custom Query (3926 matches)
Results (370 - 372 of 3926)
| Ticket | Resolution | Summary | Owner | Reporter |
|---|---|---|---|---|
| #3571 | Fixed | (Beta) Map values are erased | ||
| Description |
Explanation and reproducer in this forums post: https://www.autoitscript.com/forum/topic/190932-possible-maps-bug-beta/ |
|||
| #2043 | Works For Me | IniRead, IniReadSection don't access ,INI files from mapped drives | ||
| Description |
IniRead gives always default results from 'x.ini' at working dir or in @ScriptDir&'\x.ini' whem @workingdir or @scriptdir are folders in a mapped drive. But @error is 0 Accidentally, I needed to move the folder \DEV from local disk B: to N:\AutoIt in another disk (a shared folder).. Then I dropped disk B:, mapped B: to N;\AutoIt and tried to continue using the programs. But a lot of my programas in the folder DEV gave bad results - both from Scite and .exe, when accesed from DEV in mapped drive B:. Those use IniRead. IniRead see an existing .ini file, but process it as if the .ini file were an empty file (the same for IniReadSection). Nevertheless the results are as good as expected when programs are accesed form DEV in N:\AutoIt (N: is a local drive). It happens as if InitRead cannot read the .ini file when .ini drive is mapped. But IniRead don't see this as an error and don't @errot to 1. SHORT TEST SCRIPT$inifile=FileGetLongName(@ScriptDir&"\script.ini")
ConsoleWrite('========== CONTENTS ===========' &@CRLF&FileRead($inifile)&@CRLF&'================================'&@CRLF)
;get editor command from Script.ini (default Notepad) at @Scriptdir, then at @WorkingDir
For $x=1 to 2
ConsoleWrite('inifile=='&$inifile&@CRLF)
$editor=IniRead ($inifile, "edit", "Editor", 'notepad.exe "%1"' )
ConsoleWrite('IniRead @error='&@error&" RESULTS:" _
&@CRLF&" Scriptdir = "&@ScriptDir&@CRLF&" WorkingDir = "&@WorkingDir&@CRLF&" Editor = "&$editor&@CRLF)
ConsoleWrite('------------------- $x='&$x&' ----------------------------- '&@CRLF)
FileChangeDir(@ScriptDir)
$inifile=FileGetLongName("script.ini")
Next
MsgBox(0,"End "&@ScriptFullPath," See results; click to exit")
Exit
RESULTS WHEN @Scriptdir==@WorkingDir==N:\AutoIt\DEV====== Script.ini CONTENTS ===== [edit] Editor=AnotherEditor.exe %1 ================================ inifile==N:\AutoIt\DEV\Script.ini IniRead @error=0 RESULTS:
inifile==script.ini IniRead @error=0 RESULTS:
RESULTS WHEN @Scriptdir==@WorkingDir==B:\DEV (B: mapped to N:\AutoIt)====== Script.ini CONTENTS ===== [edit] Editor=AnotherEditor.exe %1 ================================ inifile==B:\DEV\Script.ini IniRead @error=0 RESULTS:
inifile==script.ini IniRead @error=0 RESULTS:
I use AutoIt a lot. Thank you for this marvellous work !!''' |
|||
| #2294 | No Bug | ControlGetText failing when window title happens to contain umlauts | ||
| Description |
Sample: $Aktiivne_Suund = ControlGetText($MAINWIN,"Piiriületus", $PIS_Suund) does NOT work ("u" umlaut is the guilty party) $Aktiivne_Suund = ControlGetText($MAINWIN,"", $PIS_Suund) works but if same program has more than one GUI window, you are getting screwed since script has no ability left to make difference between them. There is no way to avoid umlauts since foreign language programs often have window titles containing those and when stumbling on one such program, it's annoying as hell. |
|||
