0
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 1 year has passed since last update.

【PAD】Power Automate Desktopでボタンを押す

0
Posted at

やること

 Power Automate Desktop(PAD)の使い方をメモしておく。

事前確認:Qiitaでの記事

 以下の検索をしたところ、668件ヒットした。(2025/08/02時点)
  「Power Automate Desktop」の検索結果 - Qiita
 以下、いくつか紹介。

Power Automate DesktopとPower Automate

Power Automate DesktopとPower Automateは別物 #PowerAutomate - Qiita
最終更新日 2023年05月15日 投稿日 2023年05月14日
Power Automate DesktopはPower Automateと勘違いしやすいのではないか #PowerAutomate - Qiita
最終更新日 2023年05月15日 投稿日 2023年05月15日

RPA比較

【備忘録】RPAツール比較:UiPath/Power Automate Desktop(PAD)/Power Automate #PowerAutomate - Qiita
最終更新日 2025年08月02日 投稿日 2025年08月02日

Power Automate Desktopでできること

Power Automate Desktopの備忘録 #RPA - Qiita
投稿日 2021年06月24日

入門Power Automate Desktop:第零話「業務で使える?Power Automate Desktop」 #RPA - Qiita
投稿日 2021年11月24日
入門Power Automate Desktop:目次 #RPA - Qiita
最終更新日 2021年11月24日 投稿日 2021年10月31日

フロー事例,Tips

Power Automate Desktopで遊んでみた #Windows - Qiita
最終更新日 2021年03月08日 投稿日 2021年03月07日

Power Automate Desktop開発 Tips #PowerAutomate - Qiita
最終更新日 2024年08月09日 投稿日 2024年08月09日

Power Automate Desktopを初めて使用してみた #初心者 - Qiita
最終更新日 2023年12月05日 投稿日 2023年12月05日

Power Automate DesktopのフローをPythonで自動取得・保存する方法 #自動化 - Qiita
最終更新日 2025年08月02日 投稿日 2025年08月02日

✉️「法改正対応メールを各社へ一斉送信!」Power Automate × Excel × Outlookで実現する業務効率化フロー #PowerAutomate - Qiita
最終更新日 2025年07月30日 投稿日 2025年07月30日

ノーコードで、PDFデータから欲しい情報だけをExcelに自動でピンポイントに抽出!! #初心者 - Qiita
最終更新日 2025年05月27日 投稿日 2025年05月22日

事例

先日作成した【EXCEL】CopilotにVBAの提案をさせてみる #Excel - Qiita を利用し、PADでボタンを押すフローを作成する。
20250802_231149.jpg

入力開始/準備

フロー作成

20250802_215529.jpg
「新しいフロー」を押下する。
20250802_220120.jpg
「フロー名」を入力する。
20250802_220257.jpg
フロー入力準備完了した。
フロー入力前に、UI要素を登録しておく。

UI要素の登録

20250802_220356.jpg
右側のタブからUI要素を選択する。
20250802_220746.jpg
今回押下するボタンをこのように登録する。
20250802_220912.jpg
3つとも登録完了したところ。
20250802_221018.jpg
これで準備完了。フローを入力していく。

変数の準備

後で使用する待機時間を変数化し登録しておく。
20250802_221209.jpg
変数名は「NewVar」のまま、値を「1」とする。
20250802_221251.jpg

UI要素をクリック

20250802_221403.jpg
UI要素は最初に登録したものが選べる。
20250802_221450.jpg
まずは「ボタン1」を選択する。
20250802_221535.jpg
20250802_221628.jpg
今回はこのまま保存する。
20250802_221734.jpg
「ボタン1」→「ボタン2」→「ボタン3」→「ボタン1」の順に押下する。
これだけでも動作するが、折角なので、ボタンを押す間隔を変更する。

待機を登録

変数をそのまま利用

20250802_222334.jpg
先ほど登録した変数を利用する。
20250802_222415.jpg
20250802_222447.jpg
このまま使用する。
20250802_222530.jpg

変数を大きくする

20250802_222625.jpg
先ほど使用した変数を「+1」する。
20250802_222715.jpg

変数を演算して利用

20250802_223205.jpg
今回は*1としたが、*60として変数値を分として取り扱うこともできる。
20250802_223246.jpg

コメントを追加

20250802_222916.jpg

実行

20250802_231149.gif
自分の環境では、1コマンドに約2秒かかっていることが理解できる。

0
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?