Legato
Legato

GoFiler Legato Script Reference

 

Legato v 1.5d

Application v 5.25a

  

 

Chapter SixFile Functions (continued)

GetApplicationDataLocalFolder Function

Overview

The GetApplicationDataLocalFolder function returns the current user’s local application data path.

Syntax/Parameters

Syntax

string = GetApplicationDataLocalFolder ( [boolean base] );

Parameters

base

An optional boolean value specifying whether to return the base data path for all applications or for the application running the script. TRUE returns the base path while the default, FALSE, returns the path for the application.

Return Value

Returns a string containing the path or an empty string on failure. Use the GetLastError function to retrieve error information.

Remarks

The location of the local application data path for the user depends upon the version of Windows under which the GetApplicationDataLocalFolder function is being called, the installation of the application, and whether or not the user is operating under a roaming profile. If a local application data path is unavailable, the GetApplicationDataLocalFolder function will return the user’s roaming path. The string will always be returned with a trailing backslash to allow the simple addition of file or further path information.

Related Functions

Platform Support

Go13, Go16, GoFiler Complete, GoFiler Corporate, GoFiler, GoFiler Lite, GoXBRL

Legato IDE, Legato Basic