Hi All This is my first post to this forum, It is early days for me using Autoit as well so I guess I am asking pretty basic questions. Anyway I hope someone may be able to point me in the right direction. I tried the following: (However I am at a loss to determine how 5782 was found) If ProcessExists('MsWin.exe') Then If WinWait("[CLASS:MetaStockMainWnd]", "", 2) Then ;     $hWin = WinGetHandle("[CLASS:MetaStockMainWnd]") ; ;ControlCommand("", "", "ToolbarWindow324", "SendCo