Skip to content

The Eclectic Light Company

Macs, painting, and more
Main navigation
  • Downloads
  • M1 & M2 Macs
  • Mac Problems
  • Mac articles
  • Art
  • Macs
  • Painting

scripting

How to write to the log from a script

If you want to write to the macOS log from a script, you used to be able to use logger. Although it still works, here’s a more flexible alternative.

January 14, 2023 Macs, Technology

Shortcuts: flow control, filters, sorting and iteration

T T Read More

Intermediate level, showing the use of conditional flow control, iteration, filters, sorting, Magic Variables, and debugging with a Content Graph.

November 2, 2021 Macs, Technology

Shortcuts: counting files and Quick Actions

T T Read More

Basic tutorial to iterate recursively through a folder and count the number of files within it, then to do the same but as a Quick Action.

October 28, 2021 Macs, Technology

Shortcuts: Automating the Mac

T T Read More

October 1993: AppleScript for the Mac.
April 2005: Automator for the Mac.
September 2018: Shortcuts for iOS.
October 2021: Shortcuts for macOS.

October 13, 2021 Macs, Technology

Cleaning out old preference settings and other housekeeping

It’s time to do some spring-cleaning. How to clear out some of those thousands of old preference files without losing anything important. And here’s how to do it using Shortcuts too.

September 17, 2021 Macs, Technology

Shortcuts are coming to macOS

First AppleScript, then shell scripts, and in 2005 Automator: now Apple is bringing iOS Shortcuts to macOS 12. Will it make a difference, though?

June 25, 2021 Macs, Technology

Code-signing requirements for scripts and apps in Big Sur

Does Big Sur require you to sign your own apps or other code using a proper Apple-issued signature? What about notarization and quarantine? Your questions answered.

February 18, 2021 Macs, Technology

Apple has revealed macOS version numbering following Big Sur

Which is the next ‘major’ release of macOS after Big Sur, then? Will it return to the numbering system before Mac OS X with 12.0, or 11.1?

November 5, 2020 Macs, Technology

Using blowhole to write to the log from scripts and apps, with a new Universal binary

How you can write entries in the unified log which are informative, easily retrieved, and extremely simple.

August 31, 2020 Macs, Technology, Updates

macOS version numbering isn’t so simple

If you’re running an interpreted/JIT language, Big Sur could return that it’s either 10.16 or 11.0, depending on the version of the environment.

August 13, 2020 Macs, Technology

Posts navigation

Previous1 2 3 … 14 Next
Blog at WordPress.com.
Footer navigation
  • About & Contact
  • Macs
  • Painting
  • Language
  • Tech
  • Life
  • General
  • Downloads
  • Mac problem-solving
  • Extended attributes (xattrs)
  • Painting topics
  • Hieronymus Bosch
  • English language
  • LockRattler: 10.12 Sierra
  • LockRattler: 10.13 High Sierra
  • LockRattler: 10.11 El Capitan
  • Updates: El Capitan
  • Updates: Sierra, High Sierra, Mojave, Catalina, Big Sur
  • LockRattler: 10.14 Mojave
  • SilentKnight, silnite, LockRattler, SystHist & Scrub
  • DelightEd & Podofyllin
  • xattred, Metamer, Sandstrip & xattr tools
  • 32-bitCheck & ArchiChect
  • T2M2, Ulbow, Consolation and log utilities
  • Cirrus & Bailiff
  • Taccy, Signet, Precize, Alifix, UTIutility, Sparsity, alisma
  • Revisionist & DeepTools
  • Text Utilities: Nalaprop, Dystextia and others
  • PDF
  • Keychains & Permissions
  • LockRattler: 10.15 Catalina
  • Updates
  • Spundle, Cormorant, Stibium, Dintch, Fintch and cintch
  • Long Reads
  • Mac Troubleshooting Summary
  • LockRattler: 11.0 Big Sur
  • M1 & M2 Macs
  • Mints: a multifunction utility
  • LockRattler: 12.x Monterey
  • VisualLookUpTest
  • Virtualisation on Apple silicon
  • LockRattler: 13.x Ventura
Secondary navigation
  • Search

Begin typing your search above and press return to search. Press Esc to cancel.

  • Follow Following
    • The Eclectic Light Company
    • Join 3,133 other followers
    • Already have a WordPress.com account? Log in now.
    • The Eclectic Light Company
    • Customize
    • Follow Following
    • Sign up
    • Log in
    • Report this content
    • View site in Reader
    • Manage subscriptions
    • Collapse this bar
 

Loading Comments...