2
특수 프로그램에서 파일을 열어야합니다. 예를 들어, 사무실 단어 인 경우 * .docx 파일을 열어야합니다.autoit을 사용하여 특수 프로그램에서 openfile을 사용하는 방법은 무엇입니까?
나는
Example()
Func Example()
; Run Notepad with the window maximized.
Local $iPID = Run("C:\Program Files (x86)\Microsoft Office\Office15\WINWORD.EXE", "", @SW_SHOWMAXIMIZED)
; Wait 10 seconds for the Notepad window to appear.
WinWait("[CLASS:winword]", "", 5)
; Wait for 2 seconds.
Sleep(2000)
; Close the Notepad process using the PID returned by Run.
ProcessClose($iPID)
EndFunc ;==>
어떻게 파일을 열 사무실을 실행하는 방법을 알아 낸?
Word 문서에 대한