• Products
    • Isadora
    • Get It
    • ADD-ONS
    • IzzyCast
    • Get It
  • Forum
  • Help
  • Werkstatt
  • Newsletter
  • Impressum
  • Dsgvo
  • Press
  • Isadora
  • Get It
  • ADD-ONS
  • IzzyCast
  • Get It
  • Press
  • Dsgvo
  • Impressum

Navigation

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

    [APPLESCRIPT SOLUTION/LOGGED] How to dynamically load media files (videos/photos)

    Feature Requests
    8
    11
    3540
    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.
    • crystalhorizon
      crystalhorizon Beta Platinum @fitussi last edited by

      @fitussi look at the data array actor 

      And see this article https://support.troikatronix.c...

      Alexander Nantschev | http://www.crystalhorizon.at | located in Vienna Austria

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

        @fitussi

        You can also do it with apple script. See here https://community.troikatronix...

        Best Michel

        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 1
        • DusX
          DusX Tech Staff @crystalhorizon last edited by

          @crystalhorizon

          The data array, and javascript don't allow this. 

          Michels' comment about apple script is probably the best option.

          Troikatronix Technical Support

          • New Support Ticket Link: https://support.troikatronix.com/support/tickets/new
          • My Add-ons: https://troikatronix.com/add-ons/?u=dusx
          • Profession Services: https://support.troikatronix.com/support/solutions/articles/13000109444-professional-services

          Running: Win 11 64bit, i7, M.2 PCIe SSD's, 32gb DDR4, nVidia GTX 4070 | located in Ontario Canada.

          1 Reply Last reply Reply Quote 1
          • fitussi
            fitussi last edited by

            Thanks for the reply.

            Seems like JS can't do it directly.    no way to list files in a folder,   or load into movie slot.

            Applescript is not an option, as we're running this installation on Windows machine (because of the projection specs).

            Any other idea ?

            Thanks.

            mac 2 ghz i7 8gb 0sx 10.9.5

            DusX 1 Reply Last reply Reply Quote 0
            • DusX
              DusX Tech Staff @fitussi last edited by

              @fitussi

              I am working on a possible solution.

              Please give me the weekend to get back to you.

              Troikatronix Technical Support

              • New Support Ticket Link: https://support.troikatronix.com/support/tickets/new
              • My Add-ons: https://troikatronix.com/add-ons/?u=dusx
              • Profession Services: https://support.troikatronix.com/support/solutions/articles/13000109444-professional-services

              Running: Win 11 64bit, i7, M.2 PCIe SSD's, 32gb DDR4, nVidia GTX 4070 | located in Ontario Canada.

              T 1 Reply Last reply Reply Quote 0
              • T
                tincho-genosha @DusX last edited by

                @dusx Any news on this one>?

                DusX 1 Reply Last reply Reply Quote 0
                • DusX
                  DusX Tech Staff @tincho-genosha last edited by

                  @tincho-genosha

                  We have a solution coming for the next major release of Isadora, but not yet. 

                  Troikatronix Technical Support

                  • New Support Ticket Link: https://support.troikatronix.com/support/tickets/new
                  • My Add-ons: https://troikatronix.com/add-ons/?u=dusx
                  • Profession Services: https://support.troikatronix.com/support/solutions/articles/13000109444-professional-services

                  Running: Win 11 64bit, i7, M.2 PCIe SSD's, 32gb DDR4, nVidia GTX 4070 | located in Ontario Canada.

                  1 Reply Last reply Reply Quote 2
                  • mark
                    mark @fitussi last edited by mark

                    @fitussi

                    If you are using Isadora 3.2.1 or later on macOS? If so, we can adapt this trick from 2015 to accomplish your goal. By making the attached AppleScript a "Folder Action", media will be automatically imported when it is dragged into or saved into a specified folder.

                    First: Make add-media-to-isadora.scpt Available as a Folder Action Script 

                    1. Unzip the attached script "add-media-to-isadora.scpt"
                    2. In the Finder, choose Go > Go To Folder... and enter the following path into the dialog: /Library/Scripts/Folder Action Scripts
                    3. Click "Go"
                    4. Drop the "add-media-to-isadora.scpt" into the "Folder Actions Scripts" folder.
                    5. If asked, confirm adding the script t to Folder Actions Scripts folder by entering your password.

                    Second: Attach the Folder Action Script to a Folder:

                    1. Find the folder where your media will appear.
                    2. Control-click that folder in the Finder and from the popup menu choose Services > Folder Actions Setup...
                    3. In the "Confirm Service" dialog that appears (macOS Mojave and later) click "Run Service"
                    4. The Folder Actions Setup app launches. Click the "+" button under the right hand column.
                    5. In the dialog that appears, select the script add-media-to-isadora. 
                    6. Click "Attach"
                    7. Finally, make sure to enable the checkbox at the top left labeled "Enable Folder Actions". You may see one or more dialogs asking you for confirmation that you wish to allow this. Say "Yes" or "OK" to all of these.

                    Third: Try the script:

                    1. Open Isadora
                    2. Copy a media file, like a picture, and then paste it into your Watched Folder.
                    3. Voilá! It appears in the Media View.

                    Now you can use the Get Media Count actor to keep track of how many items are in the view, and use that value to respond when the number of images. videos, etc, change.

                    I hope that helps!

                    Best Wishes,
                    Mark

                    add-media-to-isadora.scpt.zip

                    Media Artist & Creator of Isadora
                    Macintosh SE-30, 32 Mb RAM, MacOS 7.6, Dual Floppy Drives

                    bonemap 1 Reply Last reply Reply Quote 3
                    • bonemap
                      bonemap Izzy Guru @mark last edited by bonemap

                      @mark

                      Great to see this update for a really useful function. But unfortunately this no similar options for Windows based systems.

                      Best Wishes 

                      Russell

                      http://bonemap.com | Australia
                      Izzy STD 4.2 | USB 3.6 | + Beta
                      MBP 16” 2019 2.4 GHz Intel i9 64GB AMD Radeon Pro 5500 8 GB 4TB SSD | 14.5 Sonoma
                      Mac Studio 2023 M2 Ultra 128GB | OSX 15.3 Sequoia
                      A range of deployable older Macs

                      Woland 1 Reply Last reply Reply Quote 0
                      • Woland
                        Woland Tech Staff @bonemap last edited by Woland

                        @bonemap said:

                        unfortunately this no similar options for Windows based systems.

                         As @DusX said, we've got something in the works ;)

                        TroikaTronix Technical Support
                        New Support Ticket: https://support.troikatronix.com/support/tickets/new
                        Support Policy: https://support.troikatronix.com/support/solutions/articles/13000064762
                        Add-Ons: https://troikatronix.com/add-ons/ & https://troikatronix.com/add-ons/?u=woland
                        Professional Services: https://support.troikatronix.com/support/solutions/articles/13000109444

                        | Isadora Version: all of them | Mac Pro (Late 2013), macOS 10.14.6, 3.5GHz 6-core, 1TB SSD, 64GB RAM, Dual AMD FirePro D700s |

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