I am using a macro to obtain data from a website and save to a print file using the print function on the specific website page. In the print window i can select "print to pdf" but do not know how to format the output filename to reflect the current date. The macro will be run every month to save a snapshot of the website's data. I have tried several suggestions from the forums but haven't found a solution that works. Filename required is of the form "yyyymmdd_account_summary.pdf" Using Kantu as the macro recorder in firefox 68 on fedora 29.
i tried setting the print file name to $(date +"%y%m%d")_account_summary.pdf but this only created a file named $(date +"%y%m%d")_account_summary.pdf no variables were substituted. obviously i am doing something simple wrong but cannot see it.
Expected resulting filename 20190731_account_summary.pdf actual name that is created $(date +"%y%m%d")_account_summary.pdf which is clearly wrong