Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Smart Shape with Two different actions?

Guest
Dec 20, 2016 Dec 20, 2016

I would like to create a large smart shape which when clicked will open the table of contents.

I would also like this same shape to close the Table of contents when clicked again.

Like a toggle switch.

Click = TOC opens

Click = TOC closes.

I need the large smartshape buttons because the users are visually impaired.  That's why I can't use the default small tab located in the upper left area of the screen.

332
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

Community Expert , Dec 21, 2016 Dec 21, 2016

Do not forget to put it 'always on top' when timing for the rest of the project.

That is the simplest work flow, indeed. However: the button will not show the status, which may not be a problem. The biggest problem you have since you are still on CP8, is that there is no way to pause the slide while the TOC is open. You have to consider that: is it OK that the slide will continue to play and eventually go to the next slide? Do you have another way of pausing the slide?

The toggle command was adde

...
Translate
Community Expert ,
Dec 20, 2016 Dec 20, 2016

I explained in detail how to create such a toggle button in this blog post:

1 action = 5 Toggle Buttons - Captivate blog

The explanation is for Captivate 9 which has multistate objects. Let me know if you use another version

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guest
Dec 20, 2016 Dec 20, 2016

Hi Lily:

I'm on Captivate 8.0.3.290

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Dec 20, 2016 Dec 20, 2016

Have a look at this older blog post which you can use for 8:

Toggle Shape buttons - Captivate 6 - Captivate blog

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guest
Dec 21, 2016 Dec 21, 2016

Thanks Lily.

I did something that worked. Tell me if this has any negative ramifications:
I used a smartshape and "use as button" was checked.

On Success: Toggle

Variable: cpCmdTOCVisible

Timing: display for rest of project.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Dec 21, 2016 Dec 21, 2016

Do not forget to put it 'always on top' when timing for the rest of the project.

That is the simplest work flow, indeed. However: the button will not show the status, which may not be a problem. The biggest problem you have since you are still on CP8, is that there is no way to pause the slide while the TOC is open. You have to consider that: is it OK that the slide will continue to play and eventually go to the next slide? Do you have another way of pausing the slide?

The toggle command was added with CP7, didn't exist when I wrote the article for CP6. It used to be:

   Expression cpCmndTOCVisible = 1 - cpCmndTOCvisible

Reflect about the Pause: do you want the button to pause the slide while the TOC is open or not?

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guest
Dec 21, 2016 Dec 21, 2016

Thanks for the valuable feedback Li!

We don't have money in the budget to upgrade to Captivate 9 so we have to make due with 8.

In addition, we are on tough deadlines to get some projects done before year end. Perhaps we'll upgrade to v10 if we have some breathing room next year.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Dec 21, 2016 Dec 21, 2016
LATEST

Did you look at that blog post about Toggle Shape buttons? You have several scenarios, some are very easy to apply and you'll have a nice toggle button that looks different depending on the state of the TOC.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources
Help resources