I am trying to implement ControlSend with Crystal Reports version 2008. Overall task is to accomplish exporting the report to pdf and emailing. I am using the Autoit Window Info tool and can't seem to place the correct information for the ControlID in my script. I get an error code at the colon after 'BCGPToolBar' with an 'Exit code: 2'
What is the correct ClassNameNN I should use?
v 3.3.8.1
ShellExecute ("\\server1\user files\scheduled_reports\crystalrpts\junior lien tracking report.rpt") WinWaitActive("Crystal Reports - [junior lien tracking report.rpt") ControlSend("Crystal Reports - [junior lien tracking report.rpt]", "", BCGPToolBar:220000:8:10003:10, "alt-f")