资源简介

pyhook_py3k_3.5 已经编译好的 只需要 python -m pip instal ./ 就可以了 居然不能免费分享

资源截图

代码片段和文件信息

import wx
import pyHook
from pyAA import *
  
class myframe(wx.frame):
  def __init__(self):
    wx.frame.__init__(self None -1 ‘My frame‘)
    
    self.hm = pyHook.HookManager()
    self.hm.MouseAllButtonsDown = self.OnMouseEvent
    self.hm.KeyDown = self.OnKeyboardEvent
  
    self.hm.HookMouse()
    self.hm.HookKeyboard()
    
    wx.EVT_CLOSE(self self.OnClose)
  
  def OnGetAO(self event):
    if event.Type == ‘keyboard‘:
      ao = AccessibleobjectFromWindow(event.Window OBJID_CLIENT)
    elif event.Type == ‘mouse‘:
      ao = AccessibleobjectFromPoint(event.Position)

    print 
    print ‘---------------------------‘
    print ‘Event:‘
    print ‘ ‘event.MessageName
    print ‘  Window:‘ event.WindowName
    if event.Type == ‘keyboard‘:
      print ‘  Key:‘event.Key
    

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----

     文件         50  2013-11-27 10:47  pyhook_py3k-master\.cvsignore

     文件         57  2013-11-27 10:47  pyhook_py3k-master\.gitignore

     文件        360  2013-11-27 10:47  pyhook_py3k-master\.project

     文件       1682  2013-11-27 10:47  pyhook_py3k-master\aa hook.py

     文件      32256  2017-11-30 15:32  pyhook_py3k-master\build\lib.win-amd64-3.5\pyHook\_cpyHook.cp35-win_amd64.pyd

     文件     291386  2017-11-30 15:32  pyhook_py3k-master\build\temp.win-amd64-3.5\Release\cpyHook_wrap.obj

     文件        696  2017-11-30 15:32  pyhook_py3k-master\build\temp.win-amd64-3.5\Release\_cpyHook.cp35-win_amd64.exp

     文件       2016  2017-11-30 15:32  pyhook_py3k-master\build\temp.win-amd64-3.5\Release\_cpyHook.cp35-win_amd64.lib

     文件       1124  2013-11-27 10:47  pyhook_py3k-master\CHANGELOG.txt

     文件       9287  2013-11-27 10:47  pyhook_py3k-master\cpyHook.i

     文件       3350  2017-11-30 15:32  pyhook_py3k-master\cpyHook.py

     文件     130747  2017-11-30 15:32  pyhook_py3k-master\cpyHook_wrap.c

     文件        293  2013-11-27 10:47  pyhook_py3k-master\doc.py

     文件       1347  2013-11-27 10:47  pyhook_py3k-master\example.py

     文件      23338  2013-11-27 10:47  pyhook_py3k-master\HookManager.py

     文件       1057  2013-11-27 10:47  pyhook_py3k-master\LICENSE.txt

     文件        211  2013-11-27 10:47  pyhook_py3k-master\MANIFEST.in

     文件       1502  2013-11-27 10:47  pyhook_py3k-master\README.md

     文件       1025  2017-11-30 15:48  pyhook_py3k-master\README.txt

     文件       1713  2013-11-27 10:47  pyhook_py3k-master\setup.py

     文件         25  2013-11-27 10:47  pyhook_py3k-master\__init__.py

     目录          0  2017-11-30 15:32  pyhook_py3k-master\build\lib.win-amd64-3.5\pyHook

     目录          0  2017-11-30 15:32  pyhook_py3k-master\build\temp.win-amd64-3.5\Release

     目录          0  2017-11-30 15:32  pyhook_py3k-master\build\lib.win-amd64-3.5

     目录          0  2017-11-30 15:32  pyhook_py3k-master\build\temp.win-amd64-3.5

     目录          0  2017-11-30 15:32  pyhook_py3k-master\build

     目录          0  2017-11-30 15:32  pyhook_py3k-master

----------- ---------  ---------- -----  ----

               503522                    27



............此处省略0个文件信息

评论

共有 条评论

相关资源