|
Machine object
Machine global object SyntaxA Machine global object is created for you and is only this object can exist in the application. It is named Machine and is globally accessible. Parametersnone. Property Ofglobal name space Implemented InECMerge 2.1 DescriptionThe Machine global object gives a few information about the computer on which the script is executed. Properties
MethodsExamplesExample 1.Logs the version information for the current machine:
See Also
Method escape_for_command_lineSyntaxfunction Machine.escape_for_command_line (argument)
Parametersargument. String. A text expected to be passed as argument to the command line of a program Method OfMachine object. Implemented InECMerge 2.1 DescriptionThis method escapes appropriately the text of argument so that you can concatenate it to a command line string. ExamplesExample 1.This sample creates a converter which needs redirected
I/O and sets the arguments of the built-in 'stdioconv'
converter using escape_for_command_line:
See Also
Method whichSyntax
function which (filename)
Parametersfilename. String. Name of file to be searched Method OfMachine object. Implemented InECMerge 2.1 DescriptionThis function searches a file which given filename in the directories given by the PATH variable, as would do the "which" command of Unix. The operating system does a similar operation when you enter a program filename to execute on the command line. ExamplesExample 1.The following example searches the path for the GUI version
of merge:
See Also
|
|||||||||