Example
#Persistent
fileName = H:\Data\Desktop\myfile.txt
return
^#Left::
FileDelete, %fileName%
return
^#Right::
FileDelete, %fileName%
FileAppend, %clipboard%, %fileName%
return
Right now it works with the #Persistent command but I have to put the #Persistent at the top of the file, which is inconvenient. If I remove the Persistent, it stops working.