@wlf and F5

Fairlight fairlite at fairlite.com
Thu Jan 10 15:24:31 PST 2008


With neither thought nor caution, fp at casabellagallery.com blurted:
> Is there an un-documented way to capture F5 key without loosing its
> intended function?
>
> F5 key does not trigger @wlf nor @wuk ... but I wonder if there was a
> trick one could employ to make it happen.

Maybe?  WAITKEY or INKEY, then do the appropriate PUSHKEY after any
processing relevant to your check?

I'm not sure if:

1) You can use either of these at the appropriate place you need

-or-

2) You would trigger a recursive loop the second you did a PUSHKEY of the
same key.  If they coded it intelligently, you shouldn't.  If they didn't,
you might.  Just depends how PUSHKEY works...does it actually throw it back
to the input stream file descriptor, or does it just push it through the
engine further as if it had gotten past that point?

-or-

3) It's worth rewriting most of your processing input to handle this
situation, even for a field.  Because you'd have to pass through every
keystroke after checking the trapped value.

Just the first thought that came to mind.

mark->


More information about the Filepro-list mailing list