LibreOffice 25.2 abi
Käivitab muu rakenduse ja määrab vajaduse korral vastava aknalaadi.
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 | Tähendus | 
|---|---|
| 0 | Fookus on peidetud programmiaknal. | 
| 1 | Fookus on standardsuurusega programmiaknal. Not implemented in LibreOffice. | 
| 2 | Fookus on minimeeritud programmiaknal. | 
| 3 | Fookus on maksimeeritud programmiaknal. | 
| 4 | Standardsuurusega programmiaken, ilme fookuseta. Not implemented in LibreOffice. | 
| 6 | Minimeeritud programmiaken, fookus jääb aktiivsele aknale. Not implemented in LibreOffice. | 
| 10 | Täisekraankuva. | 
Windowstyle 3 and 10 are equivalent in Windows systems.
String that specifies additional arguments passed to the program.
Kui selleks väärtuseks on seatud tõene, siis ootavad käsk Shell ja kõik programmi LibreOffice ülesanded kestaprotsessi lõpulejõudmist. Kui väärtuseks on seatud väär, siis tagastab kest kohe. Vaikimisi väärtus on väär.
Sub ExampleShellForWin
    Shell("c:\windows\calc.exe",2)
End Sub