FANDOM


ui.GetTrackName

Function
string ui.GetTrackName()
Description
Gets the track name.
V1 Function Name
New to V2

ui.GetTrackName returns the name of the current track.

The code:

print ( "track name = " .. ui.GetTrackName () )

returns:

track name = default

by default, or else the name of the non-default track.

The track name is used to name a subdirectory of the puzzles directory for the current Foldit client, for example:

C:\Foldit\puzzles\*puzzleid*\*userid*\default

(See puzzle.GetPuzzleID for *puzzleid*, and user.GetPlayerID for *playerid*.)

All quicksaves and autosaves are saved in this directory. Manual saves and timed saved are stored in the main Foldit directory, for example "c:\Foldit".

Community content is available under CC-BY-SA unless otherwise noted.