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
Object Class is bordlg?
Moderators: JRL, Dorian (MJT support)
- Bob Hansen
- Automation Wizard
- Posts: 2475
- Joined: Tue Sep 24, 2002 3:47 am
- Location: Salem, New Hampshire, US
- Contact:
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.
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!
Bob
A humble man and PROUD of it!
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
SkunkWorks
- Bob Hansen
- Automation Wizard
- Posts: 2475
- Joined: Tue Sep 24, 2002 3:47 am
- Location: Salem, New Hampshire, US
- Contact: