<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>nurenezumi</author_name>
  <author_url>https://blog.hatena.ne.jp/nurenezumi/</author_url>
  <blog_title>Sanwa Systems Tech Blog</blog_title>
  <blog_url>https://tech.sanwasystem.com/</blog_url>
  <categories>
    <anon>C#</anon>
    <anon>アプリ開発</anon>
  </categories>
  <description>こんにちは、大昔はVC++でWindowsプログラミングをしていたwakです。先日業務でC#のコードから他のWindowsアプリを強制的にコントロール（メニューをクリックしたり、キー操作を行ったりといった手動操作をエミュレートしてアプリを制御する）して処理を自動化する必要に迫られ、頑張ってそんな感じのコードを書きました。今日はそのための基礎知識とサンプルコードをご紹介します。 もくじ Windowsの仕組み ウィンドウハンドルとメッセージ メッセージの内容 電卓を例にしたサンプル 猫は操作できません Windowsの仕組み……Windowsはウィンドウでできている まずWindowsでは、 ウ…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Ftech.sanwasystem.com%2Fentry%2F2015%2F11%2F25%2F171004&quot; title=&quot;C#で他アプリケーションを操作するための基礎知識 - Sanwa Systems Tech Blog&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url>http://cdn-ak.f.st-hatena.com/images/fotolife/n/nurenezumi/20151125/20151125110735.jpg</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2015-11-25 17:10:04</published>
  <title>C#で他アプリケーションを操作するための基礎知識</title>
  <type>rich</type>
  <url>https://tech.sanwasystem.com/entry/2015/11/25/171004</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
