programing

python active windows checking

I try to write script to check active windows and name of this active windows. But have some problem to be fix in the future.

  • error for some qt windows such as Mathematica
  • error when destroy windows immediately

ลองเขียน joy2key ด้วย python

สืบ​เนื่องจาก​​ได้​ไปทำ​การซื้อ joypad ของ dragon มา​ใช้ พบว่าสำ​หรับบาง​เกมที่มี​ใน ubuntu มัน​ใช้ joypad บังคับ​ไม่​ได้ หลาย​คนบอกว่า​ให้ลอง qjoypad ดูดิ ​แต่ qjoypad ​เลื่อน​เมาส์​​แบบกระ​ตุก ​และ​ ตั้ง axis ​เป็น wheel ​ไม่​ได้ จึงลอง​เขียน​ดู​เองด้วย​ python ต้องการ pygame ​และ​ python-xlib

Feature

  1. smooth mouse
  2. mouse force
  3. hold button

Next release

  1. GUI
  2. Profile
  3. Application detect
  4. Multikey command

Solve game 24

มี​โจทย์​ ​อยู่ว่า ​เลข 4 ตัวต่อ​ไปนี้ ทำ​​เป็น 24 ​ได้ป่าว​ ​และ​ทำ​​ได้ยัง​ไง ขึ้​เกียจคิดจึง​เขียน​​โปร​แกรมหา พบว่า​ใช้งาน​​ได้ดีที​เดียว นะ​จ๊ะ​

Syndicate content