How to get path of "prompt for folder"?

Hey, all.

I'm trying to make a marco that will prompt me to select a folder (set to variable "src"), then save the path of that selection to a new variable "src1". Then ask me for another folder "dest", save that path to another variable "dest1". Then I have it combine those two paths with some other bash code (making hardlinks) that pastes in Terminal.

Problem is, once I "prompt for folder" I can't figure out how to get the path of that selection. I tried using "For Each Item in a Collection"...but that doesn't work because it inserts a list of all the variables I'm using in KM. do I just get the path of the folder I'm prompted for? I've been trying to figure this out for about 3 hours, and I just gave up. Can anyone please help me?

Hardlink.kmmacros (13.5 KB)

I did not D/L your macro, but the Prompt for File or Folder action return the PATH of the folder you select: