Copy to Clipboard
Copy to Clipboard
A very handy routine which copies text to the Windows Clipbaord.
Calculate a weight and have that value in your clipboard for easy pasting.
A very handy routine which copies text to the Windows Clipbaord.
Calculate a weight and have that value in your clipboard for easy pasting.
;;; Copy value to Windows Clipboard
(vlax-invoke
(vlax-get
(vlax-get (setq htmlfile (vlax-create-object "htmlfile")) 'ParentWindow)
'ClipBoardData
)
'SetData
"Text"
<variable name>
)
(princ)