FWIW, I just checked and this works.
Here's an example that works in Preview:
Tab to PDF Button.kmmacros (21 KB)
For more information, see the wiki Searching the Forum for Answers section.