Hi mdesign, it looks like the shortcut key is not quite right, there's a description for how it needs to be set up earlier in this thread here:
http://moi3d.com/forum/index.php?webtag=MOI&msg=9890.22
The key thing that you're missing:
quote:
One thing to note is the path name in the script code needs doubled backslash characters. Instead of just one \ as the path separator it needs 2 like \\. That's because in JavaScript a single \ is an escape character for special characters like \t means tab or \n means newline. The \\ means make a single backslash in the actual string.
So where you have "c:\UpdateRhinoClipboard.exe", you instead need it to be "c:\\UpdateRhinoClipboard.exe" - note the doubled backslash.
There is probably a bug where if you give an invalid path to moi.filesystem.shellExecute() with the "wait for finished" enabled it ends up getting stuck waiting for a non-existent program to finish running and then running some other command cancels out from that wait. I'll see if I can fix that up.
- Michael
|