GefApplication.ConvertToRuntimeScript (method)

Converts the specified global script to a global runtime only script.
Syntax: Boolean = object.ConvertToRuntimeScript ( SourceFile, DestFile )
Parameters:
SourceFile As String -
DestFile As String -
Description: Saves a global script (.cms, or .bcl) as a runtime only (.cmsrt). The source file (first parameter) can be specified as either a fully qualified path or just a filename. If specified as just a filename, the customary project search path will be used to find the file. Likewise, the destination file may be specified as either a full path or a filename. If specified as just a filename, the path where the source file existed will be used as the path component.

Examples

Sub OnSmartObject()
  Dim oCimApp As GefApplication
  Set oCimApp = CimGetScreen.Application
  oCimApp.ConvertToRuntimeScript "glbScript.cms", "glbScript.cmsrt"
End Sub