<?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>環境 PowerShellを起動する コードを貼りつける 操作したいウィンドウのタイトルと変更後の幅、高さ、横座標、縦座標を設定する エラーが出たら 「null 配列にインデックスを付けることはできません。」が出た ウィンドウの幅、高さが変わらない UI AutomationとPowerShellを組み合わせると結構自動化できる 終わりに Windows APIによるウィンドウの移動もできるよ！ Microsoft UI Automationを使うとWindowsのアプリケーション操作を自動化することができます。 ユーザーインターフェースの自動テストやRPAアプリケーションで使用されていますが…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fwww.tekizai.net%2Fentry%2Fpowershell_uiautomation_window&quot; title=&quot;【UI Automation,PowerShell】ウィンドウを移動・サイズを変更する最も簡単なプログラム - 適材適所&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-ak.f.st-hatena.com/images/fotolife/s/shinmai_papa/20210719/20210719130939.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2021-07-19 00:00:00</published>
  <title>【UI Automation,PowerShell】ウィンドウを移動・サイズを変更する最も簡単なプログラム</title>
  <type>rich</type>
  <url>https://www.tekizai.net/entry/powershell_uiautomation_window</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
