I've updated the pscriptor code to version 1.04, which includes the scriplet you need:
http://yabb.jriver.com/interact/index.php?topic=85990The command line you'll use is:
perl pscriptor.pl -c pscriptor-config.txt -f "Playlist Name" -E MakePlaylist
Be sure that the column Playlist Name is in the view. It is an expression column that defines the name template of the playlist, such as:
[album artist (auto)] - [album]
The instructions in the thread above, the README.txt and the comments in the Scriptlets\MakePlaylist.pm should give you what you need, but feel free to ask questions specific to this scriplet here.
Note 1: you mentioned there might be files from different folders being grouped into a view. The scriptlet uses the first item in the view grouping (as defined by the Playlist Name expression) as the basis for the folder where the playlist will be created. If you need something different, let's discuss it.
Note 2: If you are using mixed file types, and these file types are not all consistently tagged (e.g. cover art which isn't tagged with the fields used in Playlist Name), you'll have to use something else the files have in common, like your folder names (which can be accessed with FileFolder(,0) and FileFolder(,1), etc.)