Message 1 of 3
pasteclip command not working with script in accoreconsole
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I'm trying to write a script with the pasteclip command and then run it in accoreconsole on some files.
It seems to work when I have copied elements from AutoCAD, although not guaranteed. But when I have just text in the clipboard it never works. It does work to run the command manually in accoreconsole but not from a script.
The script can look something like this:
pasteclip
0,0 (for text, or 0,0,0 for AutoCAD elements)
qsave
That's it. Nothing magic.
Is there a security aspect that's stopping me from pasting things with pasteclip in a script or why won't it work for me?