Customizable menus

Jean-Pierre A. Radley appl at jpr.com
Fri Nov 4 14:37:43 PST 2005


John Esak propounded (on Fri, Nov 04, 2005 at 05:25:37PM -0500):
| Hi Joe,
| This isn't new. We have been putting variable names in our menus for as long
| as I can rmember... and in fact, I believe we've been doing it since before
| 5.0, as well.  In any case, the title holds far more than 8 characters... We
| have things like "NPI Management Menu - Mangers" and "Nexwest Mgt. Menu -
| Supervisors".
| 
| But, I think your idea is far more flexible...


Huh?  I just tried putting an environment variable in the titles of a
4.5 menu, and it is NOT dereferenced.  This might have changed in 4.8,
but I suspect 5.0.

| 
| 
| > -----Original Message-----
| > From: filepro-list-bounces at lists.celestial.com
| > [mailto:filepro-list-bounces at lists.celestial.com]On Behalf Of Joe Chasan
| > Sent: Friday, November 04, 2005 5:15 PM
| > To: Jeff Harrison
| > Cc: filepro-list at lists.celestial.com
| > Subject: Re: Customizable menus
| >
| >
| > 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
| > _______________________________________________
| > Filepro-list mailing list
| > Filepro-list at lists.celestial.com
| > http://mailman.celestial.com/mailman/listinfo/filepro-list
| 
| _______________________________________________
| Filepro-list mailing list
| Filepro-list at lists.celestial.com
| http://mailman.celestial.com/mailman/listinfo/filepro-list

-- 
JP


More information about the Filepro-list mailing list