Trigger off of the Middle Mouse Button/Wheel

May 31, 2012

Has anyone used Storyline to trigger an action off of a middle mouse button click or use of the mouse wheel? This may seem trivial, but the software that we train on uses the middle mouse button/wheel to perform several key actions. I've been trying to figure out if there was a way to indirectly trigger off of middle mouse-button, but nothing has come to mind yet.  Any thoughts from the caped crusaders out there?

23 Replies
Andy Wood

The screen capture partially captures it.  It recognizes that it's a middle-mouse click and specifies it in the hint layer.  However, the hotspot it creates triggers off of left-mouse click.  I can be creative and work around it for now, but a middle mouse click/wheel trigger would be nice.

I suspect the formal feature request post from the Articulate staff is coming next. 

Hugh Gardner

Speaking as an avid video gamer, when you edit key binding in games you can usually select Mouse1, Mouse2, etc.  Now while I would understand a reluctance of the programmers to allow mouse 1 or mouse 2 to be changed and used in triggers with User Presses a Key, mouse 3 should be something that could be added (you mentioned you were considering a feature request).  You will have some folks without a middle mouse button, but you could add in another trigger to back it up.  

Leslie McKerchie

 Hello Heather and welcome to E-Learning Heroes :)

I wanted to share some information about how we manage these feature requests that we receive. I did a quick search and I do see a few similar requests, so I'm going to gather all these together.

Can you tell me a bit more about the issue you're running into with the scrolling panel? I'd be happy to help you out.

Andy Wood


Some of the training we develop covers tasks performed in software where
using the middle-mouse button click (or using the scroll wheel) are an
important action the user takes. As best as I can tell, there is no way
to capture that action in Storyline. If we had the ability to
incorporate a trigger in Storyline off of either of those actions, it
would allow us to better train users on how to perform certain
functions. Even if we just had the middle-mouse button trigger, I think
we could come up with a workaround for the scroll wheel (or vice versa).

Does that explanation make sense?


Tiffany-lee Jopson

Hi, just wondering if this feature has been created yet? As someone who creates IT training I use the screen recording conversion but not having a mouse scroll option to play media really doesn't allow the learner for the best learning outcome as the behaviour of scrolling the mouse isn't connected to the media playing :( 

Fabian Debrunner

Dear all

Any progress on this feature? I'm as well very interested in this possibility. To create accurate software simulation, it is crucial to have the same items available as the user in the original software.
In our software some interactions are done as well with the middle mouse click. Please add this possibility to the trigger wizard to the "Mouse Events".

Highly appreciated and many thanks in advance.
Best wishes, Fabian

Math Notermans

This basically does the trick.

You need an element or hotspot to click... in this case the yellow container...
And a variable 'isXYZopen' that gets set to 1 when the user clicks with the middle mouse.
If the var changes the layer will open. The clicked variable is not needed, but to make the 'cursor' show i added it. Ofcourse the var gets set to 0 when you close the SlideLayer XYZ.

Kind regards and good luck,

Fabian Debrunner

Hi Math,

Many thanks, you are awesome.

My learning: To "select" an object of the storyline product, it is required to use the "alt text" which can be defined via: right click on the object - Accessibility - Alternate Text.

The name of the object used within the timeline is purely used by storyline. :-)

Many thanks for this lesson, Math :-)

Best wishes, Fäbu

Math Notermans

Small correction... To act on any element in your Storyline using Javascript you first need to be able to select it. I use the 'accessibility names' as selectors. Its easy, you can create groups of elements as they act as classLists...and more benefits. It is only needed when using Javascript, and there are more options. You can use jQuery as selector and more...but it is at the moment the most versatile method of selecting elements in Storyline...