manipulating the list from SatImage

using the SatImage.osax


set folderString to (navchoose folder)

I then select two folders and end up with a list that is:

Couple of questions:

  1. How can I set folderNameList to the names of both folders?
  2. How can i utilize those aliases so that I can copy the contents of those folders to other places?

Ie:

set {folderA, folderB} to (navchoose folder)
set {folderAName, folderBName} to {name of (info for folderA), name of (info for folderB)}

tell application "Finder" to duplicate items of folderA to ¬
	(choose folder with prompt "Choose destination for " & folderAName & "'s items...") ¬
		replacing yes
tell application "Finder" to duplicate items of folderB to ¬
	(choose folder with prompt "Choose destination for " & folderBName & "'s items...") ¬
		replacing yes