I have tried for several hours to get this syntax right. Basically I have this script:
on run
set fileList to choose file with prompt “PDF files to combine:” with multiple selections allowed without invisibles
return combine(fileList)
end run
but instead of a file prompt, I want to specify the files to be combined and have it work automatically. I tried
set fileList to {"PCRdist Shirt Catalog (all).pdf"} and {"zorderform_current.pdf"}
but of course this is failing. How do I set the fileList to these two files, existing on the user desktop, so that the overall script will work?