Hi @Anonymous
Unfortunately PAD doesn't have Word automation actions right now. You have to automate it by UI elements.
Try this sequence:
1. 'Run application' and provide the fulle name of .doc file to open it
2. 'Get window', foreground window (%AutomationWindow% as output)
3. 'Focus window', by instance= %AutomationWindow%
4. 'Send keys' {LControlKey}({P}) 'This will open Print option in Word
5. 'Set drop-down list value in window': here you have to capture the Printer drop-down field UI. Operation= Select option(s) by name, Name= 'Microsoft Print to PDF'
6. 'Press button in window': capture the Print button UI
7. From here, you have to select folder + name of saved file. You can use Message Box actions to input folder/name you want, or predefine it in a variable..
Good luck!