Monday, July 20, 2020

How to use text reader in macOS

Sometimes you are tired of reading a long email or article, or maybe want to hear the message while doing something else. On macOS, you can configure accessibility features to do that. 

First, open System Preferences.
In System Preferences, select Speech, and then check "Speak selected text when the key is pressed". The default shortcut keys are Option+Esc. There are some voice options. Siri Female is probably the best.

Now remember the shortcut keys. Whenever you want the computer to read text for you, select the text and hit the shortcut keys.

Wednesday, June 24, 2020

How to get the WiFi password from a saved profile on Windows

Sometime you forgot the WiFi password for some place you have visited, and you do have a saved profile on your Windows laptop. With a couple of commands, you can get it. First, open a command prompt. Run the following command to show a list of saved profiles.

netsh wlan show profiles

The list may look like below.

Profiles on interface Wi-Fi:

Group policy profiles (read only)
---------------------------------
    <None>

User profiles
-------------
    All User Profile     : My Home
    All User Profile     : Guest

Say, you want to get the password for "My Home". Add the profile name to the end of the previous command and followed with key=clear.

netsh wlan show profiles "My Home" key=clear

In the output, you will see a section of Security settings. The Key Content value is the password in clear text.

Security settings
-----------------
    Authentication         : WPA2-Personal
    Cipher                 : CCMP
    Authentication         : WPA2-Personal
    Cipher                 : GCMP
    Security key           : Present
    Key Content            : MyWiFiPassword

As you can see,  it's very easy to get the password. When guests coming to your house and asking for your WiFi password, don't think that the guests won't know the password if you type it in yourself on their devices.

Friday, June 19, 2020

How to highlight text in a web page


When you share a URL to a long article, sometimes you want to highlight certain text to make your point.

Chrome has the text highlight feature.

For example, a plain link to a Wikipedia article.
https://en.wikipedia.org/wiki/Coronavirus
If you want to highlight a short sentence, you can put #:~:text= at the end of URL and followed by the text to be highlighted.
https://en.wikipedia.org/wiki/Coronavirus#:~:text=their%20origin%20in%20bats

If you want to highlight a long paragraph, the URL may become too long to share. In this case, you can put start text and end text with a comma in the middle. That is, #:~:text=startText,endText.

https://en.wikipedia.org/wiki/Coronavirus#:~:text=Many%20human,finally%20to%20humans
For more details, visit the the link.

Wednesday, June 17, 2020

How to use text reader in macOS

Sometimes you are tired of reading a long email or article, or maybe want to hear the message while doing something else. On macOS, you can ...