For example, can FileAppend()
be set to create something like %COMPUTERNAME%test.txt
? I have no idea of what the code for this would be like, if so.
For example, can FileAppend()
be set to create something like %COMPUTERNAME%test.txt
? I have no idea of what the code for this would be like, if so.
The help file shows it using a variable for the file name.
Where? https://www.autohotkey.com/docs/v2/lib/FileAppend.htm
All I see is it using
My Script.ahk
, not producingMy Script DESKTOP_3058.ahk
andMy Script LAPTOP_362.ahk
based on the local machine that the script is run in.To be transparent, I have a log generator being managed by a script in a Syncthing folder. I’d like to keep the script there if possible, but have the logs be individualized so they don’t keep causing sync-conflicts.