The $Application object can take the properties listed below. The object's properties can be accessed by using the . operator; see the Examples section below.
Copies the file at the location sSource to the location sTarget.
Unzips the ZIP archive at the location sZipFile to the directory sTargetDir.
Checks whether the file at location sFile exists. Returns 1 or 0.
Deletes the file at the location sFile.
On code-generation, writes the content of the design file to the app-package using the file specified by sContentFile. (Deployed client files will also be written to the package.)
CopyAndResizeImage(sSource, sTarget, nTargetWidth, nTargetHeight)
Copies the image file at the location sSource to the location sTarget, and resizes the copied image to the pixel dimensions given by nTargetWidth and nTargetHeight.
sub CopyFile( byval $sSource, byval $sTarget )
return $Application.CopyFile( $sSource, $sTarget )
sub UnzipFile( byval $sZipFile, byval $sTargetDir )
return $Application.UnzipFile( $sZipFile, $sTargetDir )