Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/robocorp/example-windows-notepad
Contains a Robocorp robot which automates Windows Notepad.
https://github.com/robocorp/example-windows-notepad
rcc robot windows-notepad
Last synced: 2 months ago
JSON representation
Contains a Robocorp robot which automates Windows Notepad.
- Host: GitHub
- URL: https://github.com/robocorp/example-windows-notepad
- Owner: robocorp
- Created: 2021-02-10T11:20:29.000Z (almost 4 years ago)
- Default Branch: master
- Last Pushed: 2024-02-27T09:50:22.000Z (11 months ago)
- Last Synced: 2024-02-27T11:14:41.675Z (11 months ago)
- Topics: rcc, robot, windows-notepad
- Language: Python
- Homepage:
- Size: 26.4 KB
- Stars: 5
- Watchers: 18
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Windows Notepad automation
This example demonstrates a basic Notepad app automation, compatible with both Windows
11 and Server 2019.## How it works
1. Opens the provided [*test.txt*](devdata/test.txt) in Notepad using the Windows Run
widget.
2. Initially it configures the font.
3. Then it sets a text (current timestamp) in the already opened file.
4. Saves the new content in the file, then closes the app.### Configuring the run with environment variables
- `FILE_TO_OPEN`: An absolute filepath to a file, defaults to
[*test.txt*](devdata/test.txt) found in *devdata*.
- `NOTEPAD_FONT_NAME`: Defaults to "Times New Roman".
- `NOTEPAD_FONT_STYLE`: Defaults to "Regular".
- `NOTEPAD_FONT_SIZE`: Defaults to "12".## Links
- [Windows library](https://robocorp.com/docs/python/robocorp/robocorp-windows)
- [Windows locators](https://robocorp.com/docs/development-guide/locators/windows)
- [Windows setup](https://robocorp.com/docs/control-room/unattended/worker-setups/windows-desktop)
- [Desktop automation](https://robocorp.com/docs/development-guide/desktop)