I forgot that we already have code written to property list a scripts full history, accounting for storage devices. You should be able to do something like this
for script_result in new_script_set:
if len(script_result.history) > limit: script_result.history[limit:].delete()
I forgot that we already have code written to property list a scripts full history, accounting for storage devices. You should be able to do something like this
for script_result in new_script_set: result. history) > limit:
script_ result. history[ limit:] .delete( )
if len(script_