home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC Shareware 1997 September
/
PCShareware-9-97.iso
/
programy
/
copytext
/
readme.txt
< prev
Wrap
Text File
|
1997-08-02
|
4KB
|
106 lines
What is CopyText?
=================
It is a tiny program that allows you pick up text from different window
areas - window caption, buttons, listboxes, etc. You just select
the item to copy from a popup menu, and mr.CopyText places the text of
the item into clipboard and quits.
CopyText can also do some tricks with windows:
- Enable/Disable and Show/Hide windows and controls. (Be careful with
that: some programs may become unusable until restart.)
- Maximize ANY window (even child control) or Restore its normal size.
- Place an aplication window permanently on top of all others
or revert it back to overlappable state.
How to use
==========
You need to make a shortcut to CopyText.exe (e.g. by dragging CopyText
icon onto your desktop) and assign some hotkey to this shortcut
(I suggest Ctrl+Alt+T). Keyboard shortcut could be assigned via
Properties dialog (use `Shortcut key' field at `Shortcut' Tab panel).
After that you can CopyText as follows:
- position mouse cursor over the window or child control
- press Ctrl+Alt+T (or whatever key you have assigned)
- make selection from menu with mouse or keyboard
CopyText shows the menu, which looks as follows:
Text | These commands copy window text(caption),
List | listbox/combobox items,
Rectangle | window posistion and size,
Class | window class name,
Window handle | or handle to clipboard
dialog ID |
-------------------------| - - - - - - - - - - - - - - - - - - -
Parent(Original window) | These are to select another window
next(first) sibling> | having the designated relationship
<prev.(last) sibling | to the original. Some item names may
First child | differ or may be disabled.
-------------------------| - - - - - - - - - - - - - - - - - - -
Disable(Enable) | Apply the command to selected window
Hide(Show) |
Maximize(Restore) |
Always on top(Not on top)|
-------------------------| - - - - - - - - - - - - - - - - - - -
About | Who is the author
Tips
====
Need to get the title/menu of main application window?
Place mouse cursor over its CAPTION and hit the shortcut key.
Get all lines from ComboBox (also known as DropDown list)
The best place to put mouse cursor is on the arrow at the left side.
You can temporarily hide all icons from the desktop:
Minimize all windows, call CopyText, choose Hide
Possible enhancements
=====================
Here are some features not currently implemented in CopyText:
- copying from Windows 95 common controls:
SysHeader32, SysListView32, SysTreeView32, ...?
(I tried to make it, but it has no effect or even cause programs
to crash. May be it will work from DLL?)
- copying window menu or system menu items to clipboard
- resizing maximized windows to take all parent's place
- sub-menus Parent(s)/Siblings/Children instead of menu items with
complete lists of the corresponding windows
- if it exists, a better way to get listbox items. The standard
method involving LB_GETTEXT message works only on 50% of listboxes
If you have comments, tips or suggestions, you may e-mail them to
vsap@pair.com
Only your appreciation could inspire further improving of CopyText.
Known problems
==============
CopyText can't be used to spot any child control in MS Excel and like:
it seems, Excel implements window managemant entirely of its own. The
result is that only top-level Excel windows could be manipulated with.
CopyText status
===============
This program is freeware. Anyone can distribute, modify it, and use it
on his own risk. The author takes no responsibility for the results.
Source code (approx 600 lines in C) is available at
ftp://ftp10.pair.com/pub/vsap/CopyText_src.zip
Web page
http://www10.pair.com/vsap/FreeSoft.html
Victor Sapognikov (vsap@pair.com) * 2 August'97