참고로, 맥에서만 가능하다.
from AppKit import NSPasteboard, NSArray pb = NSPasteboard.generalPasteboard() pb.clearContents() strClipboard = NSArray.arrayWithObject_('Message Here') pb.writeObjects_(strClipboard)
참고로, 맥에서만 가능하다.
from AppKit import NSPasteboard, NSArray pb = NSPasteboard.generalPasteboard() pb.clearContents() strClipboard = NSArray.arrayWithObject_('Message Here') pb.writeObjects_(strClipboard)
Leave a Reply