API Documentation > CorelDRAW > 2025-v26 > Application > IVGApplication
Application.CorelScriptTools method
Corel SCRIPT Tools
Syntax:
Function CorelScriptTools() As CorelScriptTools
Remarks:
The CorelScriptTools method returns a CorelScriptTools object as a generic object type.
Examples:
The following VBA example displays the standard File Open dialog box and asks the user to choose a file. Then the FileAttr function determines whether the file exists at the specified location.
Sub ScriptTools()
Dim cst As Object
Dim FilePath As String
Set cst = CorelScriptTools
FilePath = cst.GetFileBox()
If FilePath <> "" Then
  If cst.FileAttr(FilePath) = 0 Then

 MsgBox "The file you selected doesn't exist."
  End If
End If 
End Sub