8000 GitHub - robocorp/example-windows-notepad at 64f0d1c6800d455751d624c64d229194039c4e79
[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

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

example-windows-notepad

Contains Robocorp Robot which automates Windows Notepad.

Robot steps

  1. open test.txt from current file 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 RFW"

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