Macintosh blog postings

Macintosh Postings - Page 2

Earliest: June 26, 2003Latest: September 10, 2021Total: 417
July 2, 2021

Font Awesome Filter

Font Awesome is one of the popular online icon fonts. Web designers use it to make websites a little better.

You can easily search their collection for all sorts of creative icons. There are 7,865 icons in their collection - of that 1,609 are free.

One Bad Thing About Font Awesome Search

There is one downside to the Font Awesome search. When you find an icon, there's only one way to copy the HTML class - by clicking on the name. When you do this you get the whole style prefix not use the class name: Sample:.

<i class="fad fa-address-card"></i>

That's useful when you want to add it for the first time. What if you only wanted the font class name to replace an existing font awesome style? You would have to paste the content and then delete the remaining class info. This can be a pain if you're replacing a bunch of icons for a redesign.

Keyboard Maestro to the Rescue!

I decided to write a Keyboard Maestro Macro to fix this situation. It's basically a regular expression that filters out everything outside of the quotes.

Here's the Macro:

Font Awesome Macro

Regular Expression Used

"(.*)"

The nice thing about this Macro is that it can be executed by typing in the keyword: ".awesome " or using the filter menu in the Clipboard Switcher.

So now I can easily replace icons on a page with ones that I find on Font Awesome.

If there's a time when I am doing a lot of icon changes, I can change the macro to be easier to execute.

Not Using Font Awesome?

This is just a tip of how to use Keyboard Maestro for one instance. You may find another use of how this may help you have better copy/paste.

June 25, 2021

Turn off Notifications

Have you ever gotten those Notifications when you are sharing the screen? Perhaps you are sharing your computer and don't want people to peek into your text message notifications.

There's a simple way to fix that in macOS Big Sur

Big Sur Notifications

Big Sur Notification

Turn Off Notifications

  1. Open up the System Preferences?
  2. Select Notification ( Located on the right side of the dialog under Family Sharing.)

Now you can turn off all notifications for a particular durations. Alternatively, you can turn off the notifications for particular apps.

Suggestion: turn off Notifications for Slack, Messages and Mail.

June 18, 2021

Keyboard Maestro Chrome Macro

w has a lot of functionalities that can be enabled from the command line. This is handy when you want to launch Chrome with certain functions.

Using Keyboard Maestro, I can set up a taskbar menu of various configurations. This makes it easy to launch Chrome with a particular setting whenever I want. I don?t have to memorize commands and I don?t have to launch a terminal editor to run these commands.

I simply select the chrome action that I want and instantly Chrome launches.

Keyboard Maestro Chrome Command

Sample Keyboard Maestro Action

Here is an example of one of the macros.

Google Keyboard Incognito

Bash Command:

#! /bin/bash
/Applications/Google Chrome.app/Contents/MacOS/Google Chrome --incognito

List of Chrome Command line Commands

You can get a list of all the Chrome Command options with some explanation on this site:

List of Chromium Command Line Switches Peter Beverloo

June 11, 2021

Word Count LaunchBar Action

Sometimes I need a way to count a selected group of text. Usually, it?s to see if it?s long enough for a particular field.

If it was on a website, I would copy that text into BBEdit or another text editor. Then I would look at the status bar to see the number of words or length of the copied text.

There has to be a better way,

So I decided to create a LaunchBar action. It was really easy to do and a good task to brush up on my JavaScript skills.

Launch Bar Word Count

Using the Action

Now when I need to get the information, I just follow these steps.

  1. Select the text
  2. Use the ?Instant Send? keyboard short cut
  3. Click Tab
  4. Then type in ?Word? and then click return.

I get instant info on my selected text.

Download the Custom Action

I figured other people may want to use this so I am making it publicly available.

Word Count.lbaction
Click to Download

Download the action. After downloading, double-click on the zip file to uncompress it. Then double click on the file to install in LaunchBar

June 4, 2021

QuickTime Audio

Apple Quicktime has the ability to record video and audio files. This is a quick way to digitalize audio. For example, if you want to send an audio message in an email or a social media post.

There are two settings for audio:

Setting Description
High 44100 Hz AAC audio
Maximum 44100 Hz, uncompressed Linear PCM 24-bit AIFF-C audio

Quicktime Audio

Four Things I Learned

The output audio is off, by default. You have to adjust the volume to hear the recording.

Shortcut for creating a new audio recording is Shift Command N

The recording settings that Quicktime starts with are the same as the default sound input. This is defined in the System Preferences - select Sound.

When you have the QuickTime Inspector open, it shows you the current settings that you have set up.

Three Reasons to Use Quicktime

  1. Fast way to record audio. Pretty much hit record and you're on your way.
  2. Installed on all Macintosh computers. If the computer has Quicktime, you have the ability to record audio. (Seems like a tool that Mission's Impossible's Ethan Hunt might use to record a confession.)
  3. Apple Script Support! You can write Apple Script or Automator action to record audio based on an action - such as setting up a recording to listen to mystery sounds at the office at midnight.

Three Reasons Not to Use Quicktime

  1. Limited recording scope. You can't define recording by application. For example if you want to record audio from Safari. This can be done using Audio Hijack.
  2. No Menu Bar or Dock Record Option. You have to have the App open and then type the keyboard shortcut and then record. Too many steps to record something quickly. Best solution to this is Simple Recorder.
  3. Limited Audio Configuration - You can only record using two settings High and Maximum. Use apps like Audacity for more configuration options.
May 28, 2021

Combine Files using BBEdit

Earlier this week I had a bunch of Apache log files that I wanted to combine into a single file. I was trying to figure out the best way to do it. A quick Google search showed me a solution from 2014. The purpose of this post is to say that it still works!

B Bedit Combine Files

In BBEdit

Here are the steps to quickly merge a bunch of files:

  1. Open up BBEdit
  2. Create a new Text Document (Command N)
  3. Go Under Edit menu and select Insert then ?File Contents...?
  4. Select the files that you wish to add then click Insert

Alternate Way

  1. Open up BBEdit
  2. Create a new Text Document (Command N)
  3. In the Finder drag and drop the text files into the BBEdit window

Using the Command Line

Another solution is to use the Cat Unix command in Terminal. Here's a sample of what that would look like:

cat access.log.* >> website.log

May 21, 2021

Sleep via Keyboard

One of the complaints that people have with Apple's Mouse is the location of the charging port. It's located underneath the mouse. This means that you can't use the mouse when you charge it.

So people end up just setting up a reminder to charge the mouse at night - once a week.

The problem with that is, if the computer is on, there's no way to quickly put the computer to sleep using the keyboard.

There's is if you have LaunchBar.

Launch Bar Sleep

LaunchBar to the Rescue

LaunchBar has a built in action for Sleep. Simple type in the Command Space short cut and then type in Sleep and hit return.

Your computer goes to sleep.

Want to shut it down instead, Simple search for Shut and then hit return.

This is just one of many cool things that makes LaunchBar useful. I would highly recommend getting it.

Not in Spotlight

There's no action available in Spotlight. When you search for Sleep and select it, you are presented with the Energy Saver System Preferences.

May 14, 2021

Microsoft Teams Performance

Are you experiencing serious performance issues with Microsoft Teams? Are you having to close out applications like Slack and Chrome before you connect to a meeting?

Is Microsoft Teams maxing out the computer CPU?

Microsoft Teams C P U

Chances are that there's a simple settings adjustment that should be done. You'll need to disable the GPU hardware acceleration. On some older Macs, this may cause a considerable amount of slowness.

How to Disable GPU Hardware Acceleration

The GPU Hardware Acceleration is done in the settings panel of Microsoft Teams. Here are the steps:

  • Open up Teams
  • Click on your name on the top right and select settings
  • Check the "Disable GPU hardware acceleration"
  • Restart Microsoft Teams

This is what it should look like when completed:

Disable G P U Hardware

One More Thing...

I would suggest restarting the computer. It's not necessary as part of the steps, but it couldn't hurt.

You should see improvement in the next meeting. Your computer won't go to a crawl and you shouldn't have any drop frames during the meeting.

May 7, 2021

Camera Permissions

Recently I connected a new camera to my iMac. After it was connected, I was wondering what applications had camera support that I could try out the new camera.

I know that Apple has apps like Quicktime, Facetime, and Photo Booth that support the camera. What about other Apps on my computer?

The easy way to find out what apps have Camera support is to look at the Camera permissions.

Camera Security

Finding Camera Access

Simple steps to find what Apps have Camera access:

  • Go to System Preferences.
  • Select the Security & Privacy category
  • Select the Privacy Tab
  • Select Camera.

Note: That you have to allow Applications to have permission to access the camera. If you haven't used the camera functionality in some apps, you may not have been asked for permission to use the camera.

Quicktime Movie Recording

Quicktime

Using the "New Movie Recording" in Quicktime Player was the fastest way that I found to get RAW video on the computer.

The keyboard shortcut: Option Command N is good one to remember.

This is the capture options that you have:

High H.264 video and 44100 Hz AAC audio
Maximum Apple ProRes 422 video and Linear PCM audio
April 30, 2021

Zephyr Font

Every now and then, I like to look back at some fonts in my CD collection. Some of the fonts that I have are outdated and can't be used in the latest macOS. There are a few that are still usable.

One of the fonts in my collection that I found interesting is the Zephyr Font. Benn Coifman, the developer, named the font after the Zephyr trains.

What caught my eye about the font is that it is very similar to the GoPro Logo font. Here's an example of the font:

Zephyr

Font Description

After you have installed the files, "Zephyr.suit", "CZHer", and "CZHeralds.bmap" in your font folder, restart your word processor and print out a copy of "Zephyr Legend" (If you don't have Microsoft Word, I hope your translator can handle the new fonts). The top 2/3's of this file demonstrate the Zephyr font. At the bottom, you will see a couple of special characters that are in CZHeralds font. Note that the California Zephyr logo is split into three letters so it will have a lower probability of crashing your printer.

Zephyr font, all of its accompanying files, and train icon are © 1994-5 Benn Coifman. (that looks so nasty now that I typed it)

Three Things I Learned

This still works in MacOS 11.3 even though it is 27-years old (Created July 24, 1995). In fact, the copy I had was from a CD that was also about 27-years old. This means that I installed the same font that was released 27-years ago - I didn't just download it.

There is a similar font called Rail RoadRoman available on FontFreak. I wasn't able to find the Zephyr.suit font. There are other Zephyr fonts, but they didn't look the same.

Font was created using Altsys Fontographer 4.0.4D2 7/24/95

There are a couple of Easter Eggs in the font collection:

  • There is a Burlington Route logo when you type in # - this is a reference to the Chicago, Burlington and Quincy Railroad. To get this simply type in Shift 8.
  • There is a Face and a black cat. These are found by typing in Shift 2 for the face and Shift 3 for the cat. No clue on why these are there.