Remove USB device from MAX in OSX?

Feb 14, 2012 at 11:24am

Remove USB device from MAX in OSX?

Hello!

Anyone has any idea on how to remove an USB device in OSX from a MAX object? I need to simply eject a USB key after it has been used so the technician on a show can just put it out without bothering with the screen and mouse.

THANKS!

#61769
Feb 14, 2012 at 12:30pm

You have two options for scripting drive unmounting: 1) the terminal command unmount and 2) the AppleScript command eject.

tap.applescript is the only object that I know of to run AppleScripts from Max, so if you don’t have tap.tools, maybe that won’t work.

The other option is to use shell or aka.shell to run terminal commands. You could use those objects to run the unmount command or to run an AppleScript via the osascript command. Haven’t tested doing this particular shell stuff via Max, but should work in theory.

#222994

You must be logged in to reply to this topic.