Functions Reference

Table Of Contents
74 FileMaker Functions Reference
Examples
Returns /C:/Documents and Settings/John Smith/Desktop/ for a user named John
Smith in Windows.
Returns /MacintoshHD/Users/John Smith/Desktop/ for a user named John Smith in the
Mac OS.
Get(DocumentsPath)
Format
Get(DocumentsPath)
Parameter
None
Data type returned
text
Description
Returns the path to the documents folder for the current user. In Windows XP, the path
format is /Drive:/Documents and Settings/UserName/My Documents/. In Windows Vista,
the path format is /Drive:/Users/UserName/Documents/. In the Mac OS, the path format
is /DriveName/Users/UserName/Documents/.
Note See FileMaker Pro Help for information about running scripts in client/server and
peer-to-peer environments.
Examples
Returns /C:/Documents and Settings/John Smith/My Documents/ for a user named
John Smith in Windows XP.
Returns /C:/Users/John Smith/Documents/ for a user named John Smith in Windows
Vista.
Returns /MacintoshHD/Users/John Smith/Documents/ for a user named John Smith in
the Mac OS.
Get(ErrorCaptureState)
Format
Get(ErrorCaptureState)
Parameter
None