get_full_path

Declaration

get_full_path (location: STRING): STRING

Description

Gets the folder pointed to by location. Locations are created at startup in the project file and are maintained by the location manager. Use is_location to determine whether the location is valid.

The folder is returned without a terminating folder separator.

Note: you can't add the folder separator yourself unless you know you're in Windows or MacOS. Use join_paths instead.

See also

is_location
join_paths
Location manager

Example

script check_for_logo_movie is
  message ('your profiles are in ' . get_full_path ('profiles'), Message_info)
end