Previous Document Next Document

Object Model Reference : Classes : C : CorelScriptTools : Methods : CorelScriptTools.GetCommandLine


CorelScriptTools.GetCommandLine

Function GetCommandLine() As String

Description

Member of CorelScriptTools

The GetCommandLine method returns the parameters used in the command line that launch a script. To test this command, specify a command line in the Command Line text box in the Options dialog box of the Corel SCRIPT Editor (click Tools } Options, and the click the Environment tab).

The GetCommandLine method returns a string variable that is passed the command line parameters.

Example

The following VBA example returns CommandLine:

CommandLine$ = GETCOMMANDLINE ( )

Previous Document Next Document Back to Top

Copyright 2013 Corel Corporation. All rights reserved.