def goToDirectory(alias):
if not settings.platformCompatible():<EOL><INDENT>return False<EOL><DEDENT>data = pickle.load(open(settings.getDataFile(), "<STR_LIT:rb>"))<EOL>try:<EOL><INDENT>data[alias]<EOL><DEDENT>except KeyError:<EOL><INDENT>speech.fail("<STR_LIT>" + alias + "<STR_LIT>")<EOL>speech.fail("<STR_LIT>" + alias + "<STR_LIT>")<EOL>return<EOL><DEDENT>try:<EOL><INDENT>(output, error) = subprocess.Popen(["<STR_LIT>", "<STR_LIT>", CHANGE_DIR % (data[alias])], stdout=subprocess.PIPE).communicate()<EOL><DEDENT>except:<EOL><INDENT>speech.fail("<STR_LIT>")<EOL>return<EOL><DEDENT>speech.success("<STR_LIT>" + data[alias])<EOL>
go to a saved directory