Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

mixvio

macrumors 6502
Original poster
Apr 12, 2009
388
0
Sydney, Australia
I've got a question:

I would like a simple Applescript that I can run to mount or unmount a USB disc, but all of the ones I've searched for go off of the name of the volume as seen by Finder itself — the problem with this is that I've set one of the partitions on the drive invisible to Finder so it never appears (the USB disc has Windows 8 installed externally, and its first partition is a 350 meg system partition that I have absolutely no need for on my desktop) and thus the scripts I've tried don't see it to unmount it, only unmounting/remounting the second partition. I'm using this as an alternative to opening up Disk Utility and ejecting the drive every time I want to unplug it from my computer, but I haven't been able to find a solution that actually works.

Any suggestions?
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.