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.

  • Flagstaff@programming.devOP
    link
    fedilink
    English
    arrow-up
    1
    ·
    1 month ago

    Where? https://www.autohotkey.com/docs/v2/lib/FileAppend.htm

    All I see is it using My Script.ahk, not producing My Script DESKTOP_3058.ahk and My 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.