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

    JavaScript - reload input

    Feature Requests
    2
    3
    931
    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.
    • JuriaanJ
      Juriaan Tech Staff
      last edited by Juriaan

      Hi there,

      I work a lot with the Javascript actor in Isadora and the one thing that annoys me is that there is no way to 'reload' a Javascript actor.

      Current behavoir :

      - You need to edit the Javascript code and save the file

      - Variables get cleaned

      Desired behavoir :

      Current behavoir AND

      - (Hidden) input at a javascript actor that allows us to reload the file so that the variables get cleaned 🙂

      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

      DusXD 1 Reply Last reply Reply Quote 1
      • DusXD
        DusX Tech Staff @Juriaan
        last edited by

        @juriaan

        An easy trick I use is to grab a 'user actor on/off' from inside a user actor and add paste it to the main patch.

        This allows you to manually switch off and back on the 'actor' which in this case is the entire scene, causing it to reload whIle visible starting with the init process and then enter scene.

        In the case of the JS actor it will reload and run the include() functions again. This very handy when working with external files.

        But also a greatly useful debugging tool for other patching tasks.

        Troikatronix Technical Support

        • New Support Ticket Link: https://support.troikatronix.com/support/tickets/new
        • Isadora Add-ons: https://troikatronix.com/add-ons/
        • My Add-ons: https://troikatronix.com/add-ons/?u=dusx

        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
        • JuriaanJ
          Juriaan Tech Staff
          last edited by

          Great tip @DusX. Thanks !

          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

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