Archive for the ‘Tips’ Category

ScreenCastsOnline: Open & Save shortcuts + Default Folder X

Friday, August 24th, 2018

There’s a helpful video tutorial over at Don McAllister’s ScreenCastsOnline website that details some of the keyboard shortcuts that you can use in Open and Save As dialogs. The shortcuts are built into macOS, so there’s no need for extra software, but Don does go on to point out that there are many more helpful features in Default Folder X if you really want to supercharge your Open and Save As dialogs 🙂

You can see the entirety of keyboard shortcut segment without subscribing to SCO, but you’ll have to sign up for the 10-day free trial or buy a subscription to ScreenCastsOnline to watch it through to the end and see his discussion of Default Folder X. And if you go for the subscription or free trial, make sure to check out his full-length Default Folder X tutorial.

Getting rid of the DropBox QuickLook plugin

Tuesday, July 17th, 2018

I got an email from a customer yesterday telling me that Default Folder X had stopped displaying preview images of his new-format Microsoft Office documents. It still worked for the older formats like doc, xls and ppt files, but not docx, xlsx and pptx. Because Default Folder X uses QuickLook to generate the big previews it shows below file dialogs, we did a little poking around on his Mac to figure out what was going wrong with QuickLook.

It turns out that a new beta of DropBox (version 54.3.86) installs its own QuickLook generator plugin that overrides the system-supplied plugin for generating a number of file and image formats – including those MS Office files. OK, fine – just delete it, right? That worked until he restarted his Mac, then DropBox launched at login and promptly (and silently) reinstalled its QuickLook plugin again. I guess it knows what’s best for us, eh?

After a little thought, we arrived at this solution:

  1. Delete the DropBox QuickLook generator plugin
  2. Create an empty file at that location to prevent DropBox from reinstalling it

Fortunately, QuickLook is smart enough to realize that an empty file isn’t going to help it generate previews, and just defaults back to the other plugins it has. Problem solved!

The easiest way to do this is to open Terminal and execute these three commands:

rm -r ~/Library/QuickLook/DropboxQL.qlgenerator
touch ~/Library/QuickLook/DropboxQL.qlgenerator
qlmanage -r

A nice simple solution once you get it figured out. I imagine this is one of those problems that’s going to crop up for a lot of people, but isn’t quite obnoxious enough to get them to hunt down a solution. So there you go 🙂

A quick plug for the Mac Geek Gab podcast

Wednesday, June 27th, 2018

I’m not a huge podcast junkie – my listening tends to ebb and flow as demands on my time change. However, Mac Geek Gab is one that always entertains, has great tips and information for getting the most out of your Mac, and helps with the weird little issues that inevitably crop up. Of course, it doesn’t hurt that they’re big fans of St. Clair Software’s products, too – it’s nice to hear my name in lights every once in a while 🙂

So, as I was reminded by Dave’s mention of Jettison in their 13th Anniversary episode a couple of weeks ago, I’ve been tuning in for years now and think some of St. Clair Software’s customers might really enjoy and benefit from the podcast. So there you are – go give them a listen, support their sponsors, and learn some new tips and tricks!

AsianEfficiency: 20+ Great Productivity Apps – including Default Folder X

Monday, March 19th, 2018

The folks over at AsianEfficiency have a new podcast episode where they recommend a number of great productivity apps – including Default Folder X, of course 🙂

Though I’m a bit biased on Default Folder X, they also endorse a number of other apps that I use regularly, including TextExpander, MindNode, Keyboard Maestro, BusyCal, Hazel, Twitterific, MarsEdit and BBEdit. Have a listen to the podcast or check the links at https://www.asianefficiency.com/podcast/187-best-mac-apps/

Default Folder X support for macOS 10.13 High Sierra + relative Favorites

Wednesday, June 7th, 2017

I’ve just posted a beta version of Default Folder X 5.1.6 that supports the developer release of High Sierra, which Apple made available on Monday. A few under-the-hood changes to file dialogs had an impact on Default Folder X, and we’re still testing to make sure that there aren’t any hidden gremlins. If you run into any issues with the beta, please make sure to tweet, email, or comment here to ensure your bug gets fixed!

Also in the 5.1.6 beta is a handy little enhancement for people that use a consistent folder hierarchy to store files for their clients or projects. You can now use a relative path as a Favorite in Default Folder X. So if you’ve got lots of folders that look like this:

You can set a Favorite for “../images”, for example. Then, if you’re in a Save dialog pointing to any “html” folder, that Favorite will take you to the adjacent “images” folder. Pretty cool for all you super-organized folks 🙂

Repost: “Move Items” Finder contextual menu command

Tuesday, February 28th, 2017

This is information I originally posted back in 2009, but here we are 6 macOS versions later and it’s still relevant – and people are still asking for it.

Below are details on how to create a “Move Items” contextual menu item in the Services menu in the Finder (see the picture below).

It pops up a file dialog to let you specify where you want to move the selected items, which then allows you to use Default Folder X, giving you access to all of your Favorite and Recent folders, Finder-click, etc.

TL;DR: If you just want to get things to work, there’s a link at the bottom to download an already-built Automator workflow.


Contextual menu items are added by making a Workflow in Automator and saving it as a Service. You start by running the Automator application (it’s in your /Applications folder), creating a new Workflow, and setting it up as shown in the (old) screenshots below:

If you’re experienced with Automator, you’re probably asking: Why go to the trouble of creating variables instead of just using the “Move Finder Items” action by itself?  I’m glad you asked!  The reason is that I want to bring up a file dialog to specify the folder where I want the items to go.  There’s not a clean way to have the “Move Finder Items” do that every time.  You can change its options to “Show this action when the workflow runs” but you still have to click on it every time you use it to ask it to show a file dialog.  If you use Default Folder X to enhance your Open dialogs, it’s faster to just have the dialog pop up and then go where you want to with DFX.

So in the image above, the workflow puts the current Finder selection into the “selection” variable.  Then it uses AppleScript to bring up a file dialog to ask for a folder, which it stores in the “path” variable.  And finally, it uses the Move Finder Items action to do the work.  Not too much more complicated, and it speeds up your workflow considerably if you’ve already got DFX installed so the Open dialogs are smart.

For you Automator programmers, note that some of the actions shown in the workflow do not take inputs.  I did this by control-clicking on the action (“Get Value of Variable”, for example) and choosing “Ignore Input” from the contextual menu.  If you don’t do this, Automator will actually add the input from the previous step to the next one, which is definitely not what you want in this case.

Oh, and if you just want the automator workflow file so you can add it to your own system, you can download it here:

https://www.stclairsoft.com/download/MoveItems.zip

If you need more help with Automator and Services, Sal Soghoian has some good information and tutorials here:

https://www.macosxautomation.com/services/learn/

(Once you’ve gotten through the first few steps of the tutorial, you should be able to just replicate the picture above to make the Move Items service yourself).

Developer Tip: Avoiding the Discrete GPU

Friday, December 16th, 2016

So I’ve run into this issue both as a user and as a developer – on MacBook Pros that have both a discrete and integrated GPU, fancy animations will cause the system to switch to the more powerful discrete GPU, reducing battery life. Chris Liscio wrote a great post explaining what’s going on and what to do about it (from a developer’s perspective). The key takeaway for most developers:

This whole problem can be very easy to solve. You just have to set NSSupportsAutomaticGraphicsSwitching key to YES in your application’s Info.plist. The trouble is that an OpenGL context is being created, which defaults to switching the dGPU on. Enabling this flag in the plist will very likely fix the problem on its own, as the frameworks should Do the Right Thing (more details below) if they need access to OpenGL.

Go read his whole post for all the details.

 

Integrating Default Folder X with LaunchBar

Thursday, March 10th, 2016

launchbar_320@2xI’ve long been an avid (addicted) user of LaunchBar – if you’re a person that’s keyboard-based like I am, it’ll save you ridiculous amounts of time. Hit Command-Space to activate LaunchBar and then start typing – you can do anything you want to without taking your hands off the keyboard.

Now I’m happy to announce that Manfred Linzner, an engineer at Objective Development (the makers of LaunchBar), has put together a LaunchBar action that gives you access to Default Folder X’s favorite and recent items within LaunchBar.

If you’re a LaunchBar user, you just need to download the Default Folder X Files action from Manfred’s Github repo. After it downloads, double-click on the .lbaction file and LaunchBar will offer to install it for you. Then it’s just a matter of invoking LaunchBar and typing the first few letters of “Default Folder X Files” (or “DFX”) to get this:

launchbar_dfx

Hit the right arrow key from there to select any favorite or recent folder or file from Default Folder X, or Command-right-arrow to narrow the search to just your Favorites, Recent Files, or Recent folders.

launchbar_dfx_select

Yet another way to get to your files and folders faster – thanks Manfred!

Changing the columns shown in your file dialogs

Tuesday, March 31st, 2015

I haven’t seen this little Yosemite tidbit anywhere on the web and have had people request it as a feature in Default Folder X, so I know it’ll help at least a few folks out there.

In the Open and Save dialogs of Cocoa applications (Safari, Preview, Pages, etc) you can right-click on the column headers to get a popup menu to change which columns are displayed in all of your file dialogs.

Simply turn the checkboxes off and on by selecting items from the menu. Once you’ve got the columns you want, you can rearrange them by clicking on a particular column header and dragging it left or right.

As I said, the popup menu is only available in Cocoa applications, but the changes you make will take effect in all of your applications – even Carbon apps (like Chrome, Word, Excel, etc) that don’t have the popup menu.

App Tamer 2.0.5 offers a number of improvements and tweaks

Wednesday, March 25th, 2015

App Tamer 2.0.5 just dropped, fixing a compatibility glitch with Safari that could cause App Tamer to mis-manage full-screen Flash playback (among other things). There are also a host of smaller fixes that will improve your user experience, like better error messages, fixing permissions problems automatically, etc.

This version also explicitly offers to switch to a logarithmic cpu graph on 8- and 16-core Macs to increase the amount of detail you can typically see on the graph (science and tech nerds nod here, while everyone else says “what the heck is a logarithmic cpu graph?”).

What’s logarithmic graph good for?

Basically, it changes the vertical scale of the graph so that data toward the bottom of the graph is magnified, while the top of the graph is squeezed together. Since most of the activity on the cpu graph is down below 50% on 8- and 16-core Macs (because you’re rarely actually using all 8 or 16 cores), this lets you see more details that you care about.

In the screenshot of App Tamer’s logarithmic cpu graph to the right, each horizontal gray line on the graph represents a 10% increment. As you can see, the bottom 10% increment takes up half of the vertical space, the next 10% takes up 15% of the space, and so on, with each successive 10% increment taking a smaller amount of screen real estate. This magnifies the bottom end of the graph, where most of the activity happens on Macs with lots of cpu power.

You can toggle between a regular linear graph and the logarithmic one by control-clicking (or right-clicking) on the graph.  A little popup menu lets you choose which scale you want to use.

Back to your regularly scheduled program…

Sorry for the digression. You can see the full change history and download App Tamer 2.0.5 on the App Tamer Release Page.