Identifying a Selection String

We are creating a large curriculum in  areas of medicine.  We would like the student to be able to consult an existing data base of drugs with their chemical composition, side effects, dosage etc.

We can add a button on all the slides which when clicked will open another browser window and take the user to the data base.  However, we would like to be a little more elegant than that.

Specifically we would like the student to be able to select a drug by selecting the name of the drug out of the text on the slide.  With her mouse she would select the drug name and then click on the button and the new browser window would open but it would already have searched for the drug name and then  the content on the particular drug  would display to the student when the window opened.

We could do this easily IF WE HAD A WAY OF OBTAINING THE SELECTED TEXT STRING.  We can then pass this through the url and make the right search.  So my question is in Storyline 360, when a student selects text on a slide, how can I get the string of the selected text?

Someone before me must have wanted to do something like this and if anyone knows how, I would appreciate it.

 

 

 

.

 

4 Replies
Matthew Bibby

I'm not sure if there is any way to obtain the selected text string. If there was, it would be done by writing JavaScript and hacking the published HTML5 output.

However, if you've time and patience, you could build this in Storyline without knowing what text they have selected.

Just add transparent shapes over the key words with a jump to URL trigger that directs to the appropriate search query (e.g. https://www.google.com/search?q=searching%20for%20this ). 

It would also be a good idea to use a faint dotted underline to indicate which medical terms can be clicked on.

 

Lewis Eigen

It would be unfeasible in terms of labor.  We have 17 projects and dozens to hundreds of references in each.

 
Java Script would be no problem for us if someone – ideally the original programmers would just tell us what language the used and what the variable name that they used to hold the mouse selection.

 
Is this the place to ask this question?

 
Lewis D. Eigen

Lewis D. Eigen

lewiseigen@gmail.com

(301) 983-0228

 

Matthew Bibby

I'm not sure that you'll get that information, Lewis. Articulate don't provide support for modifications to the published output and I suspect that this request would fall into that category.

However, if you are comfortable with JavaScript (or have programmers who are...) then it should be possible to figure out what text is being selected. That being said, I haven't looked into it so not sure how much work is involved or even if it is possible.

Lewis Eigen

Well hopefully, an Articulate representative will weigh in on this.  I am not exactly looking for support on the underlying program.  Just telling us what would normally be in any reference manual.  IBM and Microsoft do not provide support for doing any modification to the underlying program but they will tell you where everything is and how it is labled.  So I am hoping …

 
Lewis D. Eigen

Lewis D. Eigen

lewiseigen@gmail.com

(301) 983-0228