Capture Screenshot from a Macro Script with a Windows Automation Software