Global context.BeginRunningApplication
BeginRunningApplication
Syntax
BeginRunningApplication(<CallbackDescription>, <CommandLine>, <CurrentDirectory>, <WaitForCompletion>)
Parameters
<CallbackDescription> (required)
Type: CallbackDescription. Contains description of the procedure which will be called upon completion with the following parameters:
- <CodeReturn> - the code of return, type Number or Undefined, if a relevant input parameter <WaitForCompletion> is not specified;
- <AdditionalParameters> - value specified when the CallbackDescription object was created.
<CommandLine> (required)
Type: String. Command line for launching the application or the file name associated with a given application.
<CurrentDirectory> (optional)
Type: String. Sets the current directory of the application being launched. Is ignored in in the web-client mode.
<WaitForCompletion> (optional)
Type: Boolean. True - wait for completion of running application before the work continues. Default value: False.
Description
Begins running an external application or opens an application file with associated name.
Availability
Thin client, web-client, mobile client, thick client, mobile application (client).
Note
To use the method on the web-client, you should preliminarily attach the extension for working with files. On the mobile platform for Windows, the <WaitForCompetion> parameter is ignored and the method returns the result once an application is started. If 1C:Enterprise is started in batch mode, or if the method is called on the server, an exception is generated.
See also
Translation
Русская версия: Глобальный контекст.НачатьЗапускПриложения (Global context.BeginRunningApplication)
No comments to display
No comments to display