Windows 7 process to run a refresh automatically?


New Member
Hi folks,
We use a bespoke piece of helpdesk software; unsure what's it written in but in it's own window (when active) the F9 key refreshes the list of tickets in the queue. Could someone please point me in the right direction to perhaps a piece of code or process or little application that could be running in the background that activates the window (behind the scenes) then refreshes every few seconds automatically. The helpdesk window is just one of a few windows or browsers that are open on our machines at any one time.
thanks in advance,


New Member
All you should need is FindWindow and SendMessage functions from User32.dll

Reference for those functions the interop wiki!

Sample Code
c# Sending keyboard commands to another window / process

GREAT!!! much appreciated

i also created this .vbs file in notepad after a bit of trial and error

Option Explicit
Dim WshShell

Set WshShell = WScript.CreateObject("WScript.Shell")

WshShell.AppActivate "program.exe"
WshShell.SendKeys "{F9}"
WScript.Sleep (1000 * 10)
Last edited: