LibreOffice 25.2 Help
Starts another application and defines the respective window style, if necessary.
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 | अर्थ | 
|---|---|
| 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.
If this value is set to true, the Shell command and all LibreOffice tasks wait until the shell process completes. If the value is set to false, the shell returns directly. The default value is false.
Sub ExampleShellForWin
    Shell("c:\windows\calc.exe",2)
End Sub