home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
swCHIP 1991 January
/
swCHIP_95-1.bin
/
utility
/
grpini
/
grped13
/
grouped.doc
next >
Wrap
Text File
|
1995-12-09
|
6KB
|
144 lines
94.08.01
Group Editor 1.3
----------------
Description
-----------
Group Editor is a Windows 3.1 application to edit Program Manager
.GRP files.
Installation
------------
1. Install GROUPED.EXE in the directory of your choice. That's all.
2. Run Group Editor directly with Program Manager's "File | Run"
command or add it to an existing program group with Program
Manager's "File | New" command and run it by double-clicking
the icon.
3. De-install GROUPED.EXE by deleting the file.
How to Use Group Editor
-----------------------
The initial dialog box lists the existing program Manager .grp group
files. Select a group to edit. The next dialog box lists all of the
icons in the group and beside the list, one of 4 sets of parameters.
Select a set of parameters to edit and then select 1 or more
strings in the set to edit. Enter the 'search string' and the
'replace string' and press 'Apply Edit'. To replace just the
blank entries, select the 'blank' radio button. If you don't
care what the current value is and just want to erase it and
replace it with a new value, select the 'anything' radio button.
You may perform as many edits as you wish. Nothing is actually
updated in the .GRP file until you press the 'Update' button.
Note: If the application .EXE file has been moved and you are changing
the pathname of the executable, you *MUST* also change the
pathname of the icon. Otherwise, when you update, the
application pathname will be correct, but the icon pathname
will be incorrect. Program Manager won't be able to find
the icon and will substitute a default (ugly) icon.
Note: If more than one icon has the same title, Program Manager
will modify the first one it finds. There doesn't seem to
be any way I can get around this, since the API only allows
the item to be specified by the 'title'.
Why I Wrote Group Editor
------------------------
I have a group of ~20 DOS applications that have no file selection
mechanism or options (they know which files to look for and they know
what to do with them so there is little need for interaction).
Traditionally the user uses 'cd' to go to the appropriate 'working'
directory and then executes the programs from the DOS prompt.
In other words, the 'current' directory is the 'working directory'.
To work on a different set of files, just 'cd' to another directory and
and execute the program.
Obviously, running these programs from Windows requires that the
'working directory' be changed for the whole suite of programs each
time the user wants to work on a different set of files in another
directory. Group Editor allows the working directory of the entire
group of programs to be changed in one single edit. This is much easier
& faster than using Program Manager's "File | Properties" command on
every single icon.
How it Works
------------
Group Editor communicates via DDE with Program Manager to obtain a list
of all of the program groups. When a group is selected, another DDE
exchange obtains information about all of the icons in the selected
group. When all edits are complete, it updates the information in the
.GRP file by another DDE conversation with Program Manager.
Note that Group Editor does not read or write or modify the .GRP files
directly. It communicates with Program Manager at a higher level.
Other applications similar to Group Editor access the .GRP files
directly, performing their own checksums and relying on less than
adequate documentation of the format of the .GRP files. It is hoped
that Group Editor is a more enduring and portable form of this type
of application.
History
-------
Version Date Comments
-----------------------------------------------------------
1.0 93.10.24 initial release
1.1 93.11.18 Fixed bug in displaying groups with a large number
of icons (> 40).
The search/replace strings are now preserved
between group edits (but not when you exit Group
Editor). This makes it easy to change the same
thing in several groups without re-entering the
strings.
The 'Apply Edit' button is now enabled more readily
as you enter search/replace strings.
When you press 'Update', each item is highlighted in
the listbox as it is updated with Program Manager.
Accented characters were not lower-cased correctly.
I Fixed this by using AnsiLower() instead of strlwr().
1.2 94.08.01 Several users have noted that the group is not always
updated. Perhaps this was because I incorrectly 'showed'
the group before starting the update. This should be
ok now.
You can now replace a string with blank.
Added 'Note' (above) to remind users to change both
the application AND icon pathnames if the application
.EXE has moved to another directory. If this is not done,
Program Manager will 'lose' the icon.
Added warning that only the first icon 'found' will be
used if there are 2 icons with the same title.
1.3 95.03.28 Added support for CTL3DV2.DLL to draw '3D' dialog boxes.
If it exists (in the ...\windows\system directory), it is
used, otherwise it continues without error.
Most people already have CTL3DV2.DLL on their system so
it is not distributed with Group Editor. If you don't
have it, you can get it from ftp.microsoft.com (file
/softlib/mslfiles/ctl3d.exe).
Cost of Group Editor
--------------------
Group Editor is a FREE application. Use and distribute as you wish,
with my compliments and with absolutely no restrictions. If you like
it, you can buy me a beer the next time you're in Ottawa.
John A. Grant
Geological Survey of Canada
Mineral Resources Division
Airborne Geophysics Section
601 Booth St., Room 591
Ottawa, Ontario, K1A 0E8
Internet: jagrant@gsc.emr.ca
Voice: (613) 992-1082