LibreOffice 24.8 Help
다른 응용 프로그램을 시작하고 필요한 경우 각각의 창 스타일을 지정합니다.
Shell (Pathname As String[, Windowstyle As Integer[, Param As String[, bSync]]])
Name of the program that you want to start, optionally with complete path and/or arguments.
Optional integer expression that specifies the style of the window that the program is executed in.
Parameter Windowstyle is only effective on Windows systems. On other systems the parameter is ignored.
The following values are possible:
| Windowstyle | Meaning | 
|---|---|
| 0 | 초점이 숨겨진 프로그램 창에 있습니다. | 
| 1 | 초점이 표준 크기의 프로그램 창에 있습니다. Not implemented in LibreOffice. | 
| 2 | 초점이 최소화된 프로그램 창에 있습니다. | 
| 3 | 초점이 최대화된 프로그램 창에 있습니다. | 
| 4 | 초점 없이 프로그램 창이 표준 크기가 됩니다. Not implemented in LibreOffice. | 
| 6 | 초점이 활성 창에 있는 상태에서 프로그램 창이 최소화됩니다. Not implemented in LibreOffice. | 
| 10 | 전체 화면 표시입니다. | 
Windowstyle 3 and 10 are equivalent in Windows systems.
String that specifies additional arguments passed to the program.
이 값을 True로 설정할 경우 쉘 프로세스가 완료될 때까지 Shell 명령과 모든 LibreOffice 작업이 대기합니다. 이 값을 False로 설정할 경우 쉘이 바로 구해집니다. 기본값은 False입니다.
Sub ExampleShellForWin
    Shell("c:\windows\calc.exe",2)
End Sub