Script Command for Clear Action Log

Please check the FAQ (https://www.xyplorer.com/faq.php) before posting a question...
Post Reply
VeeGee

Script Command for Clear Action Log

Post 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.

jupe
Posts: 3478
Joined: 20 Oct 2017 21:14
Location: Win10 22H2 120dpi

Re: Script Command for Clear Action Log

Post 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.

highend
Posts: 15004
Joined: 06 Feb 2011 00:33
Location: Win Server 2022 @100%

Re: Script Command for Clear Action Log

Post by highend »

Does not exist. Delete the action.dat file instead...
One of my scripts helped you out? Please donate via Paypal

klownboy
Posts: 4469
Joined: 28 Feb 2012 19:27
Location: Windows 11, 25H2 Build 26200.8737 at 100% 2560x1440

Re: Script Command for Clear Action Log

Post 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.

VeeGee

Re: Script Command for Clear Action Log

Post 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 :appl:

Post Reply