Haiku

Develop bash scripts to automate screenshots

For this task, you'll write bash scripts for application scripting with 'hey' to automate re-taking of User Guide screenshots.

Take notes of your experience of using hey. That'll help the students for the subsequent tasks.

A previous GCI task has worked on a script template (and a few example scripts) that you'll have to use. Get it at HaikuArchives/hey-shoot and study the template and examples, as well as the TIPS file there.

Find 5 images from the User Guide that you recreate with scripts. Announce your choices so we can make sure you're not duplicating work by another student.

Submit a pull-request for your scripts at the HaikuArchives/hey-shoot repo. Add to the TIPS file there, if you made some discoveries worth sharing.

Required skills

  • Basic knowledge of bash scripting

Required setup

For this task you need to have:

  • A Haiku beta image installed.
  • The User Guide installed (it's in HaikuDepot). To actually test your scripts you'll have to copy the files from /system/documentation/userguide to e.g. /boot/home/ as the system folder is read-only!

Recommended reading and help

Task tags

  • bash
  • hey
  • scripting

Students who completed this task

BachToTheFuture

Task type

  • code Code
close

2018