PFMBTO
Richard Kreiss
rkreiss at gccconsulting.net
Tue May 22 17:28:52 PDT 2018
Tested again setting PFMBTO from a menu command script
@echo off
Set PFMBTO=5
Dclerk test -s0 -xia -h "test of PFMBTO"
Commented out the putenv line but added a debug on when @keyT ran.
When this option runs, with debug, the first msgbox clears and the second pops up and clears after 5 seconds. The @keyT routine then ends.
I note two things:
1. PFMBTO take a time value in seconds and not milliseconds
2. Depending where it is set, the programming can be effected.
I would suggest setting this this variable from the command script or @once to implement this option for all popups. Otherwise use putenv "PFMBto,time" before the popup you want to clear. Just remember to use putenv "PFMBTO" with no parameters to clear the option. Otherwise all msgbox()'s will clear in the programmed time. Not sure what the blank time option will do AS I HAVEN'T TESTED IT.
Richard Kreiss
GCC Consulting
> -----Original Message-----
> From: Robert Haussmann [mailto:haussma at nextdimension.net]
> Sent: Tuesday, May 22, 2018 8:03 PM
> To: Richard Kreiss <rkreiss at gccconsulting.net>; Josh Reader
> <josh.reader at mercuryelectronics.com>; 'Filepro List' <filepro-
> list at celestial.com>
> Subject: RE: PFMBTO
>
> Thanks Richard. Does the first message clear if you remove the "putenv"
> command and run the processing from an environment that has this variable
> set? Also, are you able to determine if the entire processing table stopped after
> that timeout, or just the @keyT processing?
>
> Bob
>
> > -----Original Message-----
> > From: Filepro-list [mailto:filepro-list-
> > bounces+haussma=nextdimension.net at lists.celestial.com] On Behalf Of
> > Richard Kreiss via Filepro-list
> > Sent: Tuesday, May 22, 2018 8:00 PM
> > To: Josh Reader <josh.reader at mercuryelectronics.com>; 'filepro-
> > list at lists.celestial.com' <filepro-list at lists.celestial.com>
> > Subject: RE: PFMBTO
> >
> > I just tested this using Windows version rclerk 5.8.3.15 and it
> > cleared the MSGBOX;. Note however that when the msgbox() closed the
> routine ended.
> > I ran this from @keyT.
> >
> > @keyT: "Test Routine"
> > If:
> > Then: putenv
> > PFMBTO","5";MSGBOX "Testing PFMBTO at 5 seconds"
> > If:
> > THEN: Msgbox "PFMBTO ran and cloied the msgbox()"
> > If:
> > Then: END
> >
> > The second msgbox mnever ran.
> >
> >
> > Richard Kreiss
> > GCC Consulting
> >
> >
> > > -----Original Message-----
> > > From: Filepro-list [mailto:filepro-list-
> > > bounces+rkreiss=verizon.net at lists.celestial.com] On Behalf Of Josh
> > > bounces+Reader via
> > > Filepro-list
> > > Sent: Tuesday, May 22, 2018 12:50 PM
> > > To: filepro-list at lists.celestial.com
> > > Subject: RE: PFMBTO
> > >
> > > I'm using 5.8.02.08D6 on CentOS 7. In my below sample I didn't show
> > > that I have an end command on the next line after the msgbox command.
> > >
> > > Josh
> > >
> > > -----Original Message-----
> > > From: Filepro-list <filepro-list-
> > > bounces+josh.reader=mercuryelectronics.com at lists.celestial.com> On
> > > bounces+Behalf
> > > Of Bruce Easton via Filepro-list
> > > Sent: Tuesday, May 22, 2018 12:46 PM
> > > To: filepro-list at lists.celestial.com
> > > Subject: Re: PFMBTO
> > >
> > > Bob Haussmann
> > > Richard Kreiss
> > > Josh Reader
> > >
> > > What versions of filepro have you tested PFMBTO under???
> > >
> > > On 5/22/18 12:19 PM, Josh Reader via Filepro-list wrote:
> > > > Hi Bob,
> > > >
> > > > I just did the following in test and it worked to close the "test"
> > > > message box in
> > > 5 seconds automatically.
> > > >
> > > > If:
> > > > Then: PUTENV "PFMBTO","5"
> > > > If:
> > > > Then: msgbox "test"
> > > >
> > > > Does anyone know if a similar environment variable exists to do
> > > > the same
> > > thing with browse lookups? For instance the table in filePro that
> > > has our customer orders in it has programming using a browse lookup
> > > to press I to view inspections associated with the order. Sometimes
> > > that is left open by an end user who walks away from their desk and
> > > causes a lock on the record so it can't be updated.
> > > >
> > > > Thanks,
> > > > Josh
> > > >
> > > >
> > > > -----Original Message-----
> > > > From: Filepro-list
> > > > <filepro-list-bounces+josh.reader=mercuryelectronics.com at lists.cel
> > > > es ti al.com> On Behalf Of Robert Haussmann via Filepro-list
> > > > Sent: Friday, May 18, 2018 3:01 PM
> > > > To: 'Filepro List' <filepro-list at celestial.com>
> > > > Subject: PFMBTO
> > > >
> > > > Does anyone use the PFMBTO environmental variable? It's my
> > > > understanding
> > > that if I set this to say 5, any MSGBOX message should clear itself
> > > in 5
> > seconds.
> > > When running in a batch situation, this would keep the processing
> > > from halting (waiting for user import), correct? I can't seem to
> > > make this work, and am wondering if my expectations are not correct.
> > > >
> > > > If I run the following batch file, it should complete without any
> > > > user
> > > intervention, correct? (no need for the user to press ENTER):
> > > >
> > > > SET PFMBTO=5
> > > > \fp\rreport test -fp test -a
> > > >
> > > > (test.prc has a single line: MSGBOX "Test record"<@rn)
> > > >
> > > > What could I be doing wrong? Also, is there any equivalent
> > > > timeout variable
> > > that would work for ERRORBOX as well as /instead of MSGBOX?
> > > >
> > > > Thanks,
> > > > Bob
> > > >
> > > >
> > > > -------------- next part -------------- An HTML attachment was
> > > > scrubbed...
> > > > URL:
> > > > <http://mailman.celestial.com/pipermail/filepro-list/attachments/2
> > > > 01
> > > > 80
> > > > 518/6604bebd/attachment.html>
> > > > _______________________________________________
> > > > Filepro-list mailing list
> > > > Filepro-list at lists.celestial.com
> > > > Subscribe/Unsubscribe/Subscription Changes
> > > > http://mailman.celestial.com/mailman/listinfo/filepro-list
> > > > _______________________________________________
> > > > Filepro-list mailing list
> > > > Filepro-list at lists.celestial.com
> > > > Subscribe/Unsubscribe/Subscription Changes
> > > > http://mailman.celestial.com/mailman/listinfo/filepro-list
> > > >
> > >
> > >
> > >
> > > ---
> > > This email has been checked for viruses by Avast antivirus software.
> > > https://www.avast.com/antivirus
> > >
> > > _______________________________________________
> > > Filepro-list mailing list
> > > Filepro-list at lists.celestial.com
> > > Subscribe/Unsubscribe/Subscription Changes
> > > http://mailman.celestial.com/mailman/listinfo/filepro-list
> > > _______________________________________________
> > > Filepro-list mailing list
> > > Filepro-list at lists.celestial.com
> > > Subscribe/Unsubscribe/Subscription Changes
> > > http://mailman.celestial.com/mailman/listinfo/filepro-list
> > -------------- next part -------------- A non-text attachment was
> > scrubbed...
> > Name: winmail.dat
> > Type: application/ms-tnef
> > Size: 14827 bytes
> > Desc: not available
> > URL: <http://mailman.celestial.com/pipermail/filepro-
> > list/attachments/20180523/2917d4df/attachment.bin>
> > _______________________________________________
> > Filepro-list mailing list
> > Filepro-list at lists.celestial.com
> > Subscribe/Unsubscribe/Subscription Changes
> > http://mailman.celestial.com/mailman/listinfo/filepro-list
More information about the Filepro-list
mailing list