Hi shane, or a path with spaces in it will probably work if you add double quotes around it, like:
script: moi.filesystem.shellExecute( '"/Users/shane/Library/Application Support/Moi/UpdateRhinoClipboard"', 'target=moi', true /*wait for finish*/ ); moi.command.execCommand( 'paste' );
So that's got single quotes ' ' around the outside, and then double quotes " " inside of that.
I'll see about updating moi.filesystem.shellExecute() to handle that automatically when there are any spaces in the path.
- Michael
|