User presses function key

Dec 02, 2012

I am building a simulation in Storyline that requires the learner to use the F1, F3 and F4 keys during interactions. Currently, these function keys trigger default actions as per browsers and storyline, such as when pressing F1, a browser window opens to the storyline publishing/preview webpage.

Is it possible to use function keys as part of triggers? Is so, what do I need to do to disable the default actions?

8 Replies
Alexandros Anoyatis

Hello Cheryl,

Since function keys are reserved for browser-based functions, you'd have to resort to some pretty complicated javascript (outside the Storyline shell) to be able to bypass them.


Have a look at these threads : 

http://www.webdeveloper.com/forum/showthread.php?64652-disable-function-key-F1

http://www.dynamicdrive.com/forums/showthread.php?47959-Disable-browser-F1-and-replace-with-own-content

http://www.quirksmode.org/js/keys.html

Hope it helps,

Alex

tara moore

Hi Cheryl,

We are trying to develop computer simulations for an AS400 system at my company right now.  I came across your thread looking for a solution, to which we have yet to find one.  Can you tell me if you were able to achieve resolution on your project somehow?  If so, it would be great to hear details....

Thank you in advance,

Tara

Cheryl Hemmerle

Hi Tara:

No, I was not able to come up with a solution. What we ended up doing was placing an image of a computer keyboard on the screen and creating hotspots over the F keys for the learner to click with the mouse. It did not achieve the most realistic user experience, but it was good enough. Ideally, we would have liked for the learner to press the actual F keys on their computer keyboard to simulate accurately.

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