Home

About Us

Books

Free Stuff

Oh, So That's How It Works!

Fellow Magicians

Useful Links



WizardWrx Logo

Free Stuff
Some Fun and Some Serious

 

Overview

Name:

P6_P6PickWindow

Purpose:

Snag the caption (title) of any active window.

Version:

1.1

Author:

David Gray, MBA, of Simple Soft Services, Inc., d/b/a WizardWrx

Copyright:

© 2001, 2003, P6 Publishing Company; 2006, Simple Soft Services, Inc., d/b/a WizardWrx. All rights reserved world wide.

Syntax:

P6PickWindow

The program can be run from a shortcut and operates interactively, displaying a list of all active windows, including hidden windows, from which you select the one whose caption (title) you want on the clipboard. This makes child's play of capturing captions from windows that contain strange characters and from hidden windows, of which there are many.

How to Use It

When you launch the program from a command prompt, a shortcut, or the Windows Explorer, after a few seconds, a list similar to the one shown in Figure 1 below displays.

Figure 1

Figure 1 - List of all active windows, both visible and hidden.

Use the mouse or the up and down arrows to select (highlight) the window whose caption (title) you want to capture. Figure 2 shows the AcrobatTrayIcon window selected.

Figure 2

Figure 2 - List of all active windows, showing the AcrobatTrayIcon window selected.

When you click the OK button, the selected caption is placed on the Windows clipboard for you to use as you see fit. A message box similar to Figure 3 serves as a confirmation.

Figure 3

Figure 3 - Confirmation message box indicating that the window caption "AcrobatTrayIcon" caption was successfully captured.

You are now free to paste the text into your favorite programmer's editor, Microsoft Word, or any other program that accepts text from the Windows Clipboard.

To capture another window caption, you must run the program again.

In rare circumstances, the clipboard paste operation will fail. In that event, you will receive a message similar to Figure 4.

Figure 4

Figure 4 - Alert message box indicating that the window caption "AcrobatTrayIcon" caption capture failed.

Should this happen, wait a moment or two and repeat the operation. We have seen these failures occur fairly consistenly immediately following a cut and paste operation in Windows Explorer. Since such operations use the Windows clipboard to store the list of files to copy, we theorize that the clipboard is left in a temporarily unusable state. Though we can reproduce the problem at will, we have yet to find a cure, other than time and a few intervening operations that avoid the clipboard.

Contents of This Package

The table below lists all the files that come in this package.

File Name

Purpose and Other Notes

P6PickWindow.EXE

This is the main program. This file nay go anywhere, so long as the support DLL goes in the same directory.

P6PickWindow.htm

This document, formatted for viewing in any Web browser that supports tables.

wbdCI34i.dll

WIL language run-time DLL.

P6Consulting.CSS

Cascading Style Sheet to accompany P6PickWindow.htm.

/images

Folder containing images to accompany P6PickWindow.htm.

Though you may copy and run P6PickWindow.EXE anywhere, the WIL language run-time DLL wbdCI34i.dll, must accompany it.

Note: Unless explicitly stated otherwise in the documentation, we recommend that you install of our utilities into the same directory because they use a common set of DLLs. When you install more of our utilities, you will be prompted to overwite one or more DLLs and two images that accompany the documentation. Please allow the updates; like named DLLs have been tested with the entire collection and found to work correctly.

Development History

The table below gives a brief development history of this program.

Date

By Whom

Version

Remarks

05/23/2001

DAG

1.0

Initial release (experimental – in house use only).

06/22/2003

DAG

1.1

Initial Public Release.

Support

This software is freeware. However, in the unlikely event that you need support, you may make your request by email. Please use this form to contact us. Your inquiry will be handled on a best efforts basis, and any information you send us about your specific situation will be treated as confidential. We do, however, reserve the right to incorporate any ideas we get from our correspondence with you into future versions of P6PickWindow or other software either for internal use or for sale. Should we do so, we shall give full credit to its source in the accompanying documentation.

Download your free copy here.

The MD5 digest of this file is f55691dd77935355c130b3d408d36569. You can use MD5WIN to verify the MD5 digest of this and other files.

WizardWrx Home page www.wizardwrx.com.

P6PickWindow Home Page Other Free Stuff

P6C Contact Info

Copyright and Legal Notice