Take action on an empty file?
In short, I'm trying to set a file's contents based on whether or not the file already exists. If it doesn't exist, I'd like to populate it with a header. If it does exist, I'd like to append information to the file.
I'm grabbing the contents of the requested filename with Get File Contents, and storing the result in a variable called "oldcontent". I then set up an if/then block to set the file contents if oldcontent is empty (i.e. the filename I requested doesn't exist). In my if/then, I'm leaving the "is Equal to" block blank, but this doesn't seem to work. Is there another way?