Jump to content

controlclick


Recommended Posts

Hello everyone,

I'm a DBA/powershell developer for my organization. We've implemented a non-Microsoft desktop gui that I need to automate for reporting purposes.

Is there any reason I'd be able to use mouseclick to click a button while I've tried everything to get controlclick to work with no luck.

Here is the info from the locator tool:

>>>> Window <<<<
Title: 001 - Rx Profile
Class: WindowsForms10.Window.8.app.0.3296db7_r9_ad1
Position: -8, -8
Size: 1936, 1056
Style: 0x17CF0000
ExStyle: 0x00050100
Handle: 0x0060143C

>>>> Control <<<<
Class: WindowsForms10.Window.8.app.0.3296db7_r9_ad1
Instance: 41
ClassnameNN: WindowsForms10.Window.8.app.0.3296db7_r9_ad141
Name: rbRxDataEntry
Advanced (Class): [NAME:rbRxDataEntry]
ID: 5117858
Text: Data Entry
Position: 8, 61
Size: 124, 107
ControlClick Coords: 106, 39
Style: 0x56010000
ExStyle: 0x00010000
Handle: 0x004E17A2

Here is my current control click one liner: ControlClick ("001 - Rx Profile","","[NAME:rbRxDataEntry; INSTANCE:41]","left",1,106,39)

What am I missing? Any help is greatly appreciated.

 

 

Link to comment
Share on other sites

Thanks! That didn't work. I don't understand how mouseclick works but this doesn't.

 

edit: For what it's worth, I'm looking to use the script I'm developing as part of an overnight sql server job. It will save a ton of time.

Edited by mpellas
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...