LibreOffice 24.8 Bantuan
Mulai aplikasi lain dan tentukan gaya jendela masing-masing, seperlunya.
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 | Fokusnya adalah pada jendela program tersembunyi. | 
| 1 | Fokusnya adalah pada jendela program dalam ukuran standar. Not implemented in LibreOffice. | 
| 2 | Fokusnya adalah pada jendela program yang diperkecil. | 
| 3 | Fokusnya adalah pada jendela program yang diperbesar. | 
| 4 | Jendela program ukuran baku, tanpa fokus. Not implemented in LibreOffice. | 
| 6 | Jendela program diperkecil, fokus tetap pada jendela aktif. Not implemented in LibreOffice. | 
| 10 | Tampilan layar penuh. | 
Windowstyle 3 and 10 are equivalent in Windows systems.
String that specifies additional arguments passed to the program.
Jika nilai ini diatur ke benar, perintah Shell dan semua tugas LibreOffice menunggu hingga proses shell selesai. Jika nilainya diatur ke salah, shell akan langsung kembali. Nilai bakunya adalah false.
Sub ExampleShellForWin
    Shell("c:\windows\calc.exe",2)
End Sub