Forum Discussion

TudorSabau-6d04's avatar
TudorSabau-6d04
Community Member
9 years ago

Copy text from published course

Hello, I have been looking over all of the topics on this issue, and I don't see a solution.

From what I understand I can't use a Java script to copy to clipboard.

Linking the user to a document outside the course defeats the Storyline software purpose.

Adding multiple documents in the resources section is not feasible either.

Using a variable linked to a text entry box is not working because of the code length. 

Basically, what I need to have my users do, is to go through troubleshooting scenarios and at some steps, copy a code sequence and then paste and run it in other software.

Does anybody have any solutions on this? FYI I am using Storyline 2&3.

I am opened to suggestions.

Thank you!

18 Replies

  • Hello Ashley,

    The web object is stored locally at the moment, but this course will be published and stored on a server for online access through LMS. 

    The thing is that I don't want to have the .story file containing web objects with web addresses to documents stored separately on external sources.

    What I want is to integrate the web objects within the .story file package, so they can work independently from the source documents. Keep in mind that I only want to add text.

    When you publish a course containing web objects, you will find in the story output folder 3  other subfolders: notes, slides and WebObjects. This makes me think that the webobjects are integrated within the story package, which should allow them to function independent from any other external sources. 

    Also, when you add a WebObject to a slide, you are only able to select a folder but no individual WebObjects. When I try to select the folder containing the .htm/.html files I get an error of "could not locate an index.html file in the specified folder".

    So my questions are: 

    Why am I missing the index.html file? how do I create it?

    What format should the webobjects have in order for them to be a selectable text within the course and be bundled with the published story output files so they can work independently from external sources and how do I add them?

    Looking forward.

    Thank you.

  • You can rename your html page index.html and it will pick it up when you point to the folder.

    You can use any text editor to create this page.

  • Any web objects stored locally on your machine will be wrapped into the project

     

  • Phil, that did it, thanks a lot!

    So in case anybody else will be trying the same thing and will find this thread:

    - I created the word document with the text I need to have selectable in the course

    - I saved it as htm/html in the same folder

    - I ended up having 2 files in the folder, the word doc in which I initially input my text and the one I saved as htm/html

    - I renamed the one that was saved as htm/html to index.html as per Phil

    - I added the web object within the course by selecting the folder containing the 2 above mentioned files

    After publishing the course, these web objects have been added to the course package and the text is selectable and also independent from any other external sources.

    Thank you!

  • Thank you for this problem/solution. I have a follow up question... I have multiple exercises for which I'd like learners to be able to copy paste text out of the storyline lesson. Can I save multiple htm/html files in that folder. Can there be more than one index.html file?

    Thanks!

    • JenniferBukacek's avatar
      JenniferBukacek
      Community Member

      Ah, I might have answered my question. I just put the index.htm file inside each Exercise folder. That seems to work. 

       

  • alexdevo's avatar
    alexdevo
    Community Member

    As Tudor Sabau posted 4 years ago, this workaround won't work on Firefox. Does anybody know a solution?