Folder Clone - Need Help With Function

Hi All.

I'm trying to create a series of functions that clones a folder from one lister to another (in dual mode) with the same name as the original folder. Here's what I've got so far:

Clipboard COPYNAMES=nopaths
// do something here...
CreateFolder FROMCLIPBOARD

This works as far as copying the folder name to the clipboard, but I can't get the target lister to have focus or the cloned folder to be created.

Any suggestions?

Also forgot to mention that the cloned folder should not have any child folders or files in it - this is merely a folder name copy operation.

See this thread:

[Set FOCUS=Toggle > CreateFolder FROMCLIPBOARD - not working)

Thank you VERY much! That was exactly what I needed!