June 28, 2018

Links of Note 2018-06-28

San Francisco: The system font for iOS, macOS, tvOS, and watchOS. I am using SF Mono for all my writing and I love it.
Fonts - Apple Developer

Made me smile. I am familiar with the rabbit hole.
Curiouser and curiouser - BrettTerpstra.com

Geeky file transfer service. I love it.
transfer.sh - Easy and fast file sharing from the command-line.

An Alfred workflow to use transfer.sh: alfred-workflows/UploadFile at master · vitorgalvao/alfred-workflows

A Keyboard Maestro macro to use transfer.sh: “Share with transfer.sh” Macro - Macro Library - Keyboard Maestro Discourse

An insight into the process of writing from a scientist. Moving from Petunia to the practice of science.
This is how I write science papers

macosxguru at the gmail thingie

Font Science Writing File Transfer
June 25, 2018

Useful Keyboard Commands for macOS

Some Keyboard Commands Every Mac User Should Know

These are the basic keyboard commands that you will use a lot.

Action Keyboard Command
Switch between Launched Applications ⌘+[tab], hold down the ⌘ key and keep pressing [tab] to move from app to app. ⇧⌘ +[tab] to go back through the list of launched apps
Quit Applications ⌘+Q
Close a Window ⌘+W
Copy and Paste ⌘C and ⌘V
Cut ⌘X. Cut puts the selected data in the clipboard. You can paste it to another location if you want. It is different from the delete key, in that when you delete something, it doesn’t get put in the clipboard.
Select All Items ⌘A
Find Items ⌘F
Undo and Redo ⌘Z is Undo. ⇧⌘Z is Redo.
Force Quit ⌥⌘⎋ gives you a list of running apps. Choose the one you want and Force Quit it. [⎋ is the Escape key]. This is useful when an application becomes unresponsive.
Move to Trash ⌘⌫. (⌫ is the delete key).
Empty Trash ⇧⌘⌫. If you want to suppress the “Are you sure?” message use ⇧⌥⌘⌫.
Get Info ⌘I. Choose a file in the Finder and hit ⌘I to get information on it.
Preferences ⌘,. In most applications this will lead you to its preference pane.
Spotlight ⌘␣. That is command and the spacebar.
QuickLook Select an item in the Finder and press the spacebar.
Change Windows ⇧⌘`. This will switch between open windows in an application.
Put Display to Sleep ⌃⇧(power button) or, ⌃⇧⏏ will put the display to sleep.
Log Out of User Account ⇧⌘Q
Log Out of User Account Instantly ⌥⇧⌘Q
Quit All Apps and Restart ⌃⌘⏏
Quit All Apps and Shutdown ⌃⌥⌘⏏
Force Restart ⌃⌘
Take a Screenshot ⇧⌘3
Take a Screenshot of an Area ⇧⌘4

Keyboard Commands for Dealing With Text

These are useful when you are dealing with text in any macOS application.

Action Keyboard Command
Forward Delete ⌃D
Delete Everything to the Right of the Insertion Point ⌃K
Delete Everything to the Left of the Insertion Point ⌘⌫
Align Center ⌘E
Align Justified ⌘J
Align Left ⌘L
Align Right ⌘R
Find Dialogue ⌘F
Find and Replace ⌥⌘F
Find Next ⌘G
Find Previous ⇧⌘G
Font Dialog ⌘T
Look up Word in Dictionary ⌃⌘D
Display Spelling and Grammar Window ⇧⌘:
Find Misspelled Words ⌘;

Keyboard Commands for Selecting Text

These commands help you in selecting text.

Action Keyboard Command
Select Up to Start of Word From the Insertion Point ⇧⌥←
Select Up to End of Word From the Insertion Point ⇧⌥→
Select Up to the Start of the Line From the Insertion Point ⇧⌘←
Select Up to the End of the Line From the Insertion Point ⇧⌘→
Select Up to Start of the Doc From the Insertion Point ⇧⌘↑
Select Up to End of the Doc From the Insertion Point ⇧⌘↓

Keyboard Commands for Navigating Within Text

These commands are useful for navigating within your text document.

Action Keyboard Command
Go to the Start of the Line Where Your Insertion Point Is ⌃A
Go the End of the Line Where Your Insertion Point Is ⌃E
Go to Start of the Doc ⌘↑
Go to End of the Doc ⌘↓
Go to Start of the Line ⌘←
Go to End of the Line ⌘→
Go to the Beginning of the Word ⌥←
Go to the End of the Word ⌥→

How Does One Learn Keyboard Commands?

People have different ways of learning keyboard commands. Some print them out. Some bookmark them on the browser. Some keep the file open all the time. Some make notes and type them out to try to memorize them.

I choose a subset of commands I want to learn and add them to the beginning of my diary file. I write a diary every day. I access it several times a day. The subset is placed at the top of the diary file. I will have the same subset on the top of my individual diary files every day for a week, sometimes more. When I am convinced that I know the commands, I will introduce a fresh subset of commands to the diary file. I insist on using the keyboard commands I have learned. I refuse to go to the menus. If there is a keyboard command available, I want to learn it. It might require several trips to the master file of keyboard commands to refresh my memory but after a while it will become part of my muscle memory. Yes, it sounds like a lot of work, but the performance gains are substantial. Over time, you become productive with the tools you live in.

macosxguru at the gmail thingie

Keyboard MacOS
June 11, 2018

Alfred Workflow 02 - System Commands, Clipboard, and a Couple of Workflows

Alfred IconAlfred Icon

The Alfred Workflow 01 - Caffeinate Control - Bicycle For Your Mind was the first in this series.

System Commands

Today I am going to write about some system commands which are built into Alfred.

Alfred System CommandsAlfred System Commands

Accessible through the System pane in preferences, this is a collection of useful commands you can use in Alfred to perform system tasks.

All of these can have assigned keywords. Pick ones you are going to remember. I use the one for Screen Saver, Empty Trash, Sleep, and Toggle Mute several times a day. The first time you use these commands they might not show up at the top of the list, find it and select it from the list and Alfred learns your preference. Next time, the command shows up at the top of the list.

Clipboard

Alfred ClipboardAlfred Clipboard

There are several clipboard apps in the marketplace. I don’t need them. Alfred provides me with the clipboard functions I need. I want my clipboard to contain text. I don’t need to keep images or files in the clipboard, except for immediate use. It suits me that I can ask Alfred to keep only text items on the persistent clipboard. You can choose to keep your clipboard contents for three months.

You can assign a viewer hotkey, I use double tap on the ⌘ key. I sometimes use the clipboard keyword. You can choose to have snippets show up in the clipboard list. If you have a lot of snippets saved in Alfred and sometimes forget what the contractions are, this comes in handy.

Alfred Clipboard MergeAlfred Clipboard Merge

Clicking the Merging tab in the Clipboard preference pane leads you to the best feature in the Alfred clipboard. The ability to merge items to form one clipboard item. I can copy a bunch of individual items and merge them all into one big list while copying them.

Hold down the ⌘ key and double tap C to merge items together. When you are done with the collecting of items, you paste (⌘V) the merged clipboard into your desired application. This is a great way for me to keep a list of URL’s or a list of items I need to remember. Anytime I feel the need to collect information together and keep them corralled into one space, I find myself using the merged clipboard feature in Alfred.

Alfred Clipboard AdvancedAlfred Clipboard Advanced

You can choose applications you want the Alfred clipboard feature to ignore in the Advanced tab of the Clipboard preference pane. It is a good idea to keep your password manager in this list.

A Couple of Workflows I Find Useful

I am going to highlight two workflows that get a lot of use. I didn’t write these. I am grateful to the people who did. They have made my life easier and efficient. Thank you.

Add to Instapaper

Add URLs to Instapaper via Alfred is a workflow which gets a lot of use. It is a simple workflow. When I find a page on the Web that I do not have the time to read but want to get back to at a later stage, I save it to Instapaper by using this Workflow. When I have the time, I go to Instapaper and catch up on my reading.

derbingle is the author of this workflow. Thank you.

App Version

Alfred App VersionAlfred App Version

Everyday I go to MacUpdate to see what are the new programs which have been released, and which are the programs that have been updated for the Mac. I am not always sure that I have the latest version of the program installed on my Mac. This is not a trivial task. Go to the Applications folder on the hard drive, find the application, Get Info on the Application (⌘I), and check the version number. AppVersion makes it easy. I type av, hit Enter, and then type the name of the Application, and Alfred tells me the version number with the help of the App Version workflow.

Vitor is the creator of this workflow. Thank you Vitor for this and a whole host of other workflows which make my life easier.

Alfred Usage 2018-06-11Alfred Usage 2018-06-11

Alfred with Mega Supporter Powerpack is one of those investments I have made which pays off everyday. I can’t imagine using a Mac without this application.

macosxguru at the gmail thingie

Alfred macOS
June 7, 2018

James Herriot: The Vet from Darrowby, Yorkshire

All Creatures Great and SmallAll Creatures Great and Small

All Creatures Great and Small (All Creatures Great and Small Book 1) by James Herriot: Kindle Store

All Things Bright and BeautifulAll Things Bright and Beautiful

All Things Bright and Beautiful (All Creatures Great and Small Book 2) by James Herriot: Kindle Store

All Things Wise and WonderfulAll Things Wise and Wonderful

All Things Wise and Wonderful (All Creatures Great and Small Book 3) by James Herriot: Kindle Store

The Lord God Made Them AllThe Lord God Made Them All

The Lord God Made Them All (All Creatures Great and Small Book 4) by James Herriot: Kindle Store

Every Living ThingEvery Living Thing

Every Living Thing (All Creatures Great and Small Book 5) by James Herriot: Kindle Store

James Herriot, a vet who practiced in a town called Thirsk (Darrowby in the books), close to the Yorkshire Dales wrote a series of novels. They dealt with his experiences as a vet in the 1930s-50s.

I was exposed to his books in my late teens. I have gone back to them time and again. Herriot had a wicked sense of humor and the stories are sometimes laugh-out-loud funny. They are also imbued with the frustrations and sadness which are integral to the act of looking over the health of a whole village of animals in a farming community. They transport me to a simpler time. He talks about a profession I have no exposure to, about a world I have no clue about, a time when I did not exist. I enjoy every minute I spend there. Herriot has a lovely way with words. His descriptions of the weather, the countryside, the smells and the people jump out of the pages and fill me with insight and longing. Insight into a world I do not know and longing for a long gone era. I love the books and the milieu they live in.

There is a a TV series from the BBC. I enjoyed that too. The TV series does take liberties from the original stories, they introduce a few extra characters, but it is a beautiful watch. If you love the books, it is worth your time to check it out.

My “mean aunt” introduced me to James Herriot. I thank her for the gift. It has given me a lot of pleasure.

As you can tell, I recommend anything James Herriot wrote heartily.

macosxguru at the gmail thingie

Books
June 4, 2018

iA Writer 5.0 Keyboard Commands

iA Writer Light IconiA Writer Light Icon

iA Writer 5.0 has added/changed a few of the keyboard commands. Here is the new list:

Function Command
File Menu
New in iCloud ⌘N
New in Library ⌥⌘N
New in Library in Window ⇧⌘N
Open… ⌘O
Close Window ⇧⌘W
Close Tab ⌘W
Save ⌘S
Save as… ⇧⌘S
Export ⇧⌘E
Print ⌘P
Print Plain Text ⌥⌘P
Page Setup… ⇧⌘P
Edit Menu
Undo Typing ⌘Z
Redo ⇧⌘Z
Cut ⌘X
Copy Formatted ⌥⌘C
Copy HTML ⇧⌘C
Paste ⌘V
Delete ⌫
Select All ⌘A
Find ⌘F
Find Next ⌘G
Find Previous ⇧⌘G
Find and Replace ⌥⌘F
Search Library ⇧⌘F
Show Spelling and Grammar ⌘:
Check Document Now ⌘;
Format Menu
Headings 1-6 ⌘1-6
Unordered List ⌘L
Unordered Task List ⌥⌘L
Ordered List ⇧⌘L
Ordered Task List ⌥⇧⌘L
Mark Task Complete ⌘.
Blockquote ⌘>
Body ⌘0
Shift Right ⇥
Shift Left ⇧⇥
Shift Up ⌥⌘↑
Shift Down ⌥⌘↓
Strong ⌘B
Emphasis ⌘I
Add Link ⌘K
Add Footnote ⌃⌘K
Clear Styles ⌥⌘⌫
View Menu
Day Mode ⌃⌘N
Show Library ⌘E
Hide Organizer ⌥⌘E
Show Preview ⌘R
Reload Preview ⇧⌘R
Text Size Zoom In ⌘+
Text Size Zoom Out ⌘-
Show All Tabs ⇧⌘\
Enter Full Screen ⌃⌘F
Focus Menu
Enable/Disable Focus Mode ⌘D
Enable/Disable Syntax Highlight ⇧⌘D
Go Menu
iCloud ⇧⌘I
Quick Search ⇧⌘O
Window Menu
Minimize ⌘M
Zoom ⌃⌥⌘F
Show Previous Tab ⌃⌘⇥
Show Next Tab ⌃⇥
Commands Without Menu Equivalents
Next Sentence ⌥⌘→
Previous Sentence ⌥⌘←
Apple Dictionary ⌃⌘D

Selection Commands

Hold down Shift with any of these to create/extend a selection.
Previous/next word: ⌥← and ⌥→
Start/end of the line: ⌘← and ⌘→ (Also with ⌃)
Start/end of the document: ⌘↑ and ⌘↓ (Also with ⌃)

Focus Commands

Use ⌃⇥ and ⌃⇧⇥ to switch between Organizer, File Browser, and Editor without taking your hands off keyboard.

In the Organizer, you can ⇧-click to select contiguous files or ⌘-Click to select multiple arbitrary files.

Emacs keyboard commands which work in iA Writer

This is a selection of Emacs commands which also work in iA Writer.

Command Behavior
⌃K Deletes from the cursor to the end of the current line
⌃O Inserts a new line after the cursor. The cursor stays in the current line
⌃B Moves the cursor one character to the left
⌃F Moves the cursor one character to the right
⌃N Moves the cursor down one line
⌃P Moves the cursor up one line
⌃E Moves the cursor to the end of the current line. If you use word wrap, the cursor moves to the physical, not the displayed, end of the current line
⌃A Moves the cursor to the beginning of the current line. If you use word wrap, the cursor moves to the physical, not the displayed, beginning of the current line
⌃V Scrolls down within the document

Additions Made Through KeyboardMaestro

There were some menu items which I thought would be improved by adding keyboard commands to them. I used KeyboardMaestro to add them to iA Writer.

Table of ContentsTable of Contents

Additions Made Through KeyboardMaestro
Add Table of Contents ⌃C
Add Page Break ⌃P
Add Horizontal Rule ⌃R
Add Table ⌃T

These are the keyboard commands I know of. If I get to know any more, will add them to the list.

macosxguru at the gmail thingie.

iA Writer macOS