My macOS Shortcut to Tile Windows
In the macOS Monterey Shortcuts Gallery, there are Shortcuts to “Tile Last 2 Windows”, “Tile Last 3 Windows” and “Tile Last 4 Windows”. This is my single combined version for any window (not just the last x).
learnings
In the macOS Monterey Shortcuts Gallery, there are Shortcuts to “Tile Last 2 Windows”, “Tile Last 3 Windows” and “Tile Last 4 Windows”. This is my single combined version for any window (not just the last x).
While waiting for macOS Universal Control, I wanted to try AirPlay Receiver. Unfortunately, it is not supported (“locked”) on my older macBook. But recently I stumbled upon Mr. Macintosh’s “Airplay BLOCKED on Monterey? How to unlock it!” video on YouTube!
I have a hangup about Microsoft Office on macOS - it often elects to paste images from the clipboard in TIFF format, instead of PNG or JPG, which results in massive files, be it PowerPoint .PPTX presentations, Word .DOCX documents or Excel .XLSX spreadsheets. Enter: A new macOS Shortcut to convert clipboard images to (lossless) PNG or (lossy) JPG.
This is an opinion piece on Shortcuts v5.0 (1144.2) for macOS Monterey v12.0.1. Readers of my blog know I use Automator, AppleScripts, and shell scripts to get stuff done. So I was curious to see if I could replace all these with just Shortcuts. TL;DR: no, no I can’t.
Here is a macOS Shortcut to take a screenshot and extract text from it using Optical Character Recognition (OCR). I find this useful to copy text from e.g. a presentation or video during a virtual call, etc.
I’ve been trying out Shortcuts on macOS 12 Monterey! I have written about Shortcuts on iOS/iPadOS in the past, so was keen to migrate my automation scripts from Automator or osascript
to Shortcuts. Here is the first one: A Shortcut plus global hotkey to an application, leveraging AppleScript/JXA.
Today’s post will be a long one - recently, Docker announced some changes to the Docker Desktop license, so I figured I’d check out the Lima for macOS instead. As always, I end up complicating things by doing everything my way...
A few posts back, I described my no-code approach to customizing my MacBook touch bar in Visual Studio Code, where I used Apple’s SF Symbols 3 Beta icon library. Now, Apple has release a new beta of SF Symbols that makes the process easier!
I stumbled upon a post entitled “Piping stdout and stderr to Preview” by Erica Sadun - the cool bit that caught my attention was about redirecting man
pages (UNIX help) to Preview on macOS. But this got me thinking... to redirect the output to Visual Studio Code instead!
I have a plethora of Bash scripts littered throughout my filesystem, many written for one specific purpose and promptly forgotten about (often, just named go.sh
!) I thought I share one today - a script to extract embedded ZIP files from Microsoft Office documents created in Windows.
A couple of posts ago, in my (rather unique, if I may say so myself) zero-code VS Code Touch Bar Extension for Markdown, I used the standard Apple icons in the SF Symbols set. I found them a bit too large for the touchbar, and wated to shirink them slightly by padding them with extra pixels around the image.
This is part two, deploying a Visual Studio Code touchbar extension for Markdown notes, using the normal “correct” development method. I’d suggest referring to part one, for my much simpler, zero-code method.
This is the first part of a two part series on deploying your own touchbar extension for Visual Studio Code, designed mainly to work with Markdown notes. This post gives you a shortcut method with zero code! The next post will details a more “correct” method. If you don’t already realize - this applies to MacBooks with Touch bars running macOS only.
I setup Firefox on macOS to automatically download files to my “Downloads” folder without prompting (under Preferences... > Downloads, and select Save files to... instead of Always ask you where to save files). If there is an existing file with the same name, Firefox appends (1)
to the filename (then (2)
, (3)
and so on). Over time, I land up with files with similar file names, which may or may not be identical. This shell script finds and moves duplicate files to a different folder... for subsequent manual deletion.
Last month, one morning, my MacBook (still running Catalina) started behaving strangely - though I was not running anything, it was sluggish as the CPU was too busy and the fans were on high. I traced it to the iOS Simulator service that comes with XCode.
For the longest time, I’ve struggled to get the macOS version of Microsoft Office (Word, PowerPoint, Excel) to paste images as PNG or JPEG, instead of the default TIFF. TIFFs make the files far larger than they need to be! I’ve resorted to macros, shell scripts, Quick Actions... all paste PNGs (lossless) into MS Office! But I just found another method with AppleScript.
I have been having issues with my Intel Core i7 MacBook Pro - as the notebook heats up, the LCD display starts to die. Initially the display would glitch - black bars or lines of dead pixels would appear at the bottom of the display,. Then these dead portions start to “jump” causing the display to flicker. The glitches progressively affect a larger and larger portion of display, until the display gives up and just just goes blank! Perhaps the flexgate design flaw with the ribbon cable between the motherboard and display...
Just a bunch of un-related findings that may help when creating Windows and macOS VMs using VirtualBox.
I use macOS spaces (virtual desktops) to arrange the various apps I frequently use. I have one space setup with two Firefox windows, in fullscreen Split View mode. But by default, Firefox windows are not really “full screen” for me, in that the tabs, toolbar and bookmarks bar will still be displayed. Here is my workaround to force the browser to full screen.
The Apache and PHP bundled with macOS Catalina 10.15 does not include the PHP ZIP extension. Grav (specifically, the Problems Plugin) detects this issue, and Grav will not run! Here is a workaround.