How do I cause an F4 keypress?

My code is:

if a_runtot <> 0 then
update a_factor with frame bill.

if a_runtot = 0 then
do:
update a_runtot with frame bill.
wink2 = wink1 - a_runtot.

assign a_startrun = wink2.
display "Press F4" with frame bill.
end.
update a_factor with frame bill.

wink1 = a_startrun + a_factor.
end.


I get the desired effect (not important) if I ask the user to press F4,
How can I have my code press it automatically?
 
Back
Top