Macintosh Postings - Page 3
|Earliest: June 26, 2003||Latest: November 26, 2021||Total: 428|
Quickly Put the Computer to Sleep
Sometimes you need to put the computer to sleep without using the mouse. This happens when you're charging the mouse - or the mouse battery died.
Did you know that there?s a keyboard combination shortcut to quickly put your computer to sleep? This is a very useful combination to remember.
Download this graphic and use it as a quick reference to putting your computer to sleep.
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:.
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:
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.
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
Turn Off Notifications
- Open up the System Preferences?
- 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.
Keyboard Maestro Chrome Macro
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.
Sample Keyboard Maestro Action
Here is an example of one of the macros.
/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:
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,
Using the Action
Now when I need to get the information, I just follow these steps.
- Select the text
- Use the ?Instant Send? keyboard short cut
- Click Tab
- 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.
Download the action. After downloading, double-click on the zip file to uncompress it. Then double click on the file to install in LaunchBar
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:
|High||44100 Hz AAC audio|
|Maximum||44100 Hz, uncompressed Linear PCM 24-bit AIFF-C 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
- Fast way to record audio. Pretty much hit record and you're on your way.
- 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.)
- 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
- 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.
- 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.
- Limited Audio Configuration - You can only record using two settings High and Maximum. Use apps like Audacity for more configuration options.
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!
Here are the steps to quickly merge a bunch of files:
- Open up BBEdit
- Create a new Text Document (Command N)
- Go Under Edit menu and select Insert then ?File Contents...?
- Select the files that you wish to add then click Insert
- Open up BBEdit
- Create a new Text Document (Command N)
- 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
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.
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.
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?
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:
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.
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.
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.
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|