Exclude an action for a device
November 7, 2018 12:00 AM
I want to use an action to move an object on the desktop but do not want that item to move on any devices. Is there a way to exclude the action on devices?
Discussion (1)
From the help: (I know... hard to find things in there!)
https://www.trivantis.com/help/Lectora_Online/4.2/en/HelpHTMLs/index.html#91.html?Highlight=currentview
Actions can be made conditional to allow you to invoke different behaviors on alternative device views. Use the reserved variable CurrentView to compare against. The stored values are:
Desktop
TabletLandscape
TabletPortrait
PhoneLandscape
PhonePortrait
For example, you can compare that CurrentView “Is Equal to” TabletLandscape or “Contains” Phone or “Does Not Contain” Desktop. (You can also shortcut, for example, “Contains” “T” since only the Tablet choices contain a capital T, or “Contains” “L” since only the Landscape choices contain a capital L.)

Discussions have been disabled for this post