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?
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?