{"categories":["Python","Python 3.4","Win32 API"],"published":"2014-12-11 00:00:00","provider_name":"Hatena Blog","author_url":"https://blog.hatena.ne.jp/potisan/","type":"rich","blog_title":"potisan\u306e\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u30e1\u30e2","image_url":null,"html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fpotisan-programming-memo.hatenablog.jp%2Fentry%2F2014%2F12%2F11%2F000000\" title=\"Python\u3067\u30a6\u30a3\u30f3\u30c9\u30a6\u30cf\u30f3\u30c9\u30eb\u3092\u5217\u6319\u3059\u308b - potisan\u306e\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u30e1\u30e2\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","provider_url":"https://hatena.blog","height":"190","description":"\u306f\u3058\u3081\u306b Python\u304b\u3089ctypes\u30d1\u30c3\u30b1\u30fc\u30b8\u3067Win32 API\u3092\u547c\u3073\u51fa\u3057\u3066\u30c8\u30c3\u30d7\u30ec\u30d9\u30eb\u30a6\u30a3\u30f3\u30c9\u30a6\u306e\u30cf\u30f3\u30c9\u30eb\u3068\u30bf\u30a4\u30c8\u30eb\u3092\u5217\u6319\u3059\u308b\u30b5\u30f3\u30d7\u30eb\u3067\u3059\u3002\u7d20\u4eba\u306a\u306e\u3067\u4e0d\u675f\u304b\u306a\u70b9\u3082\u591a\u3044\u3068\u601d\u3044\u307e\u3059\u3002\u307e\u305f\u3001\u4f7f\u7528\u3057\u3066\u3044\u306a\u3044\u95a2\u6570\u306f\u5b9f\u88c5\u306e\u307f\u3067\u30c6\u30b9\u30c8\u3092\u884c\u3063\u3066\u3044\u307e\u305b\u3093\u3002 \u30bd\u30fc\u30b9\u30b3\u30fc\u30c9 windowtext.py import ctypes def get_window_text_w(handle): length = get_window_text_length_w(handle) if length == 0: return \"\" buffer = ctypes.create_unicode_buffer(lengt\u2026","author_name":"potisan","url":"https://potisan-programming-memo.hatenablog.jp/entry/2014/12/11/000000","version":"1.0","blog_url":"https://potisan-programming-memo.hatenablog.jp/","title":"Python\u3067\u30a6\u30a3\u30f3\u30c9\u30a6\u30cf\u30f3\u30c9\u30eb\u3092\u5217\u6319\u3059\u308b","width":"100%"}