Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(91)  |  Call(91)  |  Derive(0)  |  Import(0)

src/s/u/SublimeSpeech-HEAD/lib/dragonfly/windows/clipboard.py   SublimeSpeech(Download)
            content = win32clipboard.GetClipboardData(cls.format_unicode)
        finally:
            win32clipboard.CloseClipboard()
        return content
 
            win32clipboard.SetClipboardData(cls.format_unicode, content)
        finally:
            win32clipboard.CloseClipboard()
 
 
        if clear:
            win32clipboard.EmptyClipboard()
        win32clipboard.CloseClipboard()
 
    def copy_to_system(self, clear=True):
            win32clipboard.SetClipboardData(format, content)
 
        win32clipboard.CloseClipboard()
 
    def has_format(self, format):

src/t/r/TrustRouter-HEAD/client/packaging/Windows/Python32/Lib/site-packages/pythonwin/pywin/framework/interact.py   TrustRouter(Download)
			win32clipboard.SetClipboardData(win32clipboard.CF_UNICODETEXT, str(out_code))
		finally:
			win32clipboard.CloseClipboard()
 
	def OnEditExecClipboard(self, command, code):
			code=win32clipboard.GetClipboardData(win32clipboard.CF_UNICODETEXT)
		finally:
			win32clipboard.CloseClipboard()
 
		code=code.replace('\r\n','\n')+'\n'

src/s/u/SublimeSpeech-HEAD/lib/pywin64bit/pythonwin/pywin/framework/interact.py   SublimeSpeech(Download)
			win32clipboard.SetClipboardData(win32clipboard.CF_UNICODETEXT, unicode(out_code))
		finally:
			win32clipboard.CloseClipboard()
 
	def OnEditExecClipboard(self, command, code):
			code=win32clipboard.GetClipboardData(win32clipboard.CF_UNICODETEXT)
		finally:
			win32clipboard.CloseClipboard()
 
		code=code.replace('\r\n','\n')+'\n'

src/s/u/SublimeSpeech-HEAD/lib/pywin32bit/pythonwin/pywin/framework/interact.py   SublimeSpeech(Download)
			win32clipboard.SetClipboardData(win32clipboard.CF_UNICODETEXT, unicode(out_code))
		finally:
			win32clipboard.CloseClipboard()
 
	def OnEditExecClipboard(self, command, code):
			code=win32clipboard.GetClipboardData(win32clipboard.CF_UNICODETEXT)
		finally:
			win32clipboard.CloseClipboard()
 
		code=code.replace('\r\n','\n')+'\n'

src/m/a/main-HEAD/External.LCA_RESTRICTED/Languages/IronPython/27/Lib/site-packages/pythonwin/pywin/framework/interact.py   main(Download)
			win32clipboard.SetClipboardData(win32clipboard.CF_UNICODETEXT, unicode(out_code))
		finally:
			win32clipboard.CloseClipboard()
 
	def OnEditExecClipboard(self, command, code):
			code=win32clipboard.GetClipboardData(win32clipboard.CF_UNICODETEXT)
		finally:
			win32clipboard.CloseClipboard()
 
		code=code.replace('\r\n','\n')+'\n'

src/c/o/code-HEAD/lib/python/nullroute/clipboard.py   code(Download)
        data = clip.GetClipboardData(clip.CF_UNICODETEXT)
        #print("clipboard.get =", repr(data))
        clip.CloseClipboard()
        return data
    else:
        clip.EmptyClipboard()
        clip.SetClipboardText(data, clip.CF_UNICODETEXT)
        clip.CloseClipboard()
    elif sys.platform.startswith("linux"):
        import subprocess

src/d/r/dragonfly-0.6.5/dragonfly/windows/clipboard.py   dragonfly(Download)
            content = win32clipboard.GetClipboardData(cls.format_unicode)
        finally:
            win32clipboard.CloseClipboard()
        return content
 
            win32clipboard.SetClipboardData(cls.format_unicode, content)
        finally:
            win32clipboard.CloseClipboard()
 
 
        if clear:
            win32clipboard.EmptyClipboard()
        win32clipboard.CloseClipboard()
 
    def copy_to_system(self, clear=True):
            win32clipboard.SetClipboardData(format, content)
 
        win32clipboard.CloseClipboard()
 
    def has_format(self, format):

src/e/i/einstein-HEAD/Python25Einstein/Lib/site-packages/pythonwin/pywin/framework/interact.py   einstein(Download)
			win32clipboard.SetClipboardData(win32clipboard.CF_UNICODETEXT, unicode(out_code))
		finally:
			win32clipboard.CloseClipboard()
 
	def OnEditExecClipboard(self, command, code):
			code=win32clipboard.GetClipboardData(win32clipboard.CF_UNICODETEXT)
		finally:
			win32clipboard.CloseClipboard()
 
		code=code.replace('\r\n','\n')+'\n'

src/c/o/code-HEAD/security/accdb/accdb.py   code(Download)
            data = clip.GetClipboardData(clip.CF_UNICODETEXT)
            print("clipboard.get =", repr(data))
            clip.CloseClipboard()
            return data
        else:
            clip.EmptyClipboard()
            clip.SetClipboardText(data, clip.CF_UNICODETEXT)
            clip.CloseClipboard()
        elif sys.platform.startswith("linux"):
            proc = subprocess.Popen(("xsel", "-i", "-b", "-l", "/dev/null"),

src/n/v/nvda-HEAD/source/api.py   nvda(Download)
			win32clipboard.SetClipboardData(win32con.CF_UNICODETEXT, text)
		finally:
			win32clipboard.CloseClipboard()
		win32clipboard.OpenClipboard() # there seems to be a bug so to retrieve unicode text we have to reopen the clipboard
		try:
			got = 	win32clipboard.GetClipboardData(win32con.CF_UNICODETEXT)
		finally:
			win32clipboard.CloseClipboard()
		text = win32clipboard.GetClipboardData(win32con.CF_UNICODETEXT)
	finally:
		win32clipboard.CloseClipboard()
	return text
 

  1 | 2 | 3 | 4 | 5 | 6  Next