This script exports the track data from all of the tracks (or just the selected tracks) of the selected playlist into a pre-existing AppleWorks Database document (a template for which is included for your use; see screenshot). Also includes two scripts that illustrate how to send database records to iTunes to play. Read Me explains more. For AppleWorks 6 in OS X and OS 9.
OBLIGATORY WARNING! Because this script has been designated as a "Retro Script" there is no guarantee that it will function as described and may even corrupt or destroy data.