I have a small command to bypass a few options in the xclip command. Most of the clips I do are rectangular so I wanted to cut to the chase. Basically, you initiate the command, select the xref and pick your corners. But I have 2 problems. 1. How do I turn the osnaps of after the command is finished? 2. The command works fine when you start a new drawing and have never initiated the xclip command, but if you try a second time there is an error. I know it is happening because it wants an answer on whether or not to delete the old boundary, I just have no clue how to correct it. I know a little about lisp from school, maybe just enough to get me in trouble, but any help would be appreciated. Here is the code; please bare with its' simplicity. ;;Xref Clip with rectangle (defun c:xcc () ;(setvar "CMDECHO" 0) (setvar "osmode" 33) (setq xc1 (entsel " Select xref to clip: ")) (command "xclip" xc1 "" "n" "r") (prin1) )