InfoConnect for Unisys
Attachmate.Reflection.Emulation.Common Namespace / Macro Class / Script Property
Example


In This Topic
    Script Property (Macro)
    In This Topic
    Gets the current macro recording script, if any.
    Syntax
    'Declaration
     
    
    Public ReadOnly Property Script As String
    'Usage
     
    
    Dim instance As Macro
    Dim value As String
     
    value = instance.Script
    public string Script {get;}
    Remarks
    If no scripts are currently recording, it returns String.Empty.
    Example
    private Macro mac;
    //Get the Current macro script.
    string script= mac.Script;
    See Also