How to output a path ending with a directory ?

Hi guys,

It’s dizzy how some operations in Automator work.
I couldn’t figure out how to output a simple, arbitrary directory path from an AppleScript module in Automator.

Just to make a simple example, not even:

Set desk_pt to posix path of (path to desktop folder as text)
return desk_pt

…doesn’t work. The icons tab under results stays inactive/greyed out

:smiley:
Not sure if this is a bad joke I found it myself…lost precious time before posting…

To output a directory path you have to use or the “Finder” or “System Events” and use a hfs path reference.