Forum Discussion
copiloo
14 years agoNew Contributor
Hi Margaret,
Thank you for the solution. However I used another approach to resolve both issues,
We can call pdfViewer's controls by the FullName property. I use wildcards were things get dynamic like:
WinFormsObject("axAcroPDF1").Window("Static", "*", 1) instead of
WinFormsObject("axAcroPDF1").Window("Static", "C:\\etc\\temp\\etc.pdf", 1)
This way we don't ecounter problems like "overlapping window" or “Ambiguous object recognition”.
How feasible do you think it is this approach, in this particular case?
ThankYou!
Thank you for the solution. However I used another approach to resolve both issues,
We can call pdfViewer's controls by the FullName property. I use wildcards were things get dynamic like:
WinFormsObject("axAcroPDF1").Window("Static", "*", 1) instead of
WinFormsObject("axAcroPDF1").Window("Static", "C:\\etc\\temp\\etc.pdf", 1)
This way we don't ecounter problems like "overlapping window" or “Ambiguous object recognition”.
How feasible do you think it is this approach, in this particular case?
ThankYou!