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

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

src/a/f/AFE-HEAD/internals/lib/cmd2.py   AFE(Download)
        def get_paste_buffer():
            win32clipboard.OpenClipboard(0)
            try:
                result = win32clipboard.GetClipboardData()
            except TypeError:
                result = ''  #non-text
            win32clipboard.CloseClipboard()
            return result            
        def write_to_paste_buffer(txt):
            win32clipboard.OpenClipboard(0)

src/c/m/cmd2-0.6.7/cmd2.py   cmd2(Download)
        def get_paste_buffer():
            win32clipboard.OpenClipboard(0)
            try:
                result = win32clipboard.GetClipboardData()
            except TypeError:
                result = ''  #non-text
            win32clipboard.CloseClipboard()
            return result            
        def write_to_paste_buffer(txt):
            win32clipboard.OpenClipboard(0)

src/e/n/enso-portable-HEAD/enso/enso/platform/win32/selection/_ContextUtils.py   enso-portable(Download)
    while not success:
        try:
            win32clipboard.OpenClipboard( 0 )
            success = True
        except pywintypes.error:

src/s/u/SublimeSpeech-HEAD/lib/dragonfly/windows/clipboard.py   SublimeSpeech(Download)
    def get_system_text(cls):
        win32clipboard.OpenClipboard()
        try:
            content = win32clipboard.GetClipboardData(cls.format_unicode)
        finally:
    def set_system_text(cls, content):
        content = unicode(content)
        win32clipboard.OpenClipboard()
        try:
            win32clipboard.EmptyClipboard()
 
        """
        win32clipboard.OpenClipboard()
 
        # Determine which formats to retrieve.
 
        """
        win32clipboard.OpenClipboard()
 
        # Clear the system clipboard, if requested.

src/t/r/TrustRouter-HEAD/client/packaging/Windows/Python32/Lib/site-packages/pythonwin/pywin/framework/interact.py   TrustRouter(Download)
				out_lines.append(line)
		out_code=os.linesep.join(out_lines)
		win32clipboard.OpenClipboard()
		try:
			win32clipboard.SetClipboardData(win32clipboard.CF_UNICODETEXT, str(out_code))
	def OnEditExecClipboard(self, command, code):
		""" Executes python code directly from the clipboard."""
		win32clipboard.OpenClipboard()
		try:
			code=win32clipboard.GetClipboardData(win32clipboard.CF_UNICODETEXT)

src/s/u/SublimeSpeech-HEAD/lib/pywin64bit/pythonwin/pywin/framework/interact.py   SublimeSpeech(Download)
				out_lines.append(line)
		out_code=os.linesep.join(out_lines)
		win32clipboard.OpenClipboard()
		try:
			win32clipboard.SetClipboardData(win32clipboard.CF_UNICODETEXT, unicode(out_code))
	def OnEditExecClipboard(self, command, code):
		""" Executes python code directly from the clipboard."""
		win32clipboard.OpenClipboard()
		try:
			code=win32clipboard.GetClipboardData(win32clipboard.CF_UNICODETEXT)

src/s/u/SublimeSpeech-HEAD/lib/pywin32bit/pythonwin/pywin/framework/interact.py   SublimeSpeech(Download)
				out_lines.append(line)
		out_code=os.linesep.join(out_lines)
		win32clipboard.OpenClipboard()
		try:
			win32clipboard.SetClipboardData(win32clipboard.CF_UNICODETEXT, unicode(out_code))
	def OnEditExecClipboard(self, command, code):
		""" Executes python code directly from the clipboard."""
		win32clipboard.OpenClipboard()
		try:
			code=win32clipboard.GetClipboardData(win32clipboard.CF_UNICODETEXT)

src/m/a/main-HEAD/External.LCA_RESTRICTED/Languages/IronPython/27/Lib/site-packages/pythonwin/pywin/framework/interact.py   main(Download)
				out_lines.append(line)
		out_code=os.linesep.join(out_lines)
		win32clipboard.OpenClipboard()
		try:
			win32clipboard.SetClipboardData(win32clipboard.CF_UNICODETEXT, unicode(out_code))
	def OnEditExecClipboard(self, command, code):
		""" Executes python code directly from the clipboard."""
		win32clipboard.OpenClipboard()
		try:
			code=win32clipboard.GetClipboardData(win32clipboard.CF_UNICODETEXT)

src/c/o/code-HEAD/lib/python/nullroute/clipboard.py   code(Download)
def get():
    if sys.platform == "win32":
        import win32clipboard as clip
        clip.OpenClipboard()
        # TODO: what type does this return?
def put(data):
    if sys.platform == "win32":
        import win32clipboard as clip
        clip.OpenClipboard()
        clip.EmptyClipboard()

src/d/r/dragonfly-0.6.5/dragonfly/windows/clipboard.py   dragonfly(Download)
    def get_system_text(cls):
        win32clipboard.OpenClipboard()
        try:
            content = win32clipboard.GetClipboardData(cls.format_unicode)
        finally:
    def set_system_text(cls, content):
        content = unicode(content)
        win32clipboard.OpenClipboard()
        try:
            win32clipboard.EmptyClipboard()
 
        """
        win32clipboard.OpenClipboard()
 
        # Determine which formats to retrieve.
 
        """
        win32clipboard.OpenClipboard()
 
        # Clear the system clipboard, if requested.

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