If & tput setaf 1 > /dev/null 2>&1Įcho "$bold$red$2 Exit code = $1. Is_number "$1" || print_error_and_exit 4 "print_error_and_exit(): The argument #1 is not a number!" # check if the first argument is a number Test "$#" -eq 2 || print_error_and_exit 3 "print_error_and_exit(): There have not been passed exactly two arguments!" # check if exactly two arguments have been passed LPT: If you want to copy-paste a screenshot of a window, dont use the print screen button. With LightShot, you can quickly upload captured files on a range of social media websites and Mark up your screenshot with a text box, arrow, highlight and more. Test "$#" -eq 1 || print_error_and_exit 5 "is_number(): There has not been passed exactly one argument!" Step 1: Right-click the OneDrive icon at the bottom-right corner of your PCs taskbar. The fastest way to take a customizable screenshot.Its a wonderful software to take screenshots with a difference. # check if exactly one argument has been passed Lightshot Free Screenshot assistance Tool. It might be noteworthy, that I decided to write a script for it now. The reason probably is, that I haven't specified any shell to be run into, and so the following works: sh -c 'xdotool key -window $(xdotool search -limit 1 -all -pid $(pgrep Lightshot) -name Lightshot) "Print"' You can find the latest revision and usage instructions on its GitHub page.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |