All posts in the ‘Butler’ category

Subscribe to the RSS feed for the 'Butler' category

How-to: Replace preference files in Mavericks

Thursday, January 30th, 2014

Something many people do, myself included, is copy an application’s preferences file—either from one Mac to another (as a quick way of getting an app configured to my liking) or to replace a damaged/lost preferences file using a Time Machine backup. Until recently, this process was really simple: quit the app in question, trash the existing prefs file, insert the new prefs file, launch app.

Enter OS X 10.9, aka Mavericks, aka “the easy prefs copy killer.” Apple has made changes to the way the preferences system works in Mavericks, and one casualty of those changes is the easy replacement of an application’s preferences file. A brief bit of before-and-after, and then we’ll get to the fix—or just click the Read More link to jump right to the fix.

In prior versions of OS X, preferences files were always read by the application at launch. So as long as the app wasn’t running, if you replaced its preference file, it would read the new file the next time you launched the program.

In Mavericks, preferences are managed by a background daemon, cfprefsd. This service reads the preferences file once, when you first run the app. It then (I believe) receives notifications if you change the program’s settings while the program is running, and then writes them to the actual preferences file at certain points in time. But cfprefsd always has a copy of those settings in its cache, and that’s what the app gets when it checks its settings. (This reduces hard disk access, which is important in conserving battery life in laptops.)

Here’s the important bit: After you’ve launched an app once, it seems that any subsequent launches also get their preferences from cfprefsd. So if you try the old “replace the prefs while the app isn’t running” trick, you’ll be quite surprised to find that your program launches with its previous settings. It will do this even if you simply delete (via Finder) the old prefs file!

So how do you get around this aggressive caching of preference files?

(more…)

Oh when the updates come marching in…

Friday, October 18th, 2013

We’ve been quiet here lately, but that’s not because we haven’t been busy. Far from it; we’ve been testing our apps with Mavericks, and making changes where necessary (mostly cosmetic in nature). We’ve also addressed a number of minor bugs that have been reported (thanks!) since our last updates. So be prepared, we’re updating nearly the entire lineup today—everything here is Mavericks-ready, for whenever Apple ships the system.

As always, direct purchasers can update within the app, or by downloading a new version from our servers. App Store buyers should see the updates (soon, if not already) in the Updates tab of the App Store application.

IMPORTANT NOTE: The following updates will bump the minimum system requirement to 10.7 or newer; if you’re still running 10.6, DO NOT INSTALL THESE UPDATES.

Why 10.7 or newer? Apple recently declared an old security-related API dead (i.e. deprecated), and recommended that all developers switch to the newer API, which we did. But that new API requires 10.7 or newer.

So what’s new and improved today? It’s quite a list…

  • Butler 4.1.16: A number of behind-the-scenes updates for improved Mavericks compatibility, and a couple minor bug fixes.
  • Leech 2.2: We’ve fixed a fuzzy date bug, improved the ‘resume download,’ and squashed a couple of bugs.
  • Moom 3.1: Lots of goodness here, but the biggie is that you can now specify resize dimensions as a percentage of available space. We’ve also changed how custom names work for saved window layouts, added a new AppleScript command, and made a number of other little changes. Check out the Moom release notes page for all the details.
  • Name Mangler 3.3: The big news here is that Mavericks users can use Tags in renaming operations. We also fixed a couple of minor bugs, and added a checkbox to the Terms List dialog that will make Name Mangler check the source file for updates. Full details on the Name Mangler release notes page.
  • Witch 3.9.3: We’ve updated the “how to enable” text for Mavericks users, and worked around a glitch for those using XtraFinder.
  • If you’re scoring at home, that’s five apps updated; the missing suspects (Desktop Curtain, Keymo, Time Sink, and Usher) all have updates in the works, and we hope to have those out shortly as well. Even without updates, those apps will work fine on Mavericks—so if you’re upgrading your OS, you should be in good shape with all of our apps, assuming you apply the updates we have released.

Name Mangler and Butler updates released

Tuesday, June 11th, 2013

We held these off for a day, so as to not steal the thunder from Apple’s WWDC keynote. But now that that’s over with, we’re releasing Name Mangler 3.2 and Butler 4.1.15 into the wild.

Name Mangler 3.2 adds support for Notification Center, and the ability to highlight spaces (including special emphasis on leading, trailing, and double spaces) in your filenames. We added/fixed some other stuff, too—for more details, check out the release notes. Direct buyers can get the update via in-app updating, or by downloading the new version from our site. App Store buyers should see the update in the App Store application (if not now, then shortly).

Note: If you’re running OS X 10.6 or 10.7 and downloaded or updated to Name Mangler 3.2 earlier today, please check again for updates. We just pushed out Name Mangler 3.2.1, which fixes a post-rename crashing bug.

We’re sorry we didn’t catch this one in our testing prior to release. We’ve given ourselves a good talking to, and we’ll do our best to make sure it doesn’t happen again.

Butler 4.1.15 fixes a couple of minor bugs and updates how Butler handles clipboard content. The Butler release notes page contains the details on these thrilling changes. Update within the app, or by downloading the new version from our site.

Announcing Many Tricks’ Donation Day

Wednesday, December 19th, 2012

In the past, we’ve donated proceeds from our software sales to worthy causes, such as the National Pancreatic Cancer Foundation and Charity:Water. This year, we thought we’d try something different…

On Thursday, December 20*, all of our apps
will be priced at $1 ($0.99 on the App Store).

The catch: We want you to donate the money you saved
(compared to list prices) to the charity of your choice.

For example, if you want to own Moom ($10) and Time Sink ($5), we’ll expect you to donate $13 to your favorite charity. Usher ($35) and Desktop Curtain ($5) would mean a $38 donation. Buy everything in our portfolio for $9, and donate $109 to charity. It’s pretty simple math, regardless of which apps you’re interested in buying. (These donations should be tax deductible, too, but please don’t take our word for that!)

You may wonder how we’re enforcing this donation requirement. The short answer is we’re not. We both firmly believe in the goodness of people, and we’re confident that those who purchase on Thursday will do the right thing. Will everyone? Absolutely not. But we believe that many will, which will hopefully lead to some nice contributions to a wide range of charities.

Sure, we could have kept prices at their normal level, and donated proceeds to a charity or two of our choosing. But we feel strongly that you should be able to pick your own charity, and we hope that by dropping the apps’ prices to $1 for the day, we’ll get more participation than we would by simply donating our proceeds.

So if you’ve been waiting for a good excuse to purchase one or more of our apps, Thursday’s the day. You get the apps you want at an amazing price, you get to choose who gets the money you saved on our apps, and you get to feel good about supporting a charity.

All we ask (ask, not require) is that you let us what you did with the savings. You can either send us an email with the details, or just tweet about it, and copy @manytricks on your tweet. We’d love to know how much money was donated, and to which charities, if you feel like sharing that information.

Happy Holidays!Peter and Rob.

*

Because the world insists on having multiple timezones, our Donation Day pricing will roll out differently for the App Store and for our web site. App Store buyers will see Donation Day pricing starting at 12:01am on December 20th in their local timezones, and it will end 24 hours later.

On our web site, Donation Day pricing will begin at 7am Pacific USA time on December 20th, and end at 7am Pacific USA time on December 21st. This will give buyers, regardless of their local timezone, 24 hours to purchase directly from us, if that’s their preference.

Avoid a Mountain Lion bug that can affect Name Mangler

Wednesday, October 31st, 2012

Recently, we’ve been getting a few complaints from users, complaining that Name Mangler won’t accept dragged and dropped files.

We were trying to figure out what was going on, given we haven’t changed those apps. It seems the answer is a bug in Apple Events (which handle inter-application communication) that was introduced in 10.8.2. This blog entry explains the problem relative to “Open in Finder” no longer working.

Most importantly, that blog entry also contains a number of fixes. The least painful, though most geeky, is to open Terminal (in Applications > Utilities), paste this command, and then press Return:

sudo killall -KILL appleeventsd

When prompted, enter your admin password and press Return again, and you’re done.

This command forces the Apple Events engine to relaunch; once that happens, the issues you’re experiencing will go away, at least for a while.

Hopefully Apple will fix this in 10.8.3, as it has the ability to interfere with any program that communicates with another application.

Butler 4.1.14 released

Friday, October 12th, 2012

Butler 4.1.14 is now out, and if you’re running OS X 10.8.2, it’s a very highly recommended update. That’s because the main purpose of this release is to work around a bug that Apple introduced into inter-application communication in 10.8.2. The result of this bug is that Butler would appear to hang at times, typically when it was talking or listening to iTunes.

We’ve worked around that bug, and fixed a couple of other things, and the result is Butler 4.1.14. Get it via in-app updating, or by downloading it directly from the Butler page here.

Obligatory footnote: Yes, we’re still planning on releasing Butler 5. We don’t yet have a beta or release date, but as soon as we have either, we’ll make sure everyone knows about it.

Mountain Lion status report (bonus: three app updates)

Wednesday, July 25th, 2012

Now that Mountain Lion (aka OS X 10.8) is officially out, we can officially update the status of our apps.

The short version: They all work.

The slightly longer version: To the extent that we were able to test all features in all apps, they all work in Mountain Lion. But there are just two of us, and thousands of features to test. So please, let us know if you find any issues. You can do so by going to the support page for any app (i.e. Moom’s support page), which list a few ways to report issues.

We also have three app updates today that fix minor issues in Mountain Lion—and resolve some other bugs and add some new features.

Get Leech 2.1.1 (release notes), Usher 1.1.5 (release notes) and Butler 4.1.13 (release notes) via in-app updating.

Note: If you’re an App Store purchaser of Usher, you should migrate (for free) to the direct sales version. Here’s how and why.

Touch up Tuesdays return: Moom and Witch updated

Tuesday, April 17th, 2012

Moom 2.4.1 and Witch 3.9 were released this morning, for both direct and App Store customers.

The big news in Witch 3.9 is the Font pop-up menu on the Behavior tab of Witch’s settings panel/window. This is our solution to the “fat font” problem introduced (thanks to Xcode) in Witch 3.8.

Click the Font pop-up menu—and be patient; the first load will take a few seconds—and you can then choose any font on your system for use in the switcher panel. I’m partial to Eurostile, but pick the one you prefer.


The use of Webdings is not advised, unless you’re a fluent reader of Webdings.

You can read about the rest of the changes in Witch 3.9 on the release notes page.

Moom 2.4.1 isn’t as big of an update in terms of eye-catching new features. We did, however, make Moom (and Witch, for that matter) work much better with the virtual keyboard apps Synergy and Teleport (and our own Butler). We’ve also made some changes to how Moom interacts with additional displays; we think it’s now ever smarter than it was. You can find all the changes on Moom’s release notes page.

Both apps can be updated within the app or by downloading a new copy from our site (for direct customers), or via the App Store’s Updates tab (App store customers).

How-to: Make Firefox’s bookmarks play nicely with Butler

Friday, December 16th, 2011

One of Butler‘s features is a Bookmarks menu that displays bookmarks from a number of browsers, including classics such as Internet Explorer (thereby revealing the depths of Butler’s life experiences).

You can access these bookmarks from the Butler icon in your menu bar, or create a keyboard shortcut to pop it up as a menu near the mouse, put it in a droplet, etc. In short, it’s a quick way to get at your bookmarks without first going to your browser.

Over the years, however, most of these shortcuts have stopped working, as the various browsers changed the manner in which they store their bookmarks. As of today, in fact, only Safari and Camino still appear to work properly. (We’ll see what we can do about updating support for the other browsers in Butler 5, though we’ll probably not bother to look at Internet Explorer.)

Thanks to Butler user Rick, however, we can add one more browser back to that list: Firefox. He discovered a simple way to get Firefox’s bookmarks working again in Butler. (My workaround has been to use Xmarks to sync bookmarks across all my browsers, and then just use the Safari entry in Butler to see them.) Read on for Rick’s solution…

Here’s how to get your Firefox bookmarks back into Butler’s Bookmarks menu:

  1. In Firefox, type about:config in the URL bar, then press Return. You’ll see a warning about voiding the warranty; click on the “I’ll be careful, I promise!” button.
  2. In the Filter box, type autoexport, and the list of matches will be reduced to just one: browser.bookmarks.autoExportHTML.
  3. Double-click anywhere on the browser.bookmarks.autoExportHTML line, and you should see its Value entry change to true.
  4. Quit and restart Firefox.

That’s it; in a few minutes, you should find that the Firefox entry in Butler’s Bookmarks item is now populated with your Firefox bookmarks. Thanks again to Rick for pointing out this workaround.

How-to: Use Butler and AppleScript to open a folder

Wednesday, November 16th, 2011

I know what you’re thinking…how hard can it be to open a folder? Not very hard at all. But what I wanted was a way to open a certain folder with a certain view and sort order, even though I may then change that folder’s view and sort order, thereby messing up future openings of that same folder. In my case, I wanted my Downloads folder to open, at a given size and location, sorted in reverse date order. Moom can do 90% of this using saved window layouts, but it can’t do anything with the actual Finder window, such as setting the view and sort column.

After a bit of work with AppleScript, I came up with a solution that got me everything I wanted. By storing the AppleScript in Butler, I can now open my folder with the press of a hot key, at any time from any application. Here’s how I did it.

(more…)