e-CryptIt Engine Xojo Plugin

MacBinary.SetLocation Method (console safe)

Use this method in the OnNameIsknown event to change name or location of the output file.

SetLocation(
   f as FolderItem)

Parameters

f
New location and name of the output file.

Remarks

WARNING
Do not directly change the OutFile parameter in the OnNameIsKnown event.
If you directly modify the OutFile, REALbasic folder items might change the name of an already existing file !

Don't do:
OutFile.Name = OutFile.Name + "New"
Do it this way:
SetLocation OutFile.Parent.Child("OutFile.Name" + "New")

See Also

MacBinary Class