cruzader
14 years agoContributor
Cannot access specific objects in Devices and Printers
Hello to all,
I would like to ask for assistance from those very knowledgeable in TC8.
I wanted to create a script that would access objects in Devices and Printers window of Windows 7.
Specifically, I'm trying to find a specific printer (Ex. Printer1 is the name of the printer), then perform a right-click action while Printer1 is currently selected. The when the context menu is displayed, I wanted to click the Printer Properties menu.
The problem I'm having is that, I cannot seem to access specific items inside the list of the Devices and Printers.
When I tried recording the steps I wanted, the generated scripts uses coordinates. As much as possible, I don't want to use coordinates in performing clicks or accessing objects.
Thanks in advance for those who could share their expertise on this.
Regards,
Ruel
I would like to ask for assistance from those very knowledgeable in TC8.
I wanted to create a script that would access objects in Devices and Printers window of Windows 7.
Specifically, I'm trying to find a specific printer (Ex. Printer1 is the name of the printer), then perform a right-click action while Printer1 is currently selected. The when the context menu is displayed, I wanted to click the Printer Properties menu.
The problem I'm having is that, I cannot seem to access specific items inside the list of the Devices and Printers.
When I tried recording the steps I wanted, the generated scripts uses coordinates. As much as possible, I don't want to use coordinates in performing clicks or accessing objects.
Thanks in advance for those who could share their expertise on this.
Regards,
Ruel
- What are you trying to test by accessing the printer properties? Is this something that can be done by instantiating something within the windows environment?