If not WinExists("The World Bank Annual Report 2004") Then Run("D:\Setup.exe") Sleep(5000) Else WinActivate("The World Bank Annual Report 2004") EndIf ControlClick("The World Bank Annual Report 2004", "", "Button1")