LibreOffice 25.2 Help
რთავს პროგრამას და საჭიროების მიხედვით განსაზღვრავს შესაბამისი ფანჯრების სტილს.
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.
თუ ეს მნიშვნელობა დაყენებულია როგორც true, გარსის ბრძანება და ყველა LibreOffice დავალებები იცდიან, გარსის დამთავრებამდე. თუ მნიშვნელობა დაყენებულია როგორც false, მაშინ გარსი პირდაპირ აბრუნებს ბრძანებებს. საწყისი მნიშვნელობა არის false.
Sub ExampleShellForWin
    Shell("c:\windows\calc.exe",2)
End Sub