GetPref

From Director Online Wiki
Jump to: navigation, search
getPref
Type: method
Version:  ?
Language: Lingo, JavaScript
Dependencies: none
Links/Related
setPref, fileIO






Retrieves the text previous saved to a file on the user's hard drive using setPref().

Syntax

 vResult = getPref(string file name)
 

vResult will be <Void> if no file named string file name exists at the expected location. If such a file does exist, vResult will contain a string. This string may be empty.


Notes

See setPref() for details of where the preferences files are stored


See also

SetPref

External links

GetPref in Director MX 2004 LiveDocs]