curtains 1.4


    Jul 23 2019 | 6:12 am
    Hi forum,
    The venerable curtains object (restart and shutdown your machine) has been updated to 1.4 and now supports 64-bit (!) and will now actually load in a modern version of Max. I'm always a little late to the party, but I didn't realize that people were still using (or desiring to use) this object.
    It has only been lightly tested, but appears to be working and stable. Let me know how it goes.
    Jeremy

    • Jul 23 2019 | 9:26 am
      Thanks Jeremy!
    • Oct 06 2019 | 4:07 pm
      Thanks, very useful object. Now is loaded in Max 8, I will try and post results.
    • Nov 29 2020 | 12:01 pm
      Many thanks Jeremy is very helpful. Could you add an activity to send machine to sleep? Does it also work on windows?
    • Nov 29 2020 | 1:08 pm
      Hi, I could take a look at adding a Sleep function. There appear to be Windows externals in the archive, so my best guess is that it's working on Windows. Not that I remember porting it to Windows, but it looks like I did.
    • Nov 29 2020 | 2:27 pm
      Thanks for your reply and for your works (shell and curtain). Maybe the sleep is very useful for the installations. If is it possible this is great!
    • Dec 01 2020 | 12:23 pm
      By the way, and probably easiest for the time being, until I find a moment to update 'curtains': send the message 'pmset sleepnow' to the 'shell' object on macOS. On Windows, you can try some of the variations suggested in this article: https://winaero.com/how-to-sleep-windows-10-from-the-command-line/
    • Dec 01 2020 | 3:00 pm
      PERFECT!!
    • Dec 22 2020 | 3:35 pm
      Thank You Jeremy, this object is very useful for installations, and it also have the windows version! I wonder how the reboot command is called, is it safe to call it every day for years, allowing processes to end etc?
      I usually use your shell object + osascript msg for this kind of maintenance routines (the sleep function is also a need). What's the best way to go in your opinion?
      Thank you
      Antonio
    • Dec 22 2020 | 4:04 pm
      Under Jeremy's advice I am using shell + PSshutdown for the sleep function in windows and I must say it works wonderfully. With curtain restarting on windows unfortunately does not work well, but I think it depends on some windows settings. However I can confirm that shell + curtain are essential in art installations.
      however, before rebooting I always send a message to shell to kill all applications in run and then reboot. When the computer restarts there is another message telling the shell to open the applications needed for the installation.
      Great Jeremy!
    • Dec 22 2020 | 5:35 pm
      Hello MMA, thank you for the hint! It saves me a lot of time and tries.
      Antonio
    • Apr 29 2022 | 6:59 am
      Thanks Jeremy,
      That finally makes one of my projects 100% controlable via Mira. :)