• Isadora
  • Get it
  • Forum
  • Help
  • ADD-ONS
  • Newsletter
  • Impressum
  • Dsgvo
  • Impressum
Forum

Navigation

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Popular
    • Tags

    Apple script for a 1 year long installation!

    How To... ?
    6
    14
    2815
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • gapworks
      gapworks last edited by

      hi there, I'm not familiar (yet) with apple script :( the following scenario should explain what i need!

      1) the dancers open up the art space for warm up and start the mac mini

      2) isadora should start up and start a certain file  after a delay of 2 min

      3) abelton live should start up and start a certain file after a delay of 2 min  

      4) at a certain hour the mac mini should shut down

      any suggestions are highly appreciated!

      Running MBP2017 / Osx 10.14.5 / 16 GB 2133 MHz LPDDR3 / Intel HD Graphics 630 1536 MB / Latest Isadora Version / www.gapworks.at / located in Vienna Austria

      1 Reply Last reply Reply Quote 0
      • Fred
        Fred last edited by

        make an apple script to start each app, you can export the apple script as an application. You can then go to the calendar and make events that repeat as you need (skipping days you don't need). These events can open your app made with apple script (or even the app directly if you don't need to do anything else to it)

        http://osxdaily.com/2013/04/15...

        Use the Schedule feature of Energy Saver preferences to set a time for your Mac to automatically start up, wake, sleep, restart, or shut down.

        You can also just make the apps you need to open on startup.

        A warning note, on shutdown use a script to shutdown all the open apps properly, wait for a while before you shut down the computer. Also disable apple persistence, this can really mess things up with a start up schedule.

        I have had machines running this kind of schedule for months and years. All you need to do to alter stuff this was is change a calendar event, which anyone can do.

        http://www.fredrodrigues.net/
        https://github.com/fred-dev
        OSX 10.15.15 MBP 2019 16" 2.3 GHz 8-Core i9, Radeon Pro 5500M 8 GB, 32g RAM
        Windows 10 7700K, GTX 1080ti, 32g RAM, 2tb raided SSD
        Windows 10 Threadripper 3960x 64g ram, 1tb NVME, rtx 2080ti + rtx2070 super

        gapworks 1 Reply Last reply Reply Quote 0
        • gapworks
          gapworks @Fred last edited by

          @fred thats exactly my problem! no idea about apple script! and the description of your link is different than my calendar in mac high sierra! there is no alert function...

          Running MBP2017 / Osx 10.14.5 / 16 GB 2133 MHz LPDDR3 / Intel HD Graphics 630 1536 MB / Latest Isadora Version / www.gapworks.at / located in Vienna Austria

          Michel Fred 2 Replies Last reply Reply Quote 0
          • Michel
            Michel Izzy Guru @gapworks last edited by Michel

            @gapworks

            This would be your script to open Isadora with a delay of 120 seconds, you can do the same with ableton. Save the script as application and put it to the startup objects.

            delay 120 --time in seconds
            tell application "Isadora"
            activate
            end tell

            Best Michel

            Michel Weber | www.filmprojekt.ch | rMBP (2019) i9, 16gig, AMD 5500M 8 GB, OS X 10.15 | located in Winterthur Switzerland.

            gapworks 2 Replies Last reply Reply Quote 0
            • Fred
              Fred @gapworks last edited by Fred

              @gapworks I think it is now in alerts and then choose open file, I dont find any references to this dissapearing in high sierra, but I did see a few notes about setting different alert possibilities in prefrences.

              http://www.fredrodrigues.net/
              https://github.com/fred-dev
              OSX 10.15.15 MBP 2019 16" 2.3 GHz 8-Core i9, Radeon Pro 5500M 8 GB, 32g RAM
              Windows 10 7700K, GTX 1080ti, 32g RAM, 2tb raided SSD
              Windows 10 Threadripper 3960x 64g ram, 1tb NVME, rtx 2080ti + rtx2070 super

              1 Reply Last reply Reply Quote 0
              • gapworks
                gapworks @Michel last edited by

                @michel thanx a lot works great so far! @Fred same to you for your help! 

                Running MBP2017 / Osx 10.14.5 / 16 GB 2133 MHz LPDDR3 / Intel HD Graphics 630 1536 MB / Latest Isadora Version / www.gapworks.at / located in Vienna Austria

                1 Reply Last reply Reply Quote 0
                • gapworks
                  gapworks @Michel last edited by gapworks

                  @michel one more question. isadora works great because i can tell to use the recent file. abelton starts with an empty file. is there a way to tell abelton what file to use?

                  Running MBP2017 / Osx 10.14.5 / 16 GB 2133 MHz LPDDR3 / Intel HD Graphics 630 1536 MB / Latest Isadora Version / www.gapworks.at / located in Vienna Austria

                  Fred Michel 2 Replies Last reply Reply Quote 0
                  • Fred
                    Fred @gapworks last edited by

                    @gapworks https://www.ableton.com/answer...

                    http://www.fredrodrigues.net/
                    https://github.com/fred-dev
                    OSX 10.15.15 MBP 2019 16" 2.3 GHz 8-Core i9, Radeon Pro 5500M 8 GB, 32g RAM
                    Windows 10 7700K, GTX 1080ti, 32g RAM, 2tb raided SSD
                    Windows 10 Threadripper 3960x 64g ram, 1tb NVME, rtx 2080ti + rtx2070 super

                    1 Reply Last reply Reply Quote 0
                    • Maxime
                      Maxime last edited by

                      @gapworks You can tell Ableton to start with a certain file in the preferences. However, I tried to use that feature before (in a similar situation than the one you have, somebody had to turn on automatically an installation) and I found it was acting a bit weird. Live open your file but it's appearing an untitled file (even though you can recognize your file) and it was not working properly time to time.

                      I think you can tell your apple script to open "this file" with this "software". I would investigate that way...

                      MBP 15" end 2013 / i7 2,3Ghz /NVIDIA GT 750M 2048Mo / 16Go RAM / OS 10.10.3
                      Razer Blade 15" 2018 /i7/ GTX1070/ 16Go RAM

                      1 Reply Last reply Reply Quote 0
                      • Michel
                        Michel Izzy Guru @gapworks last edited by

                        @gapworks 

                        delay 120 --time in seconds

                        tell application "Finder"

                        open POSIX file "path to your specific Ableton file"

                        delay 10 --time in seconds

                        tell application "Isadora"

                        activate

                        end tell

                        end tell

                        Michel Weber | www.filmprojekt.ch | rMBP (2019) i9, 16gig, AMD 5500M 8 GB, OS X 10.15 | located in Winterthur Switzerland.

                        1 Reply Last reply Reply Quote 0
                        • Maximortal
                          Maximortal last edited by

                          OT (not so OT)

                          i've tried to reach same goal in w10 and schedule  management do not start a specific izzy patch at startup, I found a whorkarund creating a .bat file that run isadora patch an then i've placed this file into startup folder...any other solutions (tryed by me) didn't works...but my workaround can not create a delay between ableton and sadora. Any ideas? or schedule management works on your machine? 

                          P.S.: i'm on w10 1709

                          Iro Suraci | Win 10 - Ryzen 3600 - 32GB - nVidia gtx 960 4gb / Win 10 - i5 4210U - 8 GB - R5 M230 | Isadora 3.0.7| Located in Brescia, Italy

                          Juriaan Fred 2 Replies Last reply Reply Quote 0
                          • Juriaan
                            Juriaan Tech Staff @Maximortal last edited by

                            @maximortal

                            Hi there,

                            For Windows there is AutoHotKey that works great 😀

                            Isadora 3.1.1, Dell XPS 17 9710, Windows 10
                            Interactive Performance Designer, Freelance Artist, Scenographer, Lighting Designer, TroikaTronix Community moderator
                            Always in for chatting about interaction in space / performance design. Drop me an email at hello@juriaan.me

                            Maximortal 1 Reply Last reply Reply Quote 0
                            • Maximortal
                              Maximortal @Juriaan last edited by

                              @juriaan said:

                              AutoHotKey

                               i'm giving it a wiew. thanks

                              Iro Suraci | Win 10 - Ryzen 3600 - 32GB - nVidia gtx 960 4gb / Win 10 - i5 4210U - 8 GB - R5 M230 | Isadora 3.0.7| Located in Brescia, Italy

                              1 Reply Last reply Reply Quote 0
                              • Fred
                                Fred @Maximortal last edited by

                                @maximortal I use task sceduler and always up, alwaysup can monitor your application and restart it if it crashes, it has some utilities for waiting between actions.

                                http://www.fredrodrigues.net/
                                https://github.com/fred-dev
                                OSX 10.15.15 MBP 2019 16" 2.3 GHz 8-Core i9, Radeon Pro 5500M 8 GB, 32g RAM
                                Windows 10 7700K, GTX 1080ti, 32g RAM, 2tb raided SSD
                                Windows 10 Threadripper 3960x 64g ram, 1tb NVME, rtx 2080ti + rtx2070 super

                                1 Reply Last reply Reply Quote 0
                                • First post
                                  Last post