Hi All,
Trying to automate a task in Pegasus mail and I can't seem to acquire the name of the visible child window. If I use GetActiveWindow with GAW_TYPE=1, I always get a window named "Press for help". When I use Macro Scheduler's View System Windows tool to look at the list of window names, there are 86 child windows open under the main Pegasus mail window. "Press for help" is third on the list.
If I hard code the window name, (as I see it on the screen) my script works. The problem is the window name will vary so I need to somehow acquire the name.
Anyone have any ideas on how I can acquire the name of the visibly current active window in Pegasus mail?
Thank you,
Dick
How do I acquire a Pegasus mail child window name?
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:
Hi Dick....
This is a long shot.......
I can't test this right now, but I seem to recall earlier version of Macro Scheduler that showed the windows could also "flash" the window, or make it visible and bring it to the front. That was before the Window ID was built it. Does the current version still have that little used feature? It might be tedious but you could step through the 80+ windows, trying to flash/make visible?
I think that I still have the old utility available if you think you might need that. But Marcus will probably have an easier solutions.
This is a long shot.......
I can't test this right now, but I seem to recall earlier version of Macro Scheduler that showed the windows could also "flash" the window, or make it visible and bring it to the front. That was before the Window ID was built it. Does the current version still have that little used feature? It might be tedious but you could step through the 80+ windows, trying to flash/make visible?
I think that I still have the old utility available if you think you might need that. But Marcus will probably have an easier solutions.
Hope this was helpful..................good luck,
Bob
A humble man and PROUD of it!
Bob
A humble man and PROUD of it!
- Bob Hansen
- Automation Wizard
- Posts: 2475
- Joined: Tue Sep 24, 2002 3:47 am
- Location: Salem, New Hampshire, US
- Contact:
My suggestion was based on you doing a one time process to get the name to put into a script. I did not envision doing that in a script.
I think I have access to a system that has Pegasus installed, will see if I can jump in there in next few days. Hopefully you'll have an answer before then.... What version of Pegasus should I be looking for?
I think I have access to a system that has Pegasus installed, will see if I can jump in there in next few days. Hopefully you'll have an answer before then.... What version of Pegasus should I be looking for?
Hope this was helpful..................good luck,
Bob
A humble man and PROUD of it!
Bob
A humble man and PROUD of it!