Click or drag to resize

CodeCommand Class

A command with one input used to allow custom coding in a macro.
Inheritance Hierarchy
SystemObject
  MediaCy.IQL.ApplicationMcCommand
    MediaCy.IQL.ApplicationMcCommandExtended
      MediaCy.CommandsBaseCommand
        MediaCy.Addins.Scripting.WorkflowCodeCommand

Namespace:  MediaCy.Addins.Scripting.Workflow
Assembly:  MediaCy.Addins.Scripting (in MediaCy.Addins.Scripting.dll) Version: 3.1.0.0
Syntax
VB
Public Class CodeCommand
	Inherits BaseCommand

The CodeCommand type exposes the following members.

Constructors
  NameDescription
Public methodCodeCommand
Initializes a new instance of the CodeCommand class
Public methodCodeCommand(McCommand)
Initializes a new instance of the CodeCommand class
Top
Properties
  NameDescription
Public propertyCode
This property exposes the user code as it will appear in a macro.
Top
Methods
  NameDescription
Public methodApplyAttributes (Overrides McCommandExtended.ApplyAttributes.)
Public methodRun
Public methodSaveParametersAsCode (Overrides McCommandExtended.SaveParametersAsCode(TextWriter, String, RecordingFlags).)
Public methodSaveRunAsCode (Overrides McCommandExtended.SaveRunAsCode(TextWriter, String, RecordingFlags).)
Top
Remarks
There is no parsing of the custom code when loading a macro, so it is up to the macro writer to maintain and validate this code. All the script variables are part of the custom code scope.
See Also