PDA

View Full Version : Copying string to clipboard?


floopyb
08-18-2008, 11:07 AM
Hiya,
Is there any way to copy a string value to the windows clipboard through maxscript?
Cheers

decapitator
08-18-2008, 11:14 AM
Search in the mxs manual for "Copy To and From Clipboard"

floopyb
08-19-2008, 01:20 AM
I did try searching but found nothing.
0 topics found!

Gravey
08-19-2008, 03:59 AM
Dont have the reference open but there's a tutorial on bobo's scriptspot site:
http://www.scriptspot.com/bobo/mxs9/dotNet/UsingTheClipboard.html

thatoneguy
08-19-2008, 04:24 AM
Let me guess you're using Max 9?

Clipboard stuff is new to 2008 (or AVG).

setClipBoardText string
getclipboardtext()

floopyb
08-19-2008, 04:33 AM
yep, max9, but I have the AVG extensions so it should work. Cheers mate!

Light
08-19-2008, 05:30 AM
Or use the methods in the Clipboard class in .NET, if you don't want external dependencies, etc.




Light

CGTalk Moderation
08-19-2008, 05:30 AM
This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.