Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
210112 複合機プリンターへの印刷自動化で調べたこと masuoさん
Search
comucal
PRO
January 12, 2021
Technology
570
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
210112 複合機プリンターへの印刷自動化で調べたこと masuoさん
comucal
PRO
January 12, 2021
Transcript
13 slides
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 Decks by comucal
See All by comucal
「駆動」って言葉、なんかカッコイイ_Mitz
comucal
PRO
0
250
2025年 コミュニティ×ビジネスのリアル_Mitz
comucal
PRO
0
260
コミュニティが仕事になった人間の意識|娯楽志向か情報志向か
comucal
PRO
0
120
生成AI情報2025.3.21
comucal
PRO
0
150
テック系コミュニティの参加者を徹底分析_株式会社コミュカル Mitz
comucal
PRO
0
220
AppSheet タスク管理アプリ 中級編
comucal
PRO
0
710
参加人数が多ければ正解?
comucal
PRO
0
450
交流会のコツ 自己紹介編~コミュ学~
comucal
PRO
0
260
コミュニティ運営勉強会OP
comucal
PRO
0
190
Other Decks in Technology
See All in Technology
Is the Website Dying?
miriamschwab
0
160
20261119_AgentCore
takuyay0ne
2
280
プラガブルで宣言的なソフトウェアファクトリーを支えるTypeScript
timakin
2
620
人の努力に頼らないセキュリティをエンジニアリングする在り方 / An approach to engineering security that does not rely on human effort
carta_engineering
0
240
個人ASを取得して、自宅Kubernetes上のVMをグローバルIPで公開した話
munenick
0
230
サーバーラックは作る時代! 3Dプリンターで作る10インチラックのススメ
jacopen
2
520
Platform Engineering をベースとした Agentic Software Factory の実践
110y
3
970
AWS Well-Arhitected Frameworkセキュリティの柱 について
miu_crescent
PRO
2
260
Del vibe coding a un Desarrollo (agéntico) fiable
jcabot
0
220
Context parameters で作る!はじめての型クラス
kworkdev
PRO
1
180
こんなに変わった! AWSネットワークの常識
shotashiratori
16
11k
そのイメージ、どのCIが作った? Artifact Attestationsで来歴を固定する / Which CI system created that image? Pinning provenance with Artifact Attestations
chmikata
0
270
Featured
See All Featured
Web Performance Is a Journey [PerfNow 2026]
tammyeverts
2
150
Building a Modern Day E-commerce SEO Strategy
aleyda
45
9.3k
How Fast Is Fast Enough? [PerfNow 2025]
tammyeverts
3
1k
Ten Tips & Tricks for a 🌱 transition
stuffmc
1
290
Measuring Dark Social's Impact On Conversion and Attribution
stephenakadiri
2
340
Bootstrapping a Software Product
garrettdimon
PRO
306
120k
How to Build an AI Search Optimization Roadmap - Criteria and Steps to Take #SEOIRL
aleyda
1
2.3k
Money Talks: Using Revenue to Get Sh*t Done
nikkihalliwell
0
570
Have SEOs Ruined the Internet? - User Awareness of SEO in 2025
akashhashmi
0
560
Leveraging Curiosity to Care for An Aging Population
cassininazir
1
580
Utilizing Notion as your number one productivity tool
mfonobong
4
650
New Earth Scene 8
popppiees
5
2.9k