Bill Orcutt's shell object: execute shell commands via this excellent Max object
    Tool Files
    • shell (fat 32/64-bit)
    • shell (UB 32-bit)

    • Mr Fold's icon
      Mr Fold's icon
      Mr Fold
      May 15 2017 | 1:19 am
      So I have been using a combination of shell object and MacOS Automator to load Max on boot, and to Restart show machine if any components aren't working correctly (monitored in various ways). This was all nice and happy, until the latest iteration now forces us to use a Windows 10 machine!! Any ideas?
      Looks like mxj might be a go, but I am not a javascripter, and am under a deadline....
      Anyone got this sort of automation (close / max / restart machine on condition) happening with Windows?
    • Roald Baudoux's icon
      Roald Baudoux's icon
      Roald Baudoux
      Jun 01 2017 | 11:14 am
      +1 for a Windows version.
    • Carlos Guedes's icon
      Carlos Guedes's icon
      Carlos Guedes
      Feb 14 2018 | 1:47 pm
      Hi Guys, Do you know where can I download shell for Mac? I went to maxobjects but both links seem broken. Also there seems to be no link to the object from here as well. Thanks!
    • hoowdie's icon
      hoowdie's icon
      Mar 19 2018 | 8:55 pm
      Hey, would love to have a link as well! Thanks
    • ET FY's icon
      ET FY's icon
      ET FY
      Mar 25 2018 | 11:31 pm
    • Nathan Sepulveda's icon
      Nathan Sepulveda's icon
      Nathan Sepulveda
      Aug 14 2018 | 1:10 am
      Has anyone successfully used the shell object provided by TOILTOUCH? I can't seem to have it send any messages to the terminal.
    • piedagile's icon
      piedagile's icon
      Jan 12 2019 | 10:21 pm
      Hello Does somebody has a copy of the former shell.mxo that works with Max 6? I use an old Macmini with osx Snow Leopard to work within an exhibition, and plan to display HD videos by using Quicktime rather than which cannot give a good fluent rendering. Thanks in advance. Charles.
    • Mr_Ping_Lee's icon
      Mr_Ping_Lee's icon
      Mar 06 2019 | 12:46 pm
      Hi Jeremy, thank you for updating the shell-object. I need to use telnet via max, is there a way to do it with the shell object? I tried to send "telnet" to connect with the client , but it didnt worked out.
    • Felix Carcone's icon
      Felix Carcone's icon
      Felix Carcone
      Apr 14 2019 | 5:29 pm
      Hi guys, I'm trying to use the [shell] object to send a simple command line to the terminal in order to pass an MQTT signal (Mac user here). I did it through Mosquitto in terminal, and in Node-Red (which can communicate with Max nicely with UDP), works like a charm, but I would like to be able to do it right from the shell object.
      The command line is extremely simple, something like this:
      mosquitto_p -t topic/exemple -m Hello
      This runs perfectly from the terminal, but I can't send it remotely from the shell object, which is weird. I already used the shell in the past, with success, but here it doesn't work.
      Something I'm forgetting ?
      Thank you guys,
    • michelefiori's icon
      michelefiori's icon
      Jul 17 2020 | 10:33 am
      Hi everyone, is it possible through the shell to shutdown the mac from Max MSP? I tried with the sudo shutdown -h now command but it doesn't work, maybe because it normally requires the password?
      thank you
    • pdelges's icon
      pdelges's icon
      Jul 17 2020 | 12:26 pm
      Did you try the curtains 3rd party (also by Jeremy B.) object?
    • michelefiori's icon
      michelefiori's icon
      Jul 17 2020 | 1:00 pm
      No, do you have a link? Thank you
    • pdelges's icon
      pdelges's icon
      Jul 17 2020 | 1:02 pm
    • michelefiori's icon
      michelefiori's icon
      Jul 17 2020 | 1:15 pm
    • Konstantin's icon
      Konstantin's icon
      Nov 30 2020 | 8:45 pm
      Friends, there is an AppleScript
      tell application "System Events" set the props to get the properties of the front window of application process "Finder" set theSBounds to {size, position} of props end tell
      please help to execute it and get the data using the shell
    • MMa's icon
      MMa's icon
      Dec 06 2020 | 9:54 pm
      @Jeremy I solved the problem, everything works perfectly, you did a really good job!