mostafa badran Posted August 16, 2017 Share Posted August 16, 2017 Hi, all. How can I use paste special command without dialog box,copy from excel and past as link Auto CAD entities directly . I searched in internet found this post talk about Send Keys but I don't know how can I use it. any help appreciate. ;;Send Keys - Lee Mac ;;A wrapper function for the SendKeys method of the WSH (defun LM:sendkeys ( str / wsh rtn ) (if (setq wsh (vlax-create-object "wscript.shell")) (progn (setq rtn (vl-catch-all-apply 'vlax-invoke (list wsh 'sendkeys str))) (vlax-release-object wsh) rtn ) ) ) Quote Link to comment Share on other sites More sharing options...
tombu Posted August 16, 2017 Share Posted August 16, 2017 hmsilva posted two versions for text worth trying out: https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/paste-special/td-p/5671352 For paste as AutoCAD entities or paste link you still need the dialog box. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.