Remove address bar in Firefox child windows

I use JavaScript bookmarklets in Mozilla Firefox to open my email, calendar, chat, etc. in pop-up child windows without a toolbar or menu bar. I do this in order to save screen real-estate, and to prevent me from using those windows for browsing and keep them visible all the time. I’ve been wondering how to have pop-up windows without the address bar…. ...

21 Jan 2022

New look for the new year 2022

Happy New Year! A big welcome to 2022! I’ve finally updated the look of my blog with a new theme. Well, not really… you see, I’m not very creative, and so, my theme pretty much remains the same… just more purple. ...

1 Jan 2022

Sending keystrokes to an application using Shortcuts for macOS Monterey

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. ...

29 Oct 2021

Extracting embedded ZIPs from Office documents

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. ...

10 Aug 2021

Padding VS Code Touch Bar Extension Icons

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. ...

7 Aug 2021

The correct way to create a VS Code Touch Bar Extension

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. ...

24 Jul 2021

A zero-code VS Code Touch Bar Extension for Markdown

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. ...

23 Jul 2021

AppleScript to change clipboard image format

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. ...

24 Apr 2021

A few of my bookmarklets

I have a few Javascript bookmarklets that I thought I’d share. Bookmarklets are short snippets of JavaScript code that run in the context of the current web page in the browser. I prefer them over extensions since I can see what the code does. There are plenty on the web, here are a few of mine. ...

18 Apr 2021

Migrating from bash shell scripts to Python

I recently wanted to migrate from a Bash 3 shell script to Python 3. This is nothing but a brain dump comparing a few bits and bobs. ...

11 Mar 2021