From 61173c1b58efa79c0ba6b08348d2796a249d0186 Mon Sep 17 00:00:00 2001 From: Norbert Thiebaud Date: Sat, 1 Sep 2012 09:51:27 -0500 Subject: move help structure one directory up Change-Id: Ie970e39fbb6795a92d9fdd13510409d7dcd071bc --- source/text/sbasic/shared/03130500.xhp | 128 +++++++++++++++++++++++++++++++++ 1 file changed, 128 insertions(+) create mode 100644 source/text/sbasic/shared/03130500.xhp (limited to 'source/text/sbasic/shared/03130500.xhp') diff --git a/source/text/sbasic/shared/03130500.xhp b/source/text/sbasic/shared/03130500.xhp new file mode 100644 index 0000000000..82ac7a14f9 --- /dev/null +++ b/source/text/sbasic/shared/03130500.xhp @@ -0,0 +1,128 @@ + + + + + + + + +Shell Function [Runtime] +/text/sbasic/shared/03130500.xhp + + +Sun Microsystems, Inc. +converted from old format - fpe + + + +
+Shell function + +Shell Function [Runtime] +Starts another application and defines the respective window style, if necessary. +
+Syntax +Shell (Pathname As String[, Windowstyle As Integer][, Param As String][, bSync]) +Parameter +Pathname +Complete path and program name of the program that you want to start. +Windowstyle +Optional integer expression that specifies the style of the window that the program is executed in. The following values are possible: + + + +0 + + +The focus is on the hidden program window. + + + + +1 + + +The focus is on the program window in standard size. + + + + +2 + + +The focus is on the minimized program window. + + + + +3 + + +focus is on the maximized program window. + + + + +4 + + +Standard size program window, without focus. + + + + +6 + + +Minimized program window, focus remains on the active window. + + + + +10 + + +Full-screen display. + + +
+ +Param +Any string expression that specifies the command line that want to pass. +bSync +If this value is set to true, the Shell command and all $[officename] tasks wait until the shell process completes. If the value is set to false, the shell returns directly. The default value is false. + + + + +Example +Sub ExampleShellForWin + Shell("c:\windows\calc.exe",2) +end sub + +
-- cgit