QQ聊天

MaxScript保存剪贴板里的图像

DotNetClipboard = DotNetclass "System.Windows.Forms.Clipboard"
tempImage = DotNetClipboard.GetImage()
if tempImage != undefined do tempImage.save "d:\\test.jpg"


if DotNetClipboard.ContainsFileDropList() do 
(
    fileList = DotNetClipboard.GetFileDropList()
    for i = 0 to (fileList.count - 1) do
    (
        print (fileList.item i)
    )
)
posted @ 2012-06-23 22:09  SITT  阅读(614)  评论(2编辑  收藏  举报
QQ聊天