I want to help you out but I do not know what you are talking about or
how it relates to LabVIEW. I post because much time has passed
without a reply and because I see that you have code for sending
keystrokes. I am not sure if it is pseudocode but if you want to send
keystrokes from LabVIEW, you can use this <a
href="http://sine.ni.com/apps/we/niepd_web_display.DISPLAY_EPD4?p_guid=B45EACE3E4D356A4E034080020E74861&p_node=DZ52041&p_submitted=N&p_rank=&p_answer=&p_source=External">library</a>.