Skip to content

AmsFileObject

Describes a locally installed .ams file, including its metadata, enabled state, and update information. Returned by amscript.get_script().

View the source

AttributeTypeDescription
AmsFileObject.script_object_typestr'file' for locally installed scripts
AmsFileObject.titlestrThe title defined in the script
AmsFileObject.authorstrThe author defined in the script
AmsFileObject.descriptionstrThe description defined in the script
AmsFileObject.file_namestrThe file name of the script
AmsFileObject.pathstrThe full file path of the script
AmsFileObject.versionstrScript version defined in the script
AmsFileObject.enabledboolWhether or not the script is enabled in auto-mcs
AmsFileObject.updatedict{'version': str, 'url': str, 'is_updating': bool}
AmsFileObject.hashbytesEncoded identity derived from title, author, and version