I have an application that runs in an industrial computer without keyboard. The application performs a do while loop that stops if you click on the F5 key. The screen is small and you can not use the virtual keyboard of windows.
I created an app with a button that sends the command F5. This is the code but does not work ,the application passes in the foreground but the Keyboard command does nothing any ideas how to solve
Thank you
Luigi
I created an app with a button that sends the command F5. This is the code but does not work ,the application passes in the foreground but the Keyboard command does nothing any ideas how to solve
Code:
DECLARE INTEGER FindWindow IN win32API STRING @ cClass, STRING @ cTitle
DECLARE LONG BringWindowToTop IN Win32API LONG
nhwnd=FindWindow(0,"Lettura sensori")
BringWindowToTop(nhwnd)
KEYBOARD "{F5}"
Thank you
Luigi