Skip to main content
Known Participant
February 2, 2016
Question

Option I want to uncheck in shared action are greyed out

  • February 2, 2016
  • 1 reply
  • 404 views

Hi all

I have a toggle button created that when clicked shows or hides the same 20 items through out the module, except for one which will be different on each slide. I want to be able to that one parameter so when I assign it as a shared action it's the only thing I need to add in the drop downs and so I don't have to add in the same 20 items each time, but for some reason they're all greyed out so I can't uncheck them. Is this the case for certain actions like 'hide' or should I be able to uncheck them?

Hope it makes sense.

This topic has been closed for replies.

1 reply

Lilybiri
Legend
February 2, 2016

Hope my intuition is correct because you didn't give many details. Are those items timed for the rest of the project? If that is the case (I would recommend it), group those items. That means that your shared action will be reduced to two commands:

  • Hide Gr_items
  • Show Itemx

In shared actions you have compulsory and candidate parameters. The objects you are talking about are always parameters. I logged a feature request to have the same situation for those as for variables and literals which are considered to be candidate parameters. Sorry for the improvised words, I explained them in this article:

Parameters in Shared Actions - Captivate 7 vs. 8 - Captivate blog

But with the grouping you'll end up only with two parameters, which you will always have to define when applying that action. At least it is better than having to define 20 parameters. It seems that many users ignore that you can use groups instead of a single object as parameters, must have missed my blog posts about grouping.

arashmazAuthor
Known Participant
February 3, 2016

Hi Lilybiri

Thanks for your responses (As always! )

What do you mean you said are the items timed for the rest of the project?

I recently learned you can group items and just hide/show the group (from one of your other posts btw) but the shapes are spread over various slides as opposed to them all being on one slide. Can you still assign them to a group if they're spread across the project?

Thanks

Lilybiri
Legend
February 3, 2016

No, you can only group items that are on one slide. That was my question, because of this sentence: " so I don't have to add in the same 20 items each time"

What I would do is put all those items on the first slide where they have to appear, time them for the rest of the project, always on top. Of course, group them as well. The big advantage in that case is that the items always have the same ID (name) throughout the project. I suppose you'll  need two actions in that case:

  1. A simple standard action 'Hide Gr_items' that you trigger On Enter for each slide. I prefer a standard advanced action over a simple action, because I don't know if you are on CP9 or CP8. You can even turn it into a shared action if you  like to use it in other projects, but I would use the shared action in that case as a template; that way you can select all the slides in the Filmstrip (starting with the first slide that has the group) and apply the action On Enter at once.
  2. A shared action like the one I described before with the two commands, to be triggered by the Success event (click) of the interactive object.

Tip: if you choose the names carefully for the items, perhaps add the slide number in the name, you can use the filtering option that works nicely in the Parameters dialog box to choose the right item very quickly.