Copy link to clipboard
Copied
Single objects can be hidden using advanced actions but not groups. Is there any way to do this in captivate 9 ?
For Example:
Cp. show()
Cp. hide ()
This does not work for groups.
Copy link to clipboard
Copied
They will not work for groups, as there are no groups in the Captivate output, they are only in the IDE. If you use a Show in Captivate, it writes a show for each item in the group in the JavaScript.
You can name the group items if you name them specifically and the run a loop to find all items that fit a certain criteria. I also include a loop to reset all items on the slide to their initial visibility state.
Copy link to clipboard
Copied
If your content is for HTML5 output, then the CpExtra HTML5 widget allows you to use @syntax or #syntax to HIDE or SHOW any object simply based on its Item Name.
More information here:
Copy link to clipboard
Copied
It so looks like you guys from the community or maybe even Adobe themselves have a very profitable partnership with these CpExtra guys because as of Dec. 2019, I see that CpExtra has been your answer for years for many many requests for simple things that Captivate should have accomplished years ago.
For example, making cp.hide() and cp.show() work for groups wouldn't take more than a few hours or, say, a few days. Maybe, just code a for() loop that iterates the items in a group and executes cp.hide() or cp.show() on them. That would easily work for both SWF and HTML5 output. If I can do it with JS in my simulators while I drink a cup of coffee, why would Adobe take literally years to include it in their development plan, being that so useful? Come on!!!!! I just won't believe that nobody has requested it already in all these years. I cannot actually tell for sure but, it makes so much sense: why would you guys push Adobe to listen to these requests and kill your milking cow? I'm sorry but, you know what they say: think wrong and be right!
P.S. Maybe I'm too harsh with you guys because I come from an open-source community in which the best for the most is the priority, not the best for a company's commercial plan. I keep using CP because I'm paid for it, not because of my experience with Adobe, it's documentation or it's community. Very very disappointing. I'm sorry guys.
Best regards!
Copy link to clipboard
Copied
P.P.S. Just in case you guys come up with a picky "correction"... I'm talking about a case like: cp.hide("Group_of_items") in Javascript. I know that's possible from an Advanced Action
Copy link to clipboard
Copied
Since you mention CpExtra, and my (one person) company Infosemantics Pty Ltd happens to be the originator of this widget, please allow me to enlighten you on a few points:
Copy link to clipboard
Copied
"....I also include a loop to reset all items on the slide to their initial visibility state." Can u show me how u did it. I already named all things popUpxyz. So ur Code would be perfect fitting. Greetings
Copy link to clipboard
Copied
Just trying to clarify this question - you are talking about calling show / hide from Javascript in this case, not from Advanced Actions within Captivate, yes?
Copy link to clipboard
Copied
I do this all the time with Shared Actions.
Copy link to clipboard
Copied
Show/hide groups is possible with advanced and shared actions, apparently
not with JS. Enable/disable a group of buttons or other interactive objects
is not possible with shared/advanced actions. For that goal I am using the
@ syntax of that amazing CpExtra widget by InfoSemantics. In my opinion that
widget is indispensable for most developers for HTML output.