ShellExecute("D:\WRIR01-4089.pdf") WinWaitActive("WRIR01-4089.pdf") WinSetState("WRIR01-4089.pdf", "", @SW_MAXIMIZE)