How can I manipulate a window that has no title. Below is the description using View System Windows - Copy all text.
69838 - ThunderRT6FormDC ""
I tried a number of approaches without success. I am using MS 8.1 with WinXP.
Window with No Title
Moderators: JRL, Dorian (MJT support)
- Marcus Tettmar
- Site Admin
- Posts: 7395
- Joined: Thu Sep 19, 2002 3:00 pm
- Location: Dorset, UK
- Contact:
You can use FindWindow/FindWindowEx. Is this a parent window? If so you might just be able to do:
LibFunc>user32,FindWindowA,hwnd,ThunderRT6FormDC,
hwnd now has the handle of the window and you can then use the regular window functions with the WIN_USEHANDLE variable set:
Let>WIN_USEHANDLE
SetFocus>hwnd
If this window is a child window you might need a FindWindowEx or two. Search the forums for FindWindowA and FindWindowEx - there are a number of examples. Or feel free to provide more details.
LibFunc>user32,FindWindowA,hwnd,ThunderRT6FormDC,
hwnd now has the handle of the window and you can then use the regular window functions with the WIN_USEHANDLE variable set:
Let>WIN_USEHANDLE
SetFocus>hwnd
If this window is a child window you might need a FindWindowEx or two. Search the forums for FindWindowA and FindWindowEx - there are a number of examples. Or feel free to provide more details.
Marcus Tettmar
http://mjtnet.com/blog/ | http://twitter.com/marcustettmar
Did you know we are now offering affordable monthly subscriptions for Macro Scheduler Standard?
http://mjtnet.com/blog/ | http://twitter.com/marcustettmar
Did you know we are now offering affordable monthly subscriptions for Macro Scheduler Standard?
-
- Pro Scripter
- Posts: 50
- Joined: Fri Jan 20, 2006 10:43 pm
Using LibFunc>user32... Solved the Problem
Using LibFunc>user32... Solved the Problem
ThunderRT6FormDC is a parent window.
What is FindWindow/FindWindowEx? I only can identify FindWindowWithText in the list of commands? I did try Fin without success. ThunderRT6FormDC has child windows with no titles that are forms, buttons, and other objects.
Do you know of a good book/website that describes how to use User32?
Thanks for the great support
ThunderRT6FormDC is a parent window.
What is FindWindow/FindWindowEx? I only can identify FindWindowWithText in the list of commands? I did try Fin without success. ThunderRT6FormDC has child windows with no titles that are forms, buttons, and other objects.
Do you know of a good book/website that describes how to use User32?
Thanks for the great support
- Marcus Tettmar
- Site Admin
- Posts: 7395
- Joined: Thu Sep 19, 2002 3:00 pm
- Location: Dorset, UK
- Contact:
>What is FindWindow/FindWindowEx?
FindWindowA and FindWindowEx are functions of User32.
>Do you know of a good book/website that describes how to
>use User32?
http://www.microsoft.com
FindWindowA and FindWindowEx are functions of User32.
>Do you know of a good book/website that describes how to
>use User32?
http://www.microsoft.com
Marcus Tettmar
http://mjtnet.com/blog/ | http://twitter.com/marcustettmar
Did you know we are now offering affordable monthly subscriptions for Macro Scheduler Standard?
http://mjtnet.com/blog/ | http://twitter.com/marcustettmar
Did you know we are now offering affordable monthly subscriptions for Macro Scheduler Standard?
Hi sailor dude,
Did you Search the forums here for FindWindowEx? I just did and found a handful of posts, some with examples. Here are a few you might find helpful:
Thanks and take care
Did you Search the forums here for FindWindowEx? I just did and found a handful of posts, some with examples. Here are a few you might find helpful:
- Any limitation on how "deep" you can walk controls
Would like to avoid using FindImage or WaitPixelColor...
Better ability to grab windows
Thanks and take care
jpuziano
Note: If anyone else on the planet would find the following useful...
[Open] PlayWav command that plays from embedded script data
...then please add your thoughts/support at the above post -
Note: If anyone else on the planet would find the following useful...
[Open] PlayWav command that plays from embedded script data
...then please add your thoughts/support at the above post -

-
- Pro Scripter
- Posts: 50
- Joined: Fri Jan 20, 2006 10:43 pm
Thanks jpuziano
I did find a helpful link to using API calls besides Microsoft.
http://allapi.mentalis.org/agnet/apiguide.shtml
Thanks again
http://allapi.mentalis.org/agnet/apiguide.shtml
Thanks again
Hi sailor dude,
I just installed their free APIGuide. It looks like it was developed to help Visual Basic programmers use API calls (examples for 900+ API functions are in Visual Basic code) but it should be helpful for us as well.
We can only
dream
that one day, such a resource might be available with examples showing how to call hundreds of API functions from MacroScript. Until then, reading these forums is the best way I know of to keep learning more.
Thanks for sharing that link and take care.
I just installed their free APIGuide. It looks like it was developed to help Visual Basic programmers use API calls (examples for 900+ API functions are in Visual Basic code) but it should be helpful for us as well.
We can only


Thanks for sharing that link and take care.
jpuziano
Note: If anyone else on the planet would find the following useful...
[Open] PlayWav command that plays from embedded script data
...then please add your thoughts/support at the above post -
Note: If anyone else on the planet would find the following useful...
[Open] PlayWav command that plays from embedded script data
...then please add your thoughts/support at the above post -
