ShellExecute("Explorer.exe", "D:\", "", "", @SW_MAXIMIZE) ShellExecute("D:\contenido.pdf") WinWait("contenido.pdf") WinSetState("contenido.pdf", "", @SW_MAXIMIZE) WinActivate("contenido.pdf")