Example:
Code: Select all
FileAppend, [section1] `nClass=%Class% `nX=%X% `nY=%Y% `nWidth=%Width% `nHeight=%Height%, LastWindowSeen.ini
Code: Select all
IniWrite, %Class%, LastWindowSeen.ini, section1, Class
IniWrite, %X%, LastWindowSeen.ini, section1, X
IniWrite, %Y%, LastWindowSeen.ini, section1, Y
IniWrite, %Width%, LastWindowSeen.ini, section1, Width
IniWrite, %Height%, LastWindowSeen.ini, section1, Height
The only thing I know of is
Example:
Code: Select all
IniRead, Class, LastWindowSeen.ini, section1, Class
IniRead, X, LastWindowSeen.ini, section1, X
IniRead, Y, LastWindowSeen.ini, section1, Y
IniRead, Width, LastWindowSeen.ini, section1, Width
IniRead, Height, LastWindowSeen.ini, section1, Height
Code: Select all
FileReadLine, Class, LastWindowSeen.ini, 2
FileReadLine, X, LastWindowSeen.ini, 3
FileReadLine, Y, LastWindowSeen.ini, 4
FileReadLine, Width, LastWindowSeen.ini, 5
FileReadLine, Height, LastWindowSeen.ini, 6