phw Posted January 7, 2015 Share Posted January 7, 2015 Alfred's preferences for System: eject is checked local mounted volumes is selected eject all is unchecked On invoking the eject keyword, I see the list of local mounted volumes. Selecting, say, #2 and hitting return/enter, Alfred ejects all volumes rather than just #2. Behavior does not change if Mounts in /Volume is selected from the dropdown. Link to comment Share on other sites More sharing options...
Andrew Posted January 7, 2015 Share Posted January 7, 2015 Alfred's preferences for System: eject is checked local mounted volumes is selected eject all is unchecked On invoking the eject keyword, I see the list of local mounted volumes. Selecting, say, #2 and hitting return/enter, Alfred ejects all volumes rather than just #2. Behavior does not change if Mounts in /Volume is selected from the dropdown. Are the listed volumes on the same physical volume? Alfred uses NSWorkspace's unmountAndEjectDeviceAtURL method which un-mounts the physical volume which will disconnect all child volumes. Link to comment Share on other sites More sharing options...
phw Posted January 7, 2015 Author Share Posted January 7, 2015 Ahh … all volumes are on the same physical volume. Mystery solved. Is there any way to eject child volumes separately when all do live on the same parent volume? Link to comment Share on other sites More sharing options...
Andrew Posted January 7, 2015 Share Posted January 7, 2015 Ahh … all volumes are on the same physical volume. Mystery solved. Is there any way to eject child volumes separately when all do live on the same parent volume? As far as I'm aware, this isn't possible with Apple's cocoa APIs, but could be possible with a bit of bash scripting in an Alfred Workflow - it may be worth asking in the workflow help section to see if somebody has already done this? Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now