Syntax

put getPreference(<key>) into <variable>

put getPreference("lastUseTime") into theLastUseDate

Explanation

The getPreference function is a temporary, unsupported function for reading preferences from disk that were saved to the user’s computer using the setPreference command. This function will be removed in a future version of Stacksmith.

key

The name under which you saved the preference when you called setPreference. If a preference has never been saved using setPreference, this returns an empty string that is unset.

See Also