Skip to main content
scruffylad
Participating Frequently
August 11, 2014
Question

Typing special characters into text entry boxes

  • August 11, 2014
  • 3 replies
  • 1188 views

I am a high school Spanish teacher, and I'm trying to incorporate Cp into my classroom instruction.  The problem is that text entry boxes will only accept special characters (vowels with accent marks, the ñ, ¿, and ¡) through use of the old-school ALT+code feature.  The battle it would require to get high school students to memorize and use those codes is...  prohibitive.  The usual solution is to change the computer's default language to Spanish (which is problematic if students forget to switch is back, even if they have the correct access to change the language in the first place) and use a Spanish keyboard (which is simply not available).  I'm trying to find a way to create a button that will simply insert the required character into the text entry box when pressed, but apparently there is no 'simply' involved.  I'm a complete nube when it comes to JS or AS3, and can't for the life of me figure out how to script such a monster.  I can't even get the most simple of scripts to do anything using the 'execute JS' feature on a button.

But somewhere in the back of my mind, I'm thinking that I can't be the first person to come across this problem.  Adobe support is no help, and I've got nowhere else to turn...

Help me Obi-wan (if you're out there), you're my only hope.

This topic has been closed for replies.

3 replies

scruffylad
Participating Frequently
August 13, 2014

Guess I'm just going to have to learn how to script on my own...  When I figure it out, I'll post the functioning script to this thread, so if this is something that interests you, go ahead and follow it.  If you're a proficient scripter and have some advice/hints/help, I'm all ears...  or eyes as the case may be.

I've got a Big Green Egg that I've gotten fairly good with over the last year or so...  if you want to trade scripting expertise for some good southern pulled pork expertise, I'm more than willing to work something out...  just HMU.

Inspiring
August 11, 2014

I assumed the students were creating Captivate projects.  Sorry.  After reading it again, I realize you're looking for students to be able to insert special characters into text entry boxes in a published file.  If Lilybiri doesn't have an answer, I certainly don't! 

Would it be acceptable to make a key or legend in the corner of your slides?  You could list out the ALT codes next to the symbols.   

Inspiring
August 11, 2014

You can insert special characters through the format panel.  With your cursor active in a text box, click the "&" button to insert a symbol.  A few options pop up.  Click the "More" button to open additional symbols.  It looks like any necessary Spanish characters are there and will adapt to the selected font.

This is more tedious for your students than simply pressing a button.  But, hopefully it can get the job done for you!    

Lilybiri
Legend
August 11, 2014

Karlea M??? How can student see the 'Format' accordion in a published file? It is only available when creating/editing a cptx file.

Scuffylad, sorry but have no solution for you.

scruffylad
Participating Frequently
August 11, 2014

Lilybiri,

Is it that a JS can't be used to script a character into a text entry box from a button, or that the scripting would be complex enough that it would be like using a tank to swat a mosquito?

I was hoping that it would be >10 lines of script that could be easily copied and pasted with minor adjustments to any page needing it.  Am I dreaming?  Is my inexperience shining through yet?