SlideShare a Scribd company logo
1 of 13
Download to read offline
RPA COMMUNITY 関西スペシャル
複合機プリンターへの
印刷自動化で調べたこと
masuoのブログ/masuo
2021年1月12日
#RPALT
自己紹介 #RPALT
Automation Anywhere(1年), BizRobo!(≒1年)RPA経験:
業務プロセス改善が専門の技術士(情報工学部門)
小原増雄名前:
活動:
OSS:Open Source Software
個人のブログやRPACommunityで、OSSツールの
SikuliXやUI Automation PowerShell Extensions
の紹介
BizRobo!の特長はBuilt-inブラウザ
ファイルアップロードのファイル選択については、BizRobo!独自の専用ダイアロ
グが表示する仕掛けになっているのでアップロードも問題なし。
個々のWebブラウザは開かない。
I don't need it
Webブラウザで動作するアプリケー
ションの操作だけで完結するなら、
実行環境(Desktop)を複数用意しな
くてもロボットを同時に実行可能。
#RPALT
今回の課題
mspaint.exe /pt "C:¥work¥screencapture.png" "printername"
screencapture.png printername
#RPALT
アプリケーションを実行するときのオプションで、「カ
ラーモード」の設定や「ユーザーID」の入力ができない。
システムダイアログの操作しかない?
白黒/カラー
の切替
ユーザーID
の入力
人がプリンターの場所まで行って、操作パネルでユーザーIDを入力して出力
指示するまでプリントアウトを保留する機能を使うとき入力が必要になる。
#RPALT
BizRobo!のDA機能
DA:Desktop Automation
実行環境(Desktop)で操作対象アプリケー
ションを開いて、自動操作する機能
【対象アプリケーションの例】
・Win32/.NET/WPFアプリケーション
・SAPやJavaアプリケーション
#RPALT
印刷設定のためだけにDA使いたくない
Desktop Automationの実行環境が1つ
ロボットの実行スケジュールを決めてお
いて競合しないようにするか?
オンデマンド実行するロボットと
競合するリスクは残る。
#RPALT
コマンドで実現する方法を探す #RPALT
「printui.dll」が見つかりました!
何か方法が有るはずだ。
業務名でプリンター定義
業務1
業務2
1234
5678
#RPALT<準備1>
ユーザーID:1234
ユーザーID:5678
デバイスとプリンター
印刷設定を保存する #RPALT<準備2>
rundll32.exe printui.dll,PrintUIEntry /Ss /n "業務1" /a C:¥work¥A4横カラー
A4横カラー
010101
010101
010101
業務1
rundll32.exe printui.dll,PrintUIEntry /Ss /n "業務2" /a C:¥work¥A4縦白黒
A4縦白黒
010101
010101
010101
業務2
保存
保存
コマンドライン実行で印刷設定&印刷
業務1
#RPALT
mspaint.exe /pt "C:¥work¥業務1.png" "業務1"
業務1.png ユーザーID:1234
rundll32.exe printui.dll,PrintUIEntry /Sr /n "業務1" /a C:¥work¥A4横カラー
A4横カラー
010101
010101
010101
業務1
設定
自動化って楽しい! #RPALT
おわりに #RPALT
UI Automation PowerShell Extensions 活用講座
UI Automation PowerShell Extensionsを活用すると、身近にあるソフトウェアだけ
でGUI操作の自動化を実現できます。(Win32/.NET/WPFアプリケーションが対象で
す。Webブラウザ上で動作するアプリケーションや、Javaアプリケーションなどは操作
できません。)
会社で導入するとなると、『ソフトウェアを統一しなきゃ』とか『製品の継続性に問題
ないか』とか、考える必要がありますから、あくまでも個人レベルで業務の効率化を図
るときの選択肢とはなりますが、日々のGUI操作でストレスを感じているものがあるな
ら、自分専用にちょっと自動化して、楽しんでみてはいかがでしょうか。
で公開中
今日の内容が、少しでも皆様の役に立てば幸いです。

More Related Content

Featured

2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by Hubspot2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by HubspotMarius Sescu
 
Everything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPTEverything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPTExpeed Software
 
Product Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage EngineeringsProduct Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage EngineeringsPixeldarts
 
How Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthHow Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthThinkNow
 
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfAI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfmarketingartwork
 
PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024Neil Kimberley
 
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)contently
 
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024Albert Qian
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsKurio // The Social Media Age(ncy)
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Search Engine Journal
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summarySpeakerHub
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next Tessa Mero
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentLily Ray
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best PracticesVit Horky
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project managementMindGenius
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...RachelPearson36
 

Featured (20)

2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by Hubspot2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by Hubspot
 
Everything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPTEverything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPT
 
Product Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage EngineeringsProduct Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage Engineerings
 
How Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthHow Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental Health
 
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfAI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
 
Skeleton Culture Code
Skeleton Culture CodeSkeleton Culture Code
Skeleton Culture Code
 
PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024
 
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)
 
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie Insights
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search Intent
 
How to have difficult conversations
How to have difficult conversations How to have difficult conversations
How to have difficult conversations
 
Introduction to Data Science
Introduction to Data ScienceIntroduction to Data Science
Introduction to Data Science
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best Practices
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project management
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
 

RPALT20210112