Hi All,
I have a USB hid device, and I want to use the python to communicate with it on
the Windows.
My question is whether there is a python module which could be used to this
program.
Best regards
Yongqing
___
python-win32 mailing list
Hi,
** Situation **
Using python 2.6.1.
I have the following method generated by makepy.py:
def GetFilters(self, pvarFilterArray=defaultNamedNotOptArg,
pnArraySize=defaultNamedNotOptArg):
method GetFilters
return self._oleobj_.InvokeTypes(68, LCID, 1, (24, 0), ((16396, 0),
Greetings everyone,
My config is:
python 2.5.1
pywin32 build 212
Win Xp
I have written a small script to automate a process. The issue is that a
Save As pops up at the end. Using Winspector, I could come up with this:
win32gui.PostMessage(win_hdl,con.WM_COMMAND,1,0) # handle to the Save As
Ferdinand Sousa wrote:
I have written a small script to automate a process. The issue is that
a Save As pops up at the end. Using Winspector, I could come up with
this:
win32gui.PostMessage(win_hdl,con.WM_COMMAND,1,0) # handle to the Save
As window, message type, Control ID of the Save
Enric Jaen wrote:
I have the following method generated by makepy.py:
def GetFilters(self, pvarFilterArray=defaultNamedNotOptArg,
pnArraySize=defaultNamedNotOptArg):
method GetFilters
return self._oleobj_.InvokeTypes(68, LCID, 1, (24, 0), ((16396, 0),
(16387,
Wang Yongqing wrote:
I have a USB hid device, and I want to use the python to communicate
with it on the Windows.
My question is whether there is a python module which could be used to
this program.
The libhid project has a Windows version and includes a Python binding.
Thanks for the explanation, Tim.
I am 100 % sure because I have tested it with a VB program and it returns data.
As I have seen from previous posts in this mailinglist, the memory is allocated
at the COM side.
This also returns a null array:
a,b = r.getFilters()
/Enric
- Mensaje
Enric Jaen wrote:
I am 100 % sure because I have tested it with a VB program and it returns
data.
What are you controlling here? Is this Flash?
As I have seen from previous posts in this mailinglist, the memory is
allocated at the COM side.
Yes, but that should be irrelevant.