Control Content Saver
A lot of softwares give you some important informations or results in Listview or other controls,
but the trouble is developpers don't gave us a way to save these results.
This application tries to fill this lack.
You can grab other processes controls content: Listview, Listbox, Combobox, Password fields, Static and of course Edit fields.
It can work with all applications based on windows API, that means c++ (Visual or Borland), c# and VB apps;
but it won't work with java applications.
 
Last Update :   June 9 2007
Version :   1.2
Binaries & Doc : 
 Control Content Saver (Unicode) 170 Kb
 Control Content Saver (Ansi) 174 Kb
Sources : 
 Sources v1.2 205 Kb
Compatibility :   Windows
License :   Freeware under GPL license
Language :   C++
Status : 
 Maintained / Improvements if required Improvement Request 

User Manual
User Interface
Main window
First Drag the cross image on the control you want to select.
The control type will be automatically detected.

If control contains text, Control Content Saver will try to directly copy content into clipboard.
In case of success, a MessageBox containing the begin of text will appears, saying data are copied inside clipboard
Successfull Data Retreival
If the application fails to retreive data, the following message will appear
Data Retreival Error


For password fields, if you have deceided to show password, the following MessageBox will ask you if you want to hide it again
After Password Showing


For ListBoxes, ListView or ComboBox, you will be asked to choose a file for saving control content.
Save can be done in HTML, XML or TXT format.

After a successful saving, you will be asked if you want see results
Do you want to see results now ?

Example of an html explorer report view
NomTaille TypeDate de modification
resource Dossier de fichiers16/04/2007 15:45
About.cpp4 KoC++ Source19/04/2006 12:02
About.h3 KoC/C++ Header19/04/2006 13:20
ControlContentSaver.rc9 KoResource Script09/06/2007 17:03
ControlContentSaver.sln2 KoMicrosoft Visual Studio Solution19/04/2006 13:47
ControlContentSaver.vcproj10 KoVC++ Project08/06/2007 15:00
gpl.txt18 KoDocument texte03/02/2005 15:16
main.cpp24 KoC++ Source09/06/2007 00:07
RemoteCtrlContentSaver.cpp69 KoC++ Source09/06/2007 15:34
RemoteCtrlContentSaver.h5 KoC/C++ Header09/06/2007 15:41
resource.h2 KoC/C++ Header09/06/2007 00:07
XMLLikeConvert.cpp5 KoC++ Source02/04/2007 17:50
XMLLikeConvert.h2 KoC/C++ Header19/04/2006 13:21

Example of an txt export for an explorer treeview with "Save Only Expanded" option
Bureau
	Poste de travail
		WinXP (C:)
			Documents and Settings
			Program Files
			RECYCLER
			System Volume Information
			WINDOWS

		Lecteur CD (F:)
		Lecteur CD-RW (G:)
		TMP (T:)
		Panneau de configuration
		My Sharing Folders

	Favoris reseau
	Corbeille
        


Command Line Syntax

Command line syntax allow to save content without a dialog window.
No dialog will appear and application will stop as soon as the requested operation has been completed.
Application return 0 in case of success, -1 in case of error.

Options :
   Hwnd : Handle of the target window, in decimal or hexadecimal
   File : Output file name. According to its extension, saving will be done in html, xml, or txt (default if unknown extension).
   OnlySelected Optional : Save only selected item. Available only for ListView, TListView and ListBox, TreeView.
   OnlyColumns Optional : Allow to specify column number to save for ListView and TListView.
   OnlyExpanded Optional : Allow to save only expanded items of TreeView.

Example :
For a static/text/password : Hwnd=0x000D069A File="c:\out.txt"
For a ListBox : Hwnd=0x000D069A File="c:\out.html" OnlySelected
For a TreeView : Hwnd=0x000D069A File="c:\out.html" OnlyExpanded
For a ListView : Hwnd=0x000D069A File="c:\out.xml" OnlySelected OnlyColumns=1;3-9


Known Troubles
Report new bug
  - None Yet