Code:
# save current item selection
# cd into selected folders
# for-each selected folder; cd into them and select from marked list and queue
# return to starting path
# restore original item selection
{
/set @#@ /andselect %f
/cd %p%f
{
/selectall -d
{
/cd %p%f
{
/markedselect
/inline queue selected
}
}
}
/uncd
}
@#@