LibreOffice 24.8 Help
Pokretanje druge aplikacije i definiranje odgovarajuceg stila prozora, ako je potrebno.
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 | Fokus je na skrivenom prozoru programa. | 
| 1 | Fokus je na prozoru programa u standardnoj velicini. Not implemented in LibreOffice. | 
| 2 | Fokus je na minimiziranom prozoru programa. | 
| 3 | Fokus je na maksimiziranom prozoru programa. | 
| 4 | Standardna velicina prozora programa, bez fokusa. Not implemented in LibreOffice. | 
| 6 | Minimizirani prozor programa, fokus ostaje na aktivnom prozoru. Not implemented in LibreOffice. | 
| 10 | Puni prikaz. | 
Windowstyle 3 and 10 are equivalent in Windows systems.
String that specifies additional arguments passed to the program.
Ako je ova vrijednost stavljena na true, the Shell komanda i sve LibreOffice zadaci cekaju dok shell proces ne završi. Ako je vrijednost postavljena nafalse, konzola vraca direktno. Zadana vrijednost je false.
Sub ExampleShellForWin
    Shell("c:\windows\calc.exe",2)
End Sub