On Jul 15, 2012, at 2:42 AM, Paul Hibbert wrote: > ## Paste into the Main Stack script > > on commandKeyDown pKey > switch pKey > case "c" > if the selection is not empty then set the clipboardData["text"] to > the selection > break > case "x" > if the selection is not empty then > set the clipboardData["text"] to the selection > put empty into the selection > end if > break > case "v" > if the clipboardData["text"] is not empty then put the > clipboardData["text"] into the selectedText
I think that this will fail. Try changing the last clause to "put the clipboardData["text"] into the selection" I could be wrong. > break > case "a" > select text of the focusedObject > break > case "z" > undo > break > default > pass commandKeyDown > end Switch > end commandKeyDown -- Peter Peter M. Brigham pmb...@gmail.com http://home.comcast.net/~pmbrig _______________________________________________ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode