put getPreference(<key>) into <variable>

put getPreference("lastUseTime") into theLastUseDate


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.


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