2

I have a nifty setup on my MacBook Pro, where, upon connecting my iPhone, I have AutoImporter.app (/System/Library/Image Capture/Support/Application/AutoImporter.app) automatically import whatever photos are on my camera roll, delete them off the iPhone, and simultaneously open a Finder window with the folder that I have set as import folder ('Pictures', for me), so I can look at the imported photos immediately and work on them in Photoshop or similarly work with them in the file system directly.

It's lightning quick, and extremely convenient.

Now, on my MacBook Air, I am trying to emulate this setup and I have forgotten how I achieved the final step in this process, where a Finder window automatically opens (on top of whatever you're doing), once AutoImporter opens and starts importing the photos.

(The first step of the process, can be described here.)

I have narrowed it down to observing it being triggered simply by opening AutoImporter.app - whether it imports photos or not. Without the iPhone connected, simply by opening AutoImporter.app - every time - a new Finder window with Pictures folder, pops up.

I have endlessly messed around in Automator and turned off all third party automator-type apps (Keyboard Maestro, FastScripts, Alfred), and I still cannot determine how it is working.

It seems I somehow did this using in-built OS X tools and software - whether a script (in .scpt or .app form), an automator workflow, or something using both, or something else. How on earth did I achieve this?

  • Sounds ever so cool. I think it'd be great if after you get it figured out if you could detail the setup process. – bassplayer7 Dec 7 '14 at 5:10
  • Oh totally, if it's something I have to even write up for myself to remember I'll do it for humanity also. Alternatively I could sell my MBP on eBay and make a killing ... but then I'm stuck with a MBA that just doesn't cut it when importing photos from the iPhone. But yeah I'm pretty much desperate after trying for two hours to emulate what on earth I did ... so here I am. – user46942 Dec 7 '14 at 7:33
  • whattayaknow bassplayer7, I stumbled upon it when rummaging around my vast jungle of third-party system prefPanes, juicy details are all in the answer I've posted! I feel like I should charge for this. – user46942 Jan 16 '15 at 1:32
  • Nice! Thanks for pinging me and sharing the answer. I'm paying you one upboat for it. ; ) – bassplayer7 Jan 16 '15 at 3:12
1

EUREKA! I found it!

The way I achieved this marvelous setup, was with a combination of a tiny AppleScript saved as an .app file, and the brilliant, free third-party prefPane app, Do Something When.

Instructions:

Set up up the first part of the process as linked to in the question, which will give the following settings in AutoImporter (so that when you insert the iPhone, it will automatically import them to the Pictures folder):

enter image description here

Now go to Script Editor.app (/Applications/Utilities/Script Editor.app), and insert the following code, which is what will open the Pictures folder in Finder (replace yourosxuserdirectory with your own user folder name):

tell application "Finder"
    open ("/Users/yourosxuserdirectory/Pictures" as POSIX file)
end tell

Click Save or Export and select 'Application' as 'File Format' near the bottom. Save the app file (I named it openpicturesfolder.app) to somewhere on the system drive where it won't get disturbed later on or accidentally moved/deleted etc.

Download and install DSW, open it from the System Preferences window, and create a new rule, exactly like below ('openpicturesfolder' simlpy means the .app file that you browse for DSW to 'Open' when Autoimporter launches):

enter image description here

Click on Start up the top, tick Automatically Start on Login, and you are on your way to iPhone/camera photo importing bliss.

DONE.

You must log in to answer this question.