triggers

  • Thread starter Thread starter HI folks
  • Start date Start date
H

HI folks

I've been using triggers so that when a user clicks in a
particular place something will happen. Most of the
objects on the slide are called things like shape 12,
group 5, line 11. It's hard for me to figure out the name
of a particular object.

Does anyone know a quick cut for displaying the names of
the various bits?

Cheers and happy ppting
 
This is a limitation of PPT (and something that has been requested from MS
in the next version). A few workaround options are:
1. If it is a shape, create and save in an image editor. Insert as a graphic
and the graphics name is displayed.
2. If you group items they can be named (just as you want to with individual
items).

--
Best Regards,
Troy Chollar
==============================
"troy at TLCCreative dot com"
TLC Creative Services, inc.
www.tlccreative.com
==============================
 
Best thing I know to do is to double-click the shape and type some
descriptive text in the "web" box. Then you can use the "select multiple
objects" tool on the Drawing Toolbar (you may have to add it using
Tools/Customize) to select the correct shape.

Unfortunately, those names don't show up in the animation task pane, but
they do still help.
 
One of our MVPs created a macro a while back that allows you to provide the
name of an object instead of the "seemingly random" one that PowerPoint
assigns to it. You would need to insert this macro into a module in each
presentation that you desire to name your objects. It takes a little work,
but once you get the hang of it, it might make life simpler since you can
name the objects the way you want to (making selecting for triggers easier).

Here is the macro:

Sub NameShape()
Dim Name$
On Error GoTo AbortNameShape

If ActiveWindow.Selection.ShapeRange.Count = 0 Then
MsgBox "No Shapes Selected"
Exit Sub
End If
Name$ = ActiveWindow.Selection.ShapeRange(1).Name

Name$ = InputBox$("Give this shape a name", "Shape Name", Name$)

If Name$ <> "" Then
ActiveWindow.Selection.ShapeRange(1).Name = Name$
End If
Exit Sub

AbortNameShape:
MsgBox Err.Description

End Sub

Copy the whole macro from "Sub" to "End Sub", open PowerPoint, open your
presentation, press ALT-F11 to enter the Visual Basic Editor (VBE), Click
"Insert", "Module", double-click on the module, in the right hand side press
CTRL-V to paste your code. Close out the VBE window. Make sure your macro
security is set to MEDIUM (Tools, Options, Security, Macro Security).

Select an object, click "Tools", "Macro", "Macros", your macro should be
highlighted (NameShape), click "Run". A dialog box will appear with the
name assigned by PowerPoint, type your own name and press ENTER to accept
the new name. Check out the trigger list to see if the new names are
showing up. I haven't actually used it for triggers but instead for
controlling the Visible property of an object on a slide using code, but it
should work.

Good Luck! If nothing else, you learned some visual basic code for
PowerPoint! <VBG>

Bill Foley
www.pttinc.com
 
I was just talking about you! <VBG> Forgot about the free add-in. I'm
soooo used to doing things the hard way! Keeps the mind sharp!

Bill
 
[CRITICAL UPDATE - Anyone using Office 2003 should install the critical
update as soon as possible. From PowerPoint, choose "Help -> Check for
Updates".]

Hello,

PowerPoint doesn't provide the functionality that you are looking for
without resorting to VBA or add-ins.

If you (or anyone else reading this message) think that it's important that
PowerPoint provide this kind of functionality (without having to resort to
VBA or add-ins), don't forget to send your feedback (in YOUR OWN WORDS,
please) to Microsoft at:

http://register.microsoft.com/mswish/suggestion.asp

As with all product suggestions, it's important that you not just state
your wish but also WHY it is important to you that your product suggestion
be implemented by Microsoft. Microsoft receives thousands of product
suggestions every day and we read each one but, in any given product
development cycle, there are only sufficient resources to address the ones
that are most important to our customers so take the extra time to state
your case as clearly and completely as possible.

IMPORTANT: Each submission should be a single suggestion (not a list of
suggestions).

John Langhans
Microsoft Corporation
Supportability Program Manager
Microsoft Office PowerPoint for Windows
Microsoft Office Picture Manager for Windows

For FAQ's, highlights and top issues, visit the Microsoft PowerPoint
support center at: http://support.microsoft.com/default.aspx?pr=ppt
Search the Microsoft Knowledge Base at:
http://support.microsoft.com/default.aspx?pr=kbhowto

This posting is provided "AS IS" with no warranties, and confers no rights.
Use of any included script samples are subject to the terms specified at
http://www.microsoft.com/info/cpyright.htm
 
Back
Top