Edit

AddSafePath (prompt)

Result type:  string

Definition:  Displays a folder chooser dialog for the user to add a folder to the "safe paths" list in the preferences.

The return value is the folder path, or empty string if the user cancels.

Availability:  MWScript in MoneyWorks 9.1 and later.

See Also:

CreateFolder: Create a new folder

File_Close: File functions for creating/reading/writing text files

File_GetLength: File length in bytes

File_GetMark: Get current read/write position

File_Move: Rename/move a file

File_Open: Open a file

File_Path: Get the full path of an open file

File_Read: Read text from current position

File_ReadLine: Read to end of line from current position

File_SetMark: Set Current read/write position

File_Write: Write text at current position

WriteToTempFile: Create a temp file containing the string