Getting all "Level-1" File- & Folder-Names of a folder-path

The For Each Action can be exactly as @gglick's original but instead of a declared path, use the Variable you have obtained through the Prompt for Folder.

Get All "Level-1" File and Folder Names - Prompt for Folder.kmmacros (3.7 KB)

Click to Show Image of Macro

.