HISE Logo Forum
    • Categories
    • Register
    • Login

    Including .JS files in new projects.

    Scheduled Pinned Locked Moved General Questions
    9 Posts 2 Posters 95 Views
    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.
    • ChazroxC
      Chazrox
      last edited by

      I made a couple namespaces and saved them to external script files.

      I opened the script folder for a new project and placed a couple of those files into its corresponding script folder. You can see I typed the include command in the code editor but im getting an error straight away.

      I noticed the folder has "script processor". It didnt have that when I first started the project then it was made after a few compiles I guess. How do I connect these files? I thought I was following directions properly obviously.

      Screenshot 2025-02-25 at 6.04.47 PM.png

      ChazroxC 1 Reply Last reply Reply Quote 0
      • ChazroxC
        Chazrox @Chazrox
        last edited by

        @Chazrox Whats the difference between MOVE SCRIPT and SAVE SCRIPT to external files? Does that make a difference in how they're shared?

        d.healeyD 1 Reply Last reply Reply Quote 0
        • d.healeyD
          d.healey @Chazrox
          last edited by

          @Chazrox Might be because you have dots in the folder name - avoid special characters in folder and file names.

          Libre Wave - Freedom respecting instruments and effects
          My Patreon - HISE tutorials
          YouTube Channel - Public HISE tutorials

          ChazroxC 1 Reply Last reply Reply Quote 0
          • ChazroxC
            Chazrox @d.healey
            last edited by

            @d-healey What does that mean?

            ChazroxC 1 Reply Last reply Reply Quote 0
            • ChazroxC
              Chazrox @Chazrox
              last edited by

              ... the dots part.

              d.healeyD 1 Reply Last reply Reply Quote 0
              • d.healeyD
                d.healey @Chazrox
                last edited by

                @Chazrox dots usually go at the end of a file name before the file extension, having them elsewhere in the file path might be causing your issue.

                Libre Wave - Freedom respecting instruments and effects
                My Patreon - HISE tutorials
                YouTube Channel - Public HISE tutorials

                ChazroxC 1 Reply Last reply Reply Quote 0
                • ChazroxC
                  Chazrox @d.healey
                  last edited by

                  @d-healey Where do you see dots in my filenames besides ".js"?

                  ChazroxC 1 Reply Last reply Reply Quote 0
                  • ChazroxC
                    Chazrox @Chazrox
                    last edited by

                    @Chazrox ok...I think I figured it out. Its because I have the project folder within that "HISE 4.1..." folder correct? When I move the project file to a different folder I dont get an error. Excuse my ignorance a little bit, im still learning. Thanks Dave!

                    d.healeyD 1 Reply Last reply Reply Quote 0
                    • d.healeyD
                      d.healey @Chazrox
                      last edited by

                      @Chazrox Yes, in the folder name in the file path, not the file itself.

                      Libre Wave - Freedom respecting instruments and effects
                      My Patreon - HISE tutorials
                      YouTube Channel - Public HISE tutorials

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

                      58

                      Online

                      1.7k

                      Users

                      11.7k

                      Topics

                      101.8k

                      Posts