

Any value stored this way is available to any drawing, just as the Clipboard content would be.
#Clear copyclip free#
Pros: Can greatly improve production speed of mundane copy and paste tasks, such as data entry, copy editing or proofreading Established developer with great customer service and positive track record A free trial. And you can have as many such symbol names as you want, so you can have separate values stored for different routines, or for different purposes even within the same routine. The options also include features to streamline work even more, like one-button pasting and the ability to clear the entire history. ClipBoard if that makes more sense, and the 'PasteCopyText symbol name to whatever you prefer. You can change the function names to not include. The above video explains the process of 'Copy file name to clip board'How to Copy folder and file names to Clipboard/Note Pad/Excel or to any text edit progr. If that's correct, I would suggest using the "blackboard namespace" that you can talk to with the (vl-bb-set) and (vl-bb-ref) functions:Ĭommand: (vl-bb-set 'PasteCopyText "this is a test") In AutoCAD, that's built more with drawing entities in mind, but it looks to me like you're more interested in text strings. But it sounds to me like you're really looking to do something that I think can be done without the Clipboard. The link hmsilva posted seems to be about Attributes rather than regular Text entities. (defun GetClipBoard ()) => returns clipboard value as string (defun SetClipBoard (str))=> put str value in clipboard I want to access to PasteClip and Cop圜lip commands.įor example there is a text object in my drawing and I want to:ġ- putting the value of this text object to ClipboardĢ- substituing the value of this text object from Clipboard

(nentsel "\nSelect Attribute to put value in Clipboard: wrote:

(defun CLIPBORD-PUT-TXT (TEXT / HTML PW CB OK?) (setq OK? (and (not (vl-catch-all-error-p (defun CLIPBORD-CLEARDATA (/ HTML PW CB OK?) I just want to know more about this code: (setq HTML (vl-catch-all-apply
