MarsEdit 5.0.5: A Better Shade of Blue

April 5th, 2023

MarsEdit 5.0.5 is now available on the MarsEdit site and on the Mac App Store.

This update includes several modest improvements, but the one I most want to talk about is the change to the default shade of blue used for links in HTML content, and in the Plain Text editor. A few weeks ago, I found myself staring at the about box for the app, and this default shade of blue stood out to me:

WorseBlue

There’s nothing particularly wrong with it. It is, after all, the default color for all links. But I’m not sure anybody spent much time weighing the aesthetics of the default HTML colors. To my eye, the saturation reads “1990s” and “Windows”. When I see that default color on a web site, the site comes across as less refined. And suddenly, my app felt less refined as well. Here’s how the same default link looks in MarsEdit 5.0.5:

BetterBlue

It’s just another arbitrary color, but it’s my choice. I think it looks nice. It’s a better shade of blue. I liked it so much I changed the default blue in MarsEdit’s Plain Text syntax highlighting as well.

If you’re eager to know what else changed in this update, here’s the complete list of changes:

  • Changed the color for HTML links and strings to a better shade of blue
  • Fixed tab key order when tabbing out of the Find panel
  • Restore ability to get and set the post kind via AppleScript
  • Increased the rich editor text font size slightly
  • Fix a bug that could cause a file inserted into a new post to disappear after editing other fields
  • The link color now adapts as expected in the rich editor when switching between light and dark modes
  • Fixed a bug that prevented the Preview content from loading upon first opening the Preview Template editor

If you enjoy MarsEdit, please consider writing a review or rating the app on the Mac App Store, spreading the word on Facebook or Twitter, and of course, writing about the app on your own blog! Thanks for your support.

FastScripts 3.2.5: Regex Multiline Modifiers

March 9th, 2023

FastScripts 3.2.5 is now available on the FastScripts home page, or by selecting “Check for Update…” from the FastScripts menu.

This update includes a couple enhancements to the FastScripts Text Suite, which offers free regular expression utilities to all FastScripts users. Specifically, two new parameters are available, which enable the common “multiline” (/m) and “dot matches all” (/s) modifiers:

  • anchors matching every line – should ^ and $ in the search pattern match the starts and ends of lines in a multiline string? defaults to false
  • dot matching all – should a . in the search pattern match every character, including newlines, of a multiline string? defaults to false

These parameters are available for the “search text”, “replace text”, and “split text” commands.

Here’s the complete list of changes for this release:

  • Regular expression script commands now support multiline anchors and dot matches all
  • Modifier key shortcuts when selecting menu items can now be disabled in Settings
  • Add a keyboard shortcut “Cmd-E” to script error panel to open in Script Editor
  • Rename “result” property to “script result” to disambiguate from built-in AppleScript result property
  • Fix a bug that caused the Script Libraries list in Settings to appear shorter than expected

If you enjoy FastScripts, please consider spreading the word on Facebook or Twitter! Thanks for your support.

Smart Web Page Opening with FastScripts

March 3rd, 2023

FastScripts, our macOS scripting utility, facilitates organizing and running your scripts from its menu bar icon, or by keyboard shortcut. It serves many roles as a script runner, but also includes a number of built-in features that augment the baseline features available to AppleScript scripts.

One of those useful features is the open web page command, which abstracts the surprisingly complex notion of “navigating to a given web page URL in your current browser, or default browser” to a simple command you can invoke from any script.

The basic idea is: given a URL you’d like to visit, how do we open it in an appropriate browser, creating a new window if necessary, or replacing the current page when appropriate? FastScripts builds a lot of common sense into its handling of the open web page command, so that for example, if you configure a FastScripts script called “Google News”:

tell application "FastScripts"
   open web page "http://news.google.com/"
end tell

It will open the web page by instructing a web browser on your Mac to open the URL. First, it identifies the ideal browser to open the URL in, based on the following criteria:

  1. The frontmost app, if it’s a known browser
  2. Your default browser, if it is running
  3. Any known browser, if it is running
  4. Launching your default browser, if configured
  5. Launching any known browser on your system

The long and short of this is you can use FastScripts’s “open web page” command to create scripts that open web pages intelligently. That intelligence goes farther than just choosing which browser to open the link in. Where possible, FastScripts also decides whether to create a new window or tab. By default it favors replacing the current page in the current browser.

I use this command extensively in my own collection of “Frequent Web Pages”. I configure these to have the same app-specific keyboard shortcuts in Safari, Brave, Chrome, Firefox, and any other browser I might be using at any time. That way when I press Ctrl-N, for example, in a browser, it always takes me to Google News.

If your scripts ever call for opening web pages in either the current browser or your default browser, I’m sure you’ll enjoy the functionality of FastScripts’s open web page command.

MarsEdit 5.0.4: Restore Preview Window Printing

February 24th, 2023

MarsEdit 5.0.4 is now available on the MarsEdit site and has been submitted for review to the Mac App Store.

This update restores the inadvertently removed ability to print from the Preview Window, and a variety of bug fixes:

  • Restore the ability to print from the Preview Window
  • Fix a crash that could occur while importing MarsEdit 3 data
  • Fix a bug where clicking the circle icon on the date picker calendar didn’t properly set the date to “now”
  • Saving the Network Log to file now defaults to a .txt extension and reveals after saving
  • Restore functionality of Copy/Paste in the New Blog panel
  • Prevent the “Autosave Popover” from appearing on MarsEdit document windows

If you enjoy MarsEdit, please consider writing a review or rating the app on the Mac App Store, spreading the word on Facebook or Twitter, and of course, writing about the app on your own blog! Thanks for your support.