How to create a screenshot and highlight text on a MAC

On a Windows 7 and onwards PC it is really easy to take a screenshot and highlight text using the highlighting pen found in Snapit. For a long time I have been trying to do that on a MAC. I finally found the answer this morning. I already new about “Command + Shift + 4” which lets you cut around the part of the screen that you want to take a snapshot then pastes the screenshot to your desktop. I could not figure out how to highlight text and I could not find a way to do it with preview or any of the other free programs that I tried.

 

So anyway this is how I learned how to do it.

Take a screenshot with “Command + Shift + 4” and open the picture with preview.

1

Now I am going to highlight the words “Gold Coast Area”

To do this I go to the top menu and select Tools > Annotate > Rectangle

2

A rectangle appears on your screen

3

You need to resize this to fit around the text you want to highlight and drag it to the correct position.

4

The next step is to adjust the translucency of the rectangle and shading and translucency of the shading.

You do this by clicking on border colour and fill colour in the menu bar.

5

Clicking on the border colour menu item give you a choice of colours

6

Click on  Show Colours to see more colours and an option for Opacity.

7

Scroll the Opacity slider until it looks visually correct.

Then close its window.

From here you can either leave it as it stands and save the changes or do the same thing for fill colour.

I am using green to make it visually different but normally I would keep it the same colour or empty.

8

And there you have it highlighted text.

 

 

 

 

Posted in MAC

Quick guide to using the vi editor

I am just going to show the most basic things you need to know about vi.

first to open a file type

vi /directory/file

to write a new file do the same thing in this case I am going to write a file called myfile to the desktop

vi /desktop/myfile

Screen Shot 2014-07-07 at 10.57.00 am

I am doing this on a MAC but it is fairly similar on a Linux bash shell

When you open a file you are in reading mode by default.

to write to a file press the “i” button on your keyboard

Screen Shot 2014-07-07 at 10.59.54 am

This puts you in insert mode. You can only enter text in insert mode.

So now you can type text normally

Screen Shot 2014-07-07 at 11.03.44 am

To get out of insert mode press the escape key “esc”

The word insert disappears.

Screen Shot 2014-07-07 at 11.05.46 am

To save this document you need to press the “:” followed by the “w” key and if you are going to close the document the “q” key.

I will just save it at this stage.

Screen Shot 2014-07-07 at 11.13.44 am

Note this would have worked if I was using a linux distro but for some reason my Mac requires me to create the file first you can do that with the touch command

touch myfile.txt

Screen Shot 2014-07-07 at 11.25.16 am

to close the document type :q

if there has been some editing of the file and you don’t want to save those changes type “:q!”

That is all you need to know to open a file edit it, save it and close it again.