Hi,
I want to develop a macro that needs the window name of a windows explorer window. I going to have windows explorer opened inside the path "My Documents\Encore", in any subdirectory inside of it, and I want to know the exact path, using its title window name. I have used the following command:
FindWindowWithText>My Documents\Encore,1,WindowName
The problem I have is that "WindowName" always have "NOT FOUND", How can I solve this?
Thanks,
Salvador Hernandez
How Do I Get Window Name?
Moderators: JRL, Dorian (MJT support)
How Do I Get Window Name?
Thanks,
Salvador Hernandez
Salvador Hernandez
- Bob Hansen
- Automation Wizard
- Posts: 2475
- Joined: Tue Sep 24, 2002 3:47 am
- Location: Salem, New Hampshire, US
- Contact:
I may be misunderstanding your problem, but I think you want to do something like this to get the name of the window. The name of the window is usually the name of the current address.
In Windows Explore, do the following.
View, Toolbars, AddressBars should be checked YES.
Press CTL-Home, Tab to go the address bar and it will be highlighted.
Press CTL-C to copy to clipboard.
Use GetClipboard> to create a variable, and put the path where you need it
In Windows Explore, do the following.
View, Toolbars, AddressBars should be checked YES.
Press CTL-Home, Tab to go the address bar and it will be highlighted.
Press CTL-C to copy to clipboard.
Use GetClipboard> to create a variable, and put the path where you need it
Hope this was helpful..................good luck,
Bob
A humble man and PROUD of it!
Bob
A humble man and PROUD of it!