Assign a keyboard shortcut to open a new browser window on macOS

If you’re like me — someone who likes to manage different tasks on different windows and spaces instead of opening 50 tabs on the same window until the tabs get so tiny that you can't even see the favicon 🤮. You might find it a pain, sometimes, to open a new window in Chrome or any browser that you prefer. …


Hello, I’m Ansèlm, an amateur blogger. I write blogs about some of my projects. I was born in the year ’96 — when personal computers became reality and was quickly followed by the mainstream adoption of the internet in the 2000s. I got my first computer when I was 4 years old, in the year 2000. It truly changed my life, for better or worse, I will never know…

Hello, I’m Ansèlm, an amateur blogger. 👋 I write blogs about some of my projects. I was born in the year ’96 🙌 – when personal computers became reality and was quickly followed by the mainstream adoption of the internet in the 2000s. …


Learn about AppleScript functions, actual and formal parameters, and NSAppleEventDescriptor — The holy grail.

Okay, so in part 1 I only had to pass variables from Swift to AppleScript, but I didn’t have to edit the variables. Well, I thought that the variables are editable once passed into AppleScript. I thought wrong. 😓

So, here’s what happens when you pass Swift or Objective-C variables (Int, NSInteger, String, NSString, blah blah) to AppleScript.

You can pass Swift or Obj-C variables to AppleScript and access them and output them to the console without breaking a sweat, like in part 1. 👍🏼 The problem arises when you want to edit them. Let’s say you’re passing an Int 2 from Swift to AppleScript. …


So, I wake up one day and I find my desktop all cluttered with files from last year. 😓 I was thinking ‘I wish there was a way to archive all this with the click of a button’ — I was like eh… maybe some AppleScript for the rescue? 🤔 But then again, I despise AppleScript, so after a lil bit of procrastination I started Googling. Enter Automator — AppleScript without the Script. 😍

Without any further adieu, let’s see how to archive like a pro!

  1. Firstly, open Automator, create a Service.
Image for post
Image for post
Automator

2. Select Folders under Service receives selected and in to Finder. This allows the service to be run on folders on Finder. …


As many others, my main source of music (if not only) is Spotify. Recently Spotify removed the Musixmatch® lyrics feature from their desktop applications. Only after this did I realize that I only knew the catchy choruses of songs and would hum the rest of it. For a few days I googled for the lyrics, but that was a drag… So, I took a stroll on the Spotify webpage to check out their APIs. A few Web endpoints, iOS SDK, blah blah blah… Hold up, hold up, hold up!

About

Anselm Joseph

I often explore space.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store