Create shortcut keys for Spanish accents to answer questions

Aug 17, 2013

I'm creating a Language Course. I have created a quiz where the user will type the correct Spanish word, however some words in Spanish have accents; á Á, é, í, ó, ú, etc.  . .

How can I create a variable or a shorcut combination of keys for Articulate Storyline, such as

CTR + a = á  or

0 + a = á

so when the user needs to type an accented vowel in the answer case, they just use the shortcut?

Any ideas everybody... Thanks a lot in advance. 

Armand

First time created a course with Stoyrline, loving it, though.

4 Replies
Luke Stollings

Armand,

I'm fascinated by this question.  What occurred to me was having a series of buttons, one for each special character.  The user types normally until they need a special character, at which time they click the button and it inserts it in the input box.  Looking through the possible trigger actions, the only one that might have the power to do this would be "execute javascript."  Problem is, I don't know from Java.  :^)

So I started googling.  This page: http://www.javascripter.net/faq/accentedcharacters.htm gives options for all the special characters, but when I insert their code, it opens a new page with the special character on it.  document.write('\xFC') gives a U with a dieresis.  So then it's a matter of getting it to put that in the text box (or putting it on the clipboard so the student can paste it in the text box).  I found lots of javascript forums with this sort of thing, but none of the boilerplate I stuck in did the trick for me (because I don't know what I'm doing, most likely).  This page seemed extra promising: http://jsfiddle.net/geMtZ/ since it contains a working model of what we want.  Problem is that most of creating the text box, etc. is already done behind the scenes by Storyline, and I'm not convince that me naming the textbox "Respuesta1" and then referring to it as such in the javascript box in Storyline is really calling that object.  Maybe someone with more javascript experience can take it from here...

The other option, if you know your students are all on PCs or all on Macs would be to include in your training a tutorial about how to get these special characters to show up "by normal means" such as switching to an international keyboard temporarily, or by typing in ASCII codes if the keyboards have a number pad.  This is arguably a very useful skill for the student to have.  Try out http://support.microsoft.com/kb/269750  Method 1 for perhaps the easiest way without software-switching to an international keyboard.  Perhaps you could make a "cheat sheet" for this or another method in the intro to the course that students could print, or leave open in a different browser window.

Hope this helps a bit.

Armand Z

Ashley and Luke, 

Thanks a lot for the insight, I had a feeling it would take a whole lot of technical knowledge to pull this off. All the info you gave me is a great starting point. I´ll look into that. I did have in mind the ASCII codes and the "cheat sheet". The only issue with that, is that for some laptop keyboards these codes don´t really work, lacking a number pad. Hence me wanting to have customized keyboard shortcuts... 

Thanks again and I´ll keep looking into this, if I find anything that could make it work I´ll be sure to post it. 

A

This discussion is closed. You can start a new discussion or contact Articulate Support.