set state of several buttons with one action?

mbuitenkamp-4316
Community Member Posts: 15 ☆ Roadie ☆
Hello,
Would it be possible to set the state of nine buttons at once if their corresponding variable contains a certain value?
Something like
for var1 - var9
if value = "seen"
set state button1 - button9 disabled
(yes, I know this is gibberish coding
)
The way I have it now is nine On Show Set State actions...
Tia
Would it be possible to set the state of nine buttons at once if their corresponding variable contains a certain value?
Something like
for var1 - var9
if value = "seen"
set state button1 - button9 disabled
(yes, I know this is gibberish coding

The way I have it now is nine On Show Set State actions...
Tia
Comments
-
wheels Community Member, Administrator, Moderator, Rockstar Manager Posts: 685 eLearning ROCKSTAR Admin TeamYou would need to setup an action "group", by putting actions inside a group object.
You would need one action for each set state action which would be setup to conditionally execute.
Then you can run the action group with one action.
(so simple answer no, not at this time unless you write some scripting to do this)
We have talked about adding multiple targets to some actions. The conditional per button based on variables would still be an issue. Thanks for posting we will consider this use case for future enhancements. -
Categories
- 35.9K All Categories
- 109 ✫ Announcements
- 33.1K Lectora®
- 31.1K Lectora Discussions
- 29K Lectora Desktop
- 2K Lectora Online
- 2K Lectora Feature Requests
- 71 Lectora User Groups
- 36 Lectora Accessibility User Group (LAUG)
- 25 ELB Learning Content
- 25 ELB Learning Content Discussions
- 329 CenarioVR®
- 196 CenarioVR Discussions
- 133 CenarioVR Feature Requests
- 42 Rockstar Learning Platform®
- 39 Rockstar Learning Platform Discussions
- 108 CourseMill®
- 108 CourseMill Discussions
- 47 ReviewLink®
- 47 ReviewLink Discussions
- 7 The Training Arcade®
- 7 The Training Arcade Discussions
- 936 All Things eLearning
- 37 eLearning Development
- 546 Learning Management System (LMS) Integration
- 333 Web Accessibility
- 1.2K ♪ The Green Room
- 9 Additional Learning Products