May 17, 2016 at 9:26 am #315365
I was just working on something and needed create a onMouse DoubleClick action, but my action option’s are very few in Lectora. All I have is Page Show, Object Hide/Show, Mouse click/enter/exit/right click.
However, the help file suggest that there are many other actions available:
Right Mouse Click
I can’t locate any of these. Any ideas where they are?
TIA.May 17, 2016 at 9:48 am #315367
What are you trying to put the action on?May 17, 2016 at 10:17 am #315375
Hi, I’m trying to apply this particular action to a hotspot I’ve created using a shape. If certain actions are restricted to specific objects, is there somewhere I can find this list?
ThanksMay 17, 2016 at 12:11 pm #315378
/* do your code here */
Replace the shapeXXX with your transparent hot spot shape HTML Name. Reply if you need further assistance with the code and I or someone else here will surely help you out.May 17, 2016 at 12:12 pm #315379
I’m sure one of the more seasoned Lectora users will be able to answer this for you quickly.May 17, 2016 at 4:15 pm #315390
Jennifer ValleyMember114 pts@jvalley4735
If you use a hot spot question you won’t be able to use double clicking. The answers are considered form objects that you can only select and deselect. You could however fake the question by using transparent buttons which do support double clicking.May 17, 2016 at 4:52 pm #315391
Naseem was asking where to find the double click trigger?May 18, 2016 at 3:09 am #315416
I’m doing a software simulation in this instance. And some of the functions in this software require a double click, hence the hotspot that requires a double click.
I’ve tried using the actual button object, but it still gives me the same trigger options.May 18, 2016 at 1:13 pm #315474
Ever since you asked that question I have tried to find any object that has a double click trigger and I can’t find one. I’ve tried different publishing modes too. Nothing. Anyone else in the forum know how to bring up a double click trigger?
Tim KMember324 pts@timk
The double-click trigger has been available until Lectora v11 (i don’t know if it existed in v12) for actions on buttons, images and shapes. It has only ever worked when publishing to formats using the Lectora Viewer (CD / EXE), not when publishing to be viewed in a browser (I thought browsers don’t support double-clicks).
To create a double-click you can use Darrels code or Jennies approach by placing a transparent button over your hotspot. Add two actions to the button:
Target: This object
Target: This object
Delay: 0.5 sec
This way the real hotspot can only be clicked during the .5 seconds while the transparent button is hidden.
Other triggers only exist for certain objects:
Some triggers are only available for actions added to the page itself:
On: Keystroke (It’s not possible to press [Enter] for an image only 😉
On: Any key
On: Device rotation
On: Screen Swipe Left
On: Screen Swipe Right
Why not add “Up” and “Down”?
On: Timed Interval
Some triggers are only available for actions on certain objects:
On: Done playing
Only available for videos and audios, i.e. for “playable” objects.
On: Select / Change
Only available for form objects that can be selected, e.g. radio buttons, checkboxes, input field.
TimThis post has received 5 votes up.
May 18, 2016 at 4:01 pm #315480
- This reply was modified 3 years, 8 months ago by Tim K.
Thank you, Tim. Great info. I think a guide review and revision is in order.May 20, 2016 at 2:48 am #315590
Thanks guys. Most helpful!
So essentially the help guide is out of date.May 20, 2016 at 1:03 pm #315627
Sergey SnegirevMember336 pts@ssneg
Tim’s way of adding a button that hides for 0.5 sec and reappears is INGENIOUS!November 14, 2019 at 10:30 am #434834
Maura T. SullivanMember1 pt@msullivan3430
Thank you for this post. It was very helpful in my simulation!
You must be logged in to reply to this topic.