script to read or strip filePro menus
Bob Stockler
bob at trebor.iglou.com
Mon Sep 10 11:55:19 PDT 2007
fp at casabellagallery.com wrote (on Mon, Sep 10, 2007 at 09:55:47AM -0700):
| Does anyone have a script or utility that could be used to read
| or strip filePro menus?
|
| What I am looking for is a script that can be used to take a filePro
| menu and extract every menu option a line at a time. I would need to
| use these lines to import into a filePro file. If your script creates
| a plain text file which can then be read into filePro, I can use that
| too ...
|
| God I hope Bob Stockler reads this message !!! :)
On UNIX, Linux or Windows with filePro 5.6 installed, search for
the files named "copy_menu.pl" and "rename_menu.pl". These are
Perl program scripts used to copy or rename filePro User Menus.
They read filePro User Menus, collecting the Choice Characters,
Action Command Lines and Long Descriptions into arrays, which you
could use to then print them out as you desire.
Or search for "prc.me2" or "me2.prc" and look at the subroutines
Seg1 and Seg2, which read the first two newline terminated records
of a filePro User Menu to determine the Choice Characters, Action
Command Lines and Long Descriptions of a menu being edited. There
is also info in the subroutine "Doc".
Or, find and execute MENU EDIT II (it's distributed with filePro
5.6). It documents filePro User Menus with a lot of options -
you may choose to:
o - Use the default print command or change it.
o - Use the default output file or change it.
o - Output to the printer, a file, or both.
o - Document all features of a menu, or just selected ones.
MENU EDIT II is sorta hidden away in the filePro 5.6 distribution,
but if you search for "prc.me2" or "me2.prc" there will be, in the
same directory, either a shell script or batch file to kick it off.
If you don't have filePro 5.6, I can't help you (fPtech now has all
rights to MENU EDIT II).
Bob
--
Bob Stockler +-+ bob at trebor.iglou.com +-+ http://members.iglou.com/trebor
More information about the Filepro-list
mailing list