Export DB Playlist as a script

Hi,

Am wondering if it’s possible to export future sub-playlists automatically with a script to the custom text file format.

Anyone know if it’s possible, I have searched the forum but most of what I can see focus on current playlists to txt export within a script.

Any help would be appreciated.

Cheers,