Then my advice stands, see also Win32::GuiTest::Examples.
In reply to Re^3: Sending Function Keys(F1-F12) to application? by marto in thread Sending Function Keys(F1-F12) to application? by srlbharu