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