Object Class is bordlg?

Technical support and scripting issues

Moderators: JRL, Dorian (MJT support)

Post Reply
User avatar
pgriffin
Automation Wizard
Posts: 460
Joined: Wed Apr 06, 2005 5:56 pm
Location: US and Europe

Object Class is bordlg?

Post by pgriffin » Fri Aug 12, 2005 12:23 am

I need to populate an EDIT object in a window, but the 'window' doesn't act like one. When I view system windows, it shows the usual number, then 'bordlg', as the Class, then shows the text that shows in the WindowTitle. SetFocus won't find it. Can't use SetControlText or similar commands because it is apparently not a 'real' window.

Does anyone know another way to get at this window? Even keystrokes don't seem to be accepted from MacroSheduler.

SkunkWorks

User avatar
Bob Hansen
Automation Wizard
Posts: 2475
Joined: Tue Sep 24, 2002 3:47 am
Location: Salem, New Hampshire, US
Contact:

Post by Bob Hansen » Fri Aug 12, 2005 1:29 am

Hmmmm... just a casual thought.....

can you maximize the window to force focus on that window,
Then use GetActiveWindow> to get the window title?

Now you can use the title in other ...Window> commands

OR

You could use MouseMove or MouseMoveRel to position cursor to do the editing.
Hope this was helpful..................good luck,
Bob
A humble man and PROUD of it!

User avatar
pgriffin
Automation Wizard
Posts: 460
Joined: Wed Apr 06, 2005 5:56 pm
Location: US and Europe

Post by pgriffin » Fri Aug 12, 2005 4:32 pm

GetActiveWindow freezes MacroSched. MouseMove will not work until I manually close this object. It will not accept keystrokes, mousemoves, clicks, can't get at the objects on the screen. If I manually press keystrokes everything works fine, but it will not allow any automation. I'm baffled for now, but still working on it.

SkunkWorks

User avatar
Bob Hansen
Automation Wizard
Posts: 2475
Joined: Tue Sep 24, 2002 3:47 am
Location: Salem, New Hampshire, US
Contact:

Post by Bob Hansen » Sat Aug 13, 2005 1:50 am

Curious:

What program are you using?

How to duplicate window?
Hope this was helpful..................good luck,
Bob
A humble man and PROUD of it!

Post Reply
Sign up to our newsletter for free automation tips, tricks & discounts