Re: [python-win32] CF_ENHMETAFILE SetClipboardData 'The handle is invalid'

2011-08-17 Thread RuiDC
import win32clipboard print(win32clipboard.IsClipboardFormatAvailable(win32clipboard.CF_ENHMETAFILE)) print(win32clipboard.IsClipboardFormatAvailable(win32clipboard.CF_DIB)) retruns 0 for both... how can i make these available? RuiDC wrote: > > import win32clipboard > > filename = r"C:\tmp\tes

[python-win32] CF_ENHMETAFILE SetClipboardData 'The handle is invalid'

2011-08-17 Thread RuiDC
import win32clipboard filename = r"C:\tmp\test.emf" with open(filename, "rb") as f: data = f.read() win32clipboard.OpenClipboard() win32clipboard.EmptyClipboard() win32clipboard.SetClipboardData(win32clipboard.CF_ENHMETAFILE, data) win32clipboard.CloseClipboard() why do I get the below mess

Re: [python-win32] Trying to make use of pyAudiere

2011-08-17 Thread Jacob Kruger
Maybe I'll check it out (pySonic) in any case. Once audiere is imported it seems to work nicely/well enough, but would be nice if could get it to import/load easily enough, but anyway. Thanks Jacob Kruger Blind Biker Skype: BlindZA '...fate had broken his body, but not his spirit...' - Or

Re: [python-win32] Trying to make use of pyAudiere

2011-08-17 Thread Tony Cappellini
> From: Jacob Kruger > To: python-win32@python.org > Subject: [python-win32] Trying to make use of pyAudiere > Message-ID: > Content-Type: text/plain; charset=iso-8859-1 > > http://www.pyaudiere.org/ > > >From within either the interpreter, or from within my own .py files, it > >always seems to