8000 GitHub - robocorp/example-windows-notepad at 33d5dc14ab303703908f5c6b0a69a57f8c22c2cc
[go: up one dir, main page]

Skip to content

robocorp/example-windows-notepad

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

example-windows-notepad

Contains Robocorp Robot which automates Windows Notepad.

explanation. "Robocorp Robot" means directory structure which is runnable with rcc tool (link at the bottom)

Robot steps

  1. open test.txt from current directory and expect that it is opened by Notepad (as .txt associated application)
  2. change font settings
  3. clear existing text
  4. copy text from clipboard into editor
  5. save and exit

Configuring run with environment variables

  • FILE_TO_OPEN (absolute filepath to file, defaults to current directory's test.txt)
  • NOTEPAD_FONT_NAME (default with Python is Comic Sans MS and with RFW Times New roman)
  • NOTEPAD_FONT_SIZE (default is 18)
  • NOTEPAD_FONT_STYLE (default is Regular)

Running Robot with the Robot Framework syntax

> rcc run -t "Notepad with Robot Framework"

Running Robot with the Python syntax

> rcc run -t "Notepad with Python"

Links

About

Contains a Robocorp robot which automates Windows Notepad.

Topics

Resources

Stars

Watchers

Forks

Contributors 8

Languages

0