Customizable menus

Joe Chasan joe at magnatechonline.com
Fri Nov 4 14:14:36 PST 2005


On Fri, Nov 04, 2005 at 02:10:04PM -0800, Jeff Harrison wrote:
> --- William Randall <wrandall at fptech.com> wrote:
> 
> > 
> > ----- Original Message ----- 
> > From: "Jeff Harrison" <jeffaharrison at yahoo.com>
> > To: <filepro-list at lists.celestial.com>
> > Sent: Friday, November 04, 2005 4:42 PM
> > Subject: Customizable menus
> > 
> > 
> [snip]
> > >
> > > Here is the menu script, more or less, that I am
> > > running to do this currently:
> > >
> > > umask 000
> > > COMPANY="SEA_LLC.."; export COMPANY
> > >
> > > PFQUAL=bem; export PFQUAL
> > > sed "s/%.......%/${COMPANY}/"
> > > <$PFDIR/filepro/menuorig/menuname
> > >$PFMENU/menuname
> > >
> > 
> > You can add $COMPANY to the heading or version field
> > of any filePro 5.0 menu 
> > and it resolve the value.
> > 
> > Bill
> > 
> 
> Thanks Bill.  That will work.
> 
> Of course there are only 8 characters available there,
> and I like to put the menu name there... grumble
> grumble :-)  Anyway, that is much better than the
> alternative.  Thanks!

Since I had never heard of this new feature (THANKS BILL), my cheat
always as been to set PFNAME to some string - it then appears on top
right corner - works well if all your menu command lines have
valid filepro filenames as arguments.  you can then keep your menu
names, versions, dates, or whatever you put into that field.

--- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - ---
-Joe Chasan-                      Magnatech Business Systems, Inc.
joe at magnatechonline.com           Hicksville, NY - USA
http://www.MagnatechOnline.com    Tel.(516) 931-4444/Fax.(516) 931-1264


More information about the Filepro-list mailing list