Helpo de LibreOfficeDev 25.8
Startigas alian aplikaĵon kaj difinas la respektivan fenestran stilon, se necese.
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 | La kaŝita programa fenestro estas enfokusigita. | 
| 1 | La programa fenestro en normala grando estas enfokusigita. Not implemented in LibreOfficeDev. | 
| 2 | La minimumigita programa fenestro estas enfokusigita. | 
| 3 | la maksimumigita programa fenestro estas enfokusigita. | 
| 4 | Programa fenestro ordinare granda, elfokusigita. Not implemented in LibreOfficeDev. | 
| 6 | Minimumigita programa fenestro, la aktiva fenestro ankoraŭ estas enfokusigita. Not implemented in LibreOfficeDev. | 
| 10 | Tutekrana vidigo. | 
Windowstyle 3 and 10 are equivalent in Windows systems.
String that specifies additional arguments passed to the program.
Se ĉi tiu valoro estas atribuita al true, la komando Shell kaj ĉiuj taskoj de LibreOfficeDev atendos ĝis kiam finis la ŝela proceduro. Se la valoro estas atribuita al false, la ŝelo revenos rekte. La apriora valoro estas false.
Sub ExampleShellForWin
    Shell("c:\windows\calc.exe",2)
End Sub