1) Sendkeys ("%F1") should be Sendkeys "%{F1}"2) It sends key to the active windows, thus, if you stock program is another stand alone program, it won't help.Try digging into Win32 API to program it.