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

2011-08-17 Thread Tony Cappellini
From: Jacob Kruger bandi...@gmail.com To: python-win32@python.org Subject: [python-win32] Trying to make use of pyAudiere Message-ID: PC1760201108161557350376609ccfbb@JacobKruger-PC Content-Type: text/plain; charset=iso-8859-1 http://www.pyaudiere.org/ From within either the interpreter,

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...' -

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

2011-08-17 Thread RuiDC
import win32clipboard filename = rC:\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

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 =