Forum Discussion
What's the best way to create a custom keyboard shortcut for a button?
Hi Greg,
Might I suggest implementing and then ignoring the trigger's condition of "after clicking on this layer"?
It appears to me that Storyline requires this condition in the programming of the trigger but does not actually enforce it as we might think.
I tested putting a trigger on a quiz slide's feedback layers (both correct and incorrect) that stated "Jump to next slide when the user presses a key (the #1 key) after clicking on this layer." However, when testing it, I chose my answer on the quiz slide, the appropriate feedback layer appeared, I pressed the #1 key, and I was instantly taken to the next slide. Note that I did this without a separate additional click of the mouse on the feedback layer.
My theory is that Storyline considers accessing the feedback layer the same as clicking on it. In other words, once the feedback layer is activated and displayed, Storyline may consider that you have "clicked on it," thus making the keyboard shortcut you have programmed in the trigger accessible.
So, I would suggest adding in the triggers on the feedback layers to enable your programmed keyboard shortcuts, include the trigger condition of "after clicking on this layer," and then ignoring the condition in actual practice. It seemed to work for me.
Here is my test Storyline file:
Related Content
- 6 months ago
- 6 months ago