Results 1 to 11 of 11
  1. #1
    2 Star Lounger
    Join Date
    Apr 2002
    Location
    Houston, Tx, USA
    Posts
    121
    Thanks
    0
    Thanked 0 Times in 0 Posts

    hyperlink trigger animation (2002)

    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
    Guillermo

  2. #2
    Super Moderator WebGenii's Avatar
    Join Date
    Jan 2001
    Location
    Redcliff, Alberta, Canada
    Posts
    4,066
    Thanks
    2
    Thanked 5 Times in 5 Posts

    Re: hyperlink trigger animation (2002)

    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.
    [b]Catharine Richardson (WebGenii)
    WebGenii Home Page
    Moderator: Spreadsheets, Other MS Apps, Presentation Apps, Visual Basic for Apps, Windows Mobile

  3. #3
    2 Star Lounger
    Join Date
    Apr 2002
    Location
    Houston, Tx, USA
    Posts
    121
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: hyperlink trigger animation (2002)

    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
    Guillermo

  4. #4
    Plutonium Lounger
    Join Date
    Nov 2001
    Posts
    10,550
    Thanks
    0
    Thanked 7 Times in 7 Posts

    Re: hyperlink trigger animation (2002)

    The way I do this is to
    <UL><LI>Select the shape
    <LI>Switch to Visual Basic (Alt-F11)
    <LI>Open the Immediate window (Control-G)
    <LI>Type the command <code>? windows(1).Selection.ShapeRange(1).Name</code>[/list]You can change the name to something more memorable by typing
    <code>Windows(1).Selection.ShapeRange(1).Name="new Name"</code>

    StuartR

  5. #5
    2 Star Lounger
    Join Date
    Apr 2002
    Location
    Houston, Tx, USA
    Posts
    121
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: hyperlink trigger animation (2002)

    I love you guys!!!

    Thank you!
    Guillermo

  6. #6
    2 Star Lounger
    Join Date
    Apr 2002
    Location
    Houston, Tx, USA
    Posts
    121
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: hyperlink trigger animation (2002)

    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
    Guillermo

  7. #7
    3 Star Lounger
    Join Date
    Dec 2002
    Location
    USA
    Posts
    397
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: hyperlink trigger animation (2002)

    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.

  8. #8
    Super Moderator WebGenii's Avatar
    Join Date
    Jan 2001
    Location
    Redcliff, Alberta, Canada
    Posts
    4,066
    Thanks
    2
    Thanked 5 Times in 5 Posts

    Re: hyperlink trigger animation (2002)

    Great Tip!
    [b]Catharine Richardson (WebGenii)
    WebGenii Home Page
    Moderator: Spreadsheets, Other MS Apps, Presentation Apps, Visual Basic for Apps, Windows Mobile

  9. #9
    Plutonium Lounger
    Join Date
    Nov 2001
    Posts
    10,550
    Thanks
    0
    Thanked 7 Times in 7 Posts

    Re: hyperlink trigger animation (2002)

    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

  10. #10
    3 Star Lounger
    Join Date
    Dec 2002
    Location
    USA
    Posts
    397
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: hyperlink trigger animation (2002)

    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.

  11. #11
    Silver Lounger
    Join Date
    Jan 2001
    Location
    West Long Branch, New Jersey, USA
    Posts
    1,921
    Thanks
    6
    Thanked 9 Times in 7 Posts

    Re: hyperlink trigger animation (2002)

    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

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •