• hyperlink trigger animation (2002)

    Author
    Topic
    #406621

    During a presentation, I would like to display an object on the same currently displayed slide by clicking on a hyperlink. How can I do that? Do I need macros?

    With a second click I would like to make it dissapear.

    For example. I have a map. Several circles on the map, show the location of houses. By clicking on the circles, I would like to display a photo of that particular house. A second click (on that house) would make it dissapear. Can it be done?

    Thank you

    Viewing 3 reply threads
    Author
    Replies
    • #844536

      Ok, I’ve attached a sample file
      In this file each half of the heart will cause a different star to appear/disappear.
      How to
      1.Trace a shape over the heart, using the freeform drawing tool, colour it the same as the heart.
      2. Animate the star. Under Add Effects, choose appear. Make sure the animation is triggered by a click. Then right-click on the animation in the animation panel and select Effect Options. Choose the Timing Tab. At the bottom of the timing tab you’ll find the Triggers button.
      Click the Triggers button and choose the Start effect on click of option, make sure you pick the shape you created in step 1.
      Do the same thing to remove the star.

      Notes: When playing the show you’ll find the “hand” mouse appears when you can click to show/hide the star. What I’ve noticed is that different fills to the freeform shape give you different mouse coverage – I’ve tried to demonstrate this by formatting the left/right heart shapes differently. You’ll probably have to fool around with this to get something that pleases you.

      Hope this helps.

      • #844916

        Perfect!

        Which would be the easiest way to find the name of the object that triggers the animation? If I have a lot of objects in my slide it could be hard to find the right one. Is there an easy way to display the code name of any object?

        Thank you

        • #845045

          The way I do this is to

          • Select the shape
          • Switch to Visual Basic (Alt-F11)
          • Open the Immediate window (Control-G)
          • Type the command ? windows(1).Selection.ShapeRange(1).Name
            [/list]You can change the name to something more memorable by typing
            Windows(1).Selection.ShapeRange(1).Name="new Name"

            StuartR

          • #845363

            1. How do I “report” the name of the selected object in the main powerpoint window? something like “Windows(1).Selection.ShapeRange(1).Name.Type” ?

            2. I did what you suggested, but…

            In the animation “Timing / Triggers / Start effect on click of: “, I still get a rather meaningless list : ” rectangle 1, rectangle 2, oval 1,…” Is this good for writing code only?

            Thank you

            • #845368

              I tend to use the “alt text” to add info to my shapes.

              Double-click the object to open the Format/Object dialog. On the Web tab, type in some text. That text shows up when you use the “select multiple” button on your drawing toolbar (you may have to add this to your toolbar using Tools/Customize, as it’s not there by default).

              You’ll still see “rectangle 1, oval 2,” etc., in the custom animation task pane, though. But IIRC, added alt text shows up there as well.

            • #845590

              Great Tip!

            • #845591

              Great Tip!

            • #845625

              I tried this, but the added Alt text doesn’t appear in the Custom Animation task pane. The original poster is correct that the new Name that I set also doesn’t show up there. Bother.

              StuartR

            • #845651

              I agree, it is a bother.

              I should have been more clear — I use the select multiple and the web alt text to make sure I’ve selected the correct thing. Then I can see what’s highlighted in the custom animation task pane so I can tell what kind of animation/settings the thing has. (I couldn’t remember what actually showed up in the task pane when I posted earlier.)

              The MS PPT development team is aware of this issue with the custom animation task pane — having none of the names there match any other names makes it extremely difficult to work with, especially on slides where there’s a lot going on.

            • #845652

              I agree, it is a bother.

              I should have been more clear — I use the select multiple and the web alt text to make sure I’ve selected the correct thing. Then I can see what’s highlighted in the custom animation task pane so I can tell what kind of animation/settings the thing has. (I couldn’t remember what actually showed up in the task pane when I posted earlier.)

              The MS PPT development team is aware of this issue with the custom animation task pane — having none of the names there match any other names makes it extremely difficult to work with, especially on slides where there’s a lot going on.

            • #845758

              Not that this is a great solution but couldn’t one write a short VBA macro that simply gave a few properties of the selected object like name, alt text, etc.? or if you wanted to go beyond this, create a table with the properties for each shape on a slide. That way, you’d have a little cheat sheet of what’s what when doing the animation.

              Also, when I select an object when doing animation, I do see some selection handles on the object in the preview window (ppt 2000). Does this help?

              Fred

            • #845759

              Not that this is a great solution but couldn’t one write a short VBA macro that simply gave a few properties of the selected object like name, alt text, etc.? or if you wanted to go beyond this, create a table with the properties for each shape on a slide. That way, you’d have a little cheat sheet of what’s what when doing the animation.

              Also, when I select an object when doing animation, I do see some selection handles on the object in the preview window (ppt 2000). Does this help?

              Fred

            • #845626

              I tried this, but the added Alt text doesn’t appear in the Custom Animation task pane. The original poster is correct that the new Name that I set also doesn’t show up there. Bother.

              StuartR

            • #845369

              I tend to use the “alt text” to add info to my shapes.

              Double-click the object to open the Format/Object dialog. On the Web tab, type in some text. That text shows up when you use the “select multiple” button on your drawing toolbar (you may have to add this to your toolbar using Tools/Customize, as it’s not there by default).

              You’ll still see “rectangle 1, oval 2,” etc., in the custom animation task pane, though. But IIRC, added alt text shows up there as well.

        • #845046

          The way I do this is to

          • Select the shape
          • Switch to Visual Basic (Alt-F11)
          • Open the Immediate window (Control-G)
          • Type the command ? windows(1).Selection.ShapeRange(1).Name
            [/list]You can change the name to something more memorable by typing
            Windows(1).Selection.ShapeRange(1).Name="new Name"

            StuartR

      • #844917

        Perfect!

        Which would be the easiest way to find the name of the object that triggers the animation? If I have a lot of objects in my slide it could be hard to find the right one. Is there an easy way to display the code name of any object?

        Thank you

    • #844537

      Ok, I’ve attached a sample file
      In this file each half of the heart will cause a different star to appear/disappear.
      How to
      1.Trace a shape over the heart, using the freeform drawing tool, colour it the same as the heart.
      2. Animate the star. Under Add Effects, choose appear. Make sure the animation is triggered by a click. Then right-click on the animation in the animation panel and select Effect Options. Choose the Timing Tab. At the bottom of the timing tab you’ll find the Triggers button.
      Click the Triggers button and choose the Start effect on click of option, make sure you pick the shape you created in step 1.
      Do the same thing to remove the star.

      Notes: When playing the show you’ll find the “hand” mouse appears when you can click to show/hide the star. What I’ve noticed is that different fills to the freeform shape give you different mouse coverage – I’ve tried to demonstrate this by formatting the left/right heart shapes differently. You’ll probably have to fool around with this to get something that pleases you.

      Hope this helps.

    • #845348

      I love you guys!!!

      Thank you!

    • #845349

      I love you guys!!!

      Thank you!

    Viewing 3 reply threads
    Reply To: hyperlink trigger animation (2002)

    You can use BBCodes to format your content.
    Your account can't use all available BBCodes, they will be stripped before saving.

    Your information: