Hello I have a script running that uses "objget( excel.application )" to get the name of an open document: $Kundenbestand = ObjGet("", "Excel.Application") $Kundenbestand.Visible = 1 ; $sText = WinGetTitle("[ACTIVE]") This code works fine, so I wanted to start it every night. But when the exe is startet by a "scheduled task" in Windows, the ObjGet does not work anymore. This is the error message: variable must be of type object Where is the difference, if I open the exe by hand or by a scheduled task?!? Anybody an idea? Sally