ok, worked it out, wasn’t too hard.
Also got it to rename the PDF to todays date and time, and then move the PDF to an FTP folder. Was quite satisfying to work out actually!
Was all in Mavericks at work though. Got home and tried it on Yosemite (where it’ll be used) and Apple have changed so much about how it works, it’s wrecked about half of it, so have to work it out again!! grrrrrrr
But anyways, worked awesome, isn’t hard.