<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>shinmai_papa</author_name>
  <author_url>https://blog.hatena.ne.jp/shinmai_papa/</author_url>
  <blog_title>適材適所</blog_title>
  <blog_url>https://www.tekizai.net/</blog_url>
  <categories>
    <anon>PowerShell</anon>
    <anon>効率化</anon>
  </categories>
  <description>検証した環境 UIAutomationを使ったウィンドウの最小化・最大化のサンプル UIAutomationのドキュメント 終わりに 例えば、ウィンドウをクリックしたり、ウィンドウに表示されている文字列を取得して、処理を分岐させたり・・・。 System.Windows.Automation(以下 UIAutomationと言う)を使うと、PowerShellによるRPA的なことが簡単にできます。 うまく使いこなせば、本格的なRPAもできます。 この記事ではUIAutomationを使ったウィンドウのサイズを最小化したり最大化したりする簡単なサンプルを紹介したいと思います。 検証した環境 Wi…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fwww.tekizai.net%2Fentry%2Fuiautomation_window_minmax&quot; title=&quot;【PowerShell】System.Windows.Automationでウィンドウを最小化・最大化する簡単なサンプル - 適材適所&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>https://cdn.user.blog.st-hatena.com/default_entry_og_image/154717164/1629679331646494</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2021-12-09 22:15:04</published>
  <title>【PowerShell】System.Windows.Automationでウィンドウを最小化・最大化する簡単なサンプル</title>
  <type>rich</type>
  <url>https://www.tekizai.net/entry/uiautomation_window_minmax</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
