Page 1 of 1
Script Command for Clear Action Log
Posted: 18 Apr 2018 16:00
by VeeGee
Good morning all,
To help clear out histories, etc., I've been using (a modified version of) ListManagementHouseCleaning. I have searched the forum and help file and enabled Command IDs, but I didn't see any script command to clear the Action Log. Right now, after using the cleaning script, I go into the Action Log and click the Clear button.
Is there a script command for this action ? If so, I'd like to somehow incorporate it into my modified copy of ListManagementHouseCleaning.
Re: Script Command for Clear Action Log
Posted: 18 Apr 2018 16:43
by jupe
I am not sure about a script command, but what should work as 1 alternative would be a script which saves your settings after List Cleaning script runs (if it doesn't do that already), then deletes action.dat from your Data folder, then restarts XY without saving (#190), it would require a restart but in theory it should accomplish what you require.
Re: Script Command for Clear Action Log
Posted: 18 Apr 2018 16:46
by highend
Does not exist. Delete the action.dat file instead...
Re: Script Command for Clear Action Log
Posted: 18 Apr 2018 17:22
by klownboy
Hi VeeGee, if you have any suggestions, comments or updates for that ListManagementHouseCleaning script let me know over in that thread. It's been a long while since I've looked at that script, but I'd be glad to update it especially if your suggestions could be used by others...and when I finally get done with this ThumbnailMaintenance update. Thanks.
Re: Script Command for Clear Action Log
Posted: 18 Apr 2018 18:35
by VeeGee
@
jupe and
highend - thank you. I use SyncbackPro to backup (w/revision history) my XY data files to my NAS on XY close. I updated that profile to delete the DAT file prior to backing up. This way I can automatically cleanup that history and still back everything else up when I close XY. I continue using ListManagementHouseCleaning from a CTB when I need to clear those entries out.
@
klownboy - will do. So far my modifications have been minor, e.g. pre-selecting the checkboxes for items in LIST2. Your script runs nice and smooth w/o any errors
