• Isadora
  • Get it
  • Forum
  • Help
  • ADD-ONS
  • Newsletter
  • Impressum
  • Dsgvo
  • Impressum
Forum
    • Categories
    • Recent
    • Popular
    • Tags
    • Register
    • Login

    Applescript to import media to specific bin

    How To... ?
    5
    9
    2.0k
    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.
    • I
      ibmcclain
      last edited by

      Just wanted to check to see if someone had input on if any Applescript exists right now that can import files into a specified bin.  I'm aware of the script that just imports media right in, but i'm trying to set up specific folders to auto import into specific bins. Any ideas?

      1 Reply Last reply Reply Quote 0
      • SkulptureS
        Skulpture Izzy Guru
        last edited by

        This may help:

        http://www.jamiegriffiths.com/apple-script-into-isadora/

        Graham Thorne | www.grahamthorne.co.uk
        RIG 1: Windows 11, AMD 7 Ryzen, RTX3070, 16gig RAM. 2 x M.2 SSD. HD. Lenovo Legion 5 gaming laptop.
        RIG 2: Windows 11, Intel i19 12th Gen. RTX3070ti, 16gig RAM (ddr5), 1x M.2 SSD. UHD DELL G15 Gaming laptop.
        RIG 3: Apple rMBP i7, 8gig RAM 256 SSD, HD, OS X 10.12.12

        1 Reply Last reply Reply Quote 0
        • I
          ibmcclain
          last edited by

          Skulpture:  Does this script have the capability of importing into specified bins?  I haven't gotten that detail to work with that script

          1 Reply Last reply Reply Quote 0
          • SkulptureS
            Skulpture Izzy Guru
            last edited by

            It's not got that feature scripted into it no, but I am wondering if it's possible to add.... I am not sure sorry.

            Graham Thorne | www.grahamthorne.co.uk
            RIG 1: Windows 11, AMD 7 Ryzen, RTX3070, 16gig RAM. 2 x M.2 SSD. HD. Lenovo Legion 5 gaming laptop.
            RIG 2: Windows 11, Intel i19 12th Gen. RTX3070ti, 16gig RAM (ddr5), 1x M.2 SSD. UHD DELL G15 Gaming laptop.
            RIG 3: Apple rMBP i7, 8gig RAM 256 SSD, HD, OS X 10.12.12

            1 Reply Last reply Reply Quote 0
            • N
              nick
              last edited by

              Its dictionary has

              import media into v : Import a one or more media files of a single type (video, audio, etc.) into a specific bin within the Media Window.

              import media into any : The document or bin into which the file will be imported.

              from file specification : The media file(s) to be imported. When importing to a bin, all files must be of the same type (e.g., video, audio, etc.) and their type must match that of the bin into which they are being imported.

              MacBook Pro 11.5.2

              1 Reply Last reply Reply Quote 0
              • SkulptureS
                Skulpture Izzy Guru
                last edited by

                Brill thanks @nick.

                Graham Thorne | www.grahamthorne.co.uk
                RIG 1: Windows 11, AMD 7 Ryzen, RTX3070, 16gig RAM. 2 x M.2 SSD. HD. Lenovo Legion 5 gaming laptop.
                RIG 2: Windows 11, Intel i19 12th Gen. RTX3070ti, 16gig RAM (ddr5), 1x M.2 SSD. UHD DELL G15 Gaming laptop.
                RIG 3: Apple rMBP i7, 8gig RAM 256 SSD, HD, OS X 10.12.12

                1 Reply Last reply Reply Quote 0
                • lpipozL
                  lpipoz
                  last edited by

                  Hi all,

                  I'm trying to import in a specific bin (Captures), but I miss the proper syntax.
                  Here is what I'm trying

                  on adding folder items to this_folder after receiving these_items

                  try

                  tell application "Isadora"

                  import media into media bin "Captures" from these_items

                  end tell

                  on error msg

                  display dialog "Error importing file into Isadora: " & msg

                  end try

                  end adding folder items to

                  1 Reply Last reply Reply Quote 0
                  • lpipozL
                    lpipoz
                    last edited by

                    It's work

                    correct syntax is:
                    import media into media bin "Captures" of document 1 from these_items
                    1 Reply Last reply Reply Quote 1
                    • teaseT
                      tease
                      last edited by

                      I used this apple script a lot, does somebody knows the equivalent for Window? 

                      I had to cross for a new piece and neeed to learn windows environement...

                      here is the version I used on mac: 

                      ---------------------

                      on adding folder items to this_folder after receiving these_items

                      try
                      tell application "Isadora"
                      import media into document 1 from these_items
                      end tell
                      end try

                      end adding folder items to

                      -----------------------

                      Thomas Israël : Mac Studio M1 Max 32Go Ventura & MBP 2016 10.15.7 i7 16Go Intel HD 530 1536Mo - located in Belgium - France - Brasil
                      Digital art - performance - Opera - installation - interactivity - sculpture / 18 years on Isadora / mac, hack & PC - www.thomasisrael.be & https://linktr.ee/thoisr

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