AppleScript Syntax error with Shell

Hi,
I can’t seem to format the syntax of this AppleScript (to clear clipboard). I have tried everything, to no avail! where does the problem come from ?
THANKS

sh.Execute("osascript -e 'set the clipboard to \"\"'")

Wouldn’t it be:

sh.Execute("osascript -e 'set the clipboard to """"'")

Does using the Xojo clipboard class not work…?

3 Likes