However, there's an issue. Commonly right after a FileAppend() is performed, the text file is ready for Read-Write-Delete operations in some File Manager or a Text Editor.
But that's not the case when the File is Opened by the Script.
file := FileOpen("C:\Test.txt", 2|0x100|0x200|0x400) ; Append, Sharedafter performing a
file.Writeon a non-existing file, the file size is 0 bytes, if the file exist, the appended data is not visible in the file until a
file.Closeis performed or the Script is Reloaded/Closed.
Are there other "Sharing mode flags" or is this a normal behavior?
Is there a method to Update the file while it's Open by ahk, so that the appended text will be visible immediately after a