I’m trying to find and collect titles of search results on a website. Tried it first with storeText alone, but it always stopped at the first occurence of a title and I want them all. I have a while-loop now which stores the text (headline) as !csvLine and after the loop it does csvSave, which is what I want and works as expected.
But when I run the macro again, it appends the same results in the csv, which is not great. I would want kantu to overwrite the same first line everytime the macro runs (so I can easily do other stuff with the collected data). Is there a command which can delete/clear the file before running?