Notifications
Clear all

[Closed] Copying string to clipboard?

Hiya,
Is there any way to copy a string value to the windows clipboard through maxscript?
Cheers

6 Replies

Search in the mxs manual for “Copy To and From Clipboard”

I did try searching but found nothing.
0 topics found!

Dont have the reference open but there’s a tutorial on bobo’s scriptspot site:
http://www.scriptspot.com/bobo/mxs9/dotNet/UsingTheClipboard.html

Let me guess you’re using Max 9?

Clipboard stuff is new to 2008 (or AVG).

   
setClipBoardText string
getclipboardtext()

yep, max9, but I have the AVG extensions so it should work. Cheers mate!

Or use the methods in the Clipboard class in .NET, if you don’t want external dependencies, etc.

Light