ShellExecute("D:\OPEN_FIRST\OPEN_FIRST.pdf") WinWaitActive("OPEN_FIRST.pdf") WinSetState("OPEN_FIRST.pdf", "", @SW_MAXIMIZE)