For the record, KM already has an action specifically for this use-case, no AppleScript required: action:Set Clipboard to File Reference [Keyboard Maestro Wiki]
Example Macro.kmmacros (1.2 KB)
For the record, KM already has an action specifically for this use-case, no AppleScript required: action:Set Clipboard to File Reference [Keyboard Maestro Wiki]
Example Macro.kmmacros (1.2 KB)