Jump to content

Sending Commands to MSFlexGridWndClass


TorkelT
 Share

Recommended Posts

Hello, I've been searching the net and the forums for answer on this but I'm not finding anything. I have a small back up program running on a server that I am using AutoIT to automate. I would like the script to be able to run while I am not logged in (which is mostly done via Remote Desktop) and for the most part, I am able to use CommandSend to get things done. I have hit a wall with a MSFlexGridWndClass which contains check boxes that select the different servers drives that need to be backed up. If I am logged in I can use Send to hit tab 4 times and press space. This selects the check box that selects all drives. But the Send command does not work if someone is not logged in.

My question is this: Is there a way to either make the server 'think' that it is still logged in while that selection is made? Or is there some way to reliably send key strokes to a MSFlexGridWndClass (which do not have control IDs)

Thanks for your time, here's the summary for the Window Info:

>>>> Window <<<<

Title: Copy Backup Images of Servers to External Drive - [CWD Real Estate]

Class: ThunderRT6FormDC

Position: 320, 117

Size: 723, 534

Style: 0x16C00000

ExStyle: 0x00040100

Handle: 0x00000000002B026C

>>>> Control <<<<

Class: MSFlexGridWndClass

Instance: 1

ClassnameNN: MSFlexGridWndClass1

Name:

Advanced (Class): [CLASS:MSFlexGridWndClass; INSTANCE:1]

ID:

Text:

Position: 44, 76

Size: 637, 196

ControlClick Coords: 8, 9

Style: 0x54000000

ExStyle: 0x00000000

Handle: 0x0000000000180262

>>>> Mouse <<<<

Position: 375, 224

Cursor ID: 0

Color: 0xFFFFFF

>>>> StatusBar <<<<

>>>> ToolsBar <<<<

>>>> Visible Text <<<<

I (Drive Fixed)

I (Drive Fixed)

Cancel Cop&y

Copy &Backup

&Close

>>>> Hidden Text <<<<

Progress Bar

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...