|
ED
|
avaliable
|
RT
|
read only
|
The Method removes a function from the script package by the corresponding function ID.
Sub zenOn_ManageScriptFunctions() Dim zScript As Script 'Initialize the script object with the first script in the scripts object (list) Set zScript = MyWorkspace.ActiveDocument.Scripts.Item(0) 'Add the picSTART function to the script zScript.Add (MyWorkspace.ActiveDocument.RtFunctions.Item("picSTART").ID) 'Remove the picSTART function from the script zScript.Remove (MyWorkspace.ActiveDocument.RtFunctions.Item("picSTART").ID) End Sub