OnDownload to download PDF files

Hi Guys,

I’m Trying to download a PDF file, but the software is downloading it as TXT and not as PDF file.

Here is the code example:

{
“Command”: “onDownload”,
“Target”: “${!COL1}.pdf”,
“Value”: “true”
},

Bests Regards

Works for me. Test macro:

{
  "Name": "7z",
  "CreationDate": "2020-2-2",
  "Commands": [
    {
      "Command": "open",
      "Target": "https://www.7-zip.org/download.html",
      "Value": ""
    },
    {
      "Command": "onDownload",
      "Target": "123.pdf",
      "Value": "true"
    },
    {
      "Command": "click",
      "Target": "linkText=Download@POS=3",
      "Value": ""
    }
  ]
}