System.Windows.Forms.Clipboard.GetText

Here are the examples of the python api System.Windows.Forms.Clipboard.GetText taken from open source projects. By voting up you can indicate which examples are most useful and appropriate.

1 Examples 7

Example 1

Project: ClockworkForDynamo Source File: Clipboard.GetFrom.py
def GetText():
    def thread_proc():
        global clipboardcontents
        clipboardcontents = System.Windows.Forms.Clipboard.GetText()
    t = Thread(ThreadStart(thread_proc))
    t.ApartmentState = System.Threading.ApartmentState.STA
    t.Start()
    t.Join()