keyboard shortcuts

C

Calin

Hello

How can I obtain progrmatically, a list with the keyboard shortcuts assigned
to menus items, commands etc in PowerPoint (like Save, Close, Cut, Copy,
Paste etc.) ?

Any help will be very appreciated.

Thanks, Calin
 
C

Calin

Thanks.
But I need to get programmatically which shortcut it is assigned for a
command. For example : I need the shortcut assiged for Save command or for
Copy command etc. Is it possible ?

It is strange because in Word is very easy, also in Excel (I'm not very
sure).

regards, Calin
 
A

Austin Myers

Calin,

I don't believe this is available from the PPT object model. Other than
going through it manually I don't know how you would get a list. If you can
explain what you are trying to do maybe we can offer some suggestions.


Austin Myers
MS PowerPoint MVP Team

Provider of PFCMedia, PFCPro, PFCExpress
http://www.pfcmedia.com
 
C

Calin

Thanks Austin. I was afraid of this. I searched all the properties and
methods from PPT object model in MSDN and I found nothing, but i thought
that maybe is an easy trick or something.

What I want to do, is to install a keyboard hook for the some PowerPoint
commands. Some of them can be handle in other ways because they also fires
PPT events, like Save - Ctrl+S, New - Ctrl+N, Open - Ctrl+O etc. but I don't
know how to do it in case of Copy - Ctrl+C, Cut - Ctrl+X etc. Do you have
any ideea ?

best regards, Calin
 
B

Bill Dilworth

There is already a utility to assign keyboard shortcuts. Check out this
page...
http://officeone.mvps.org/ppsctmgr/ppsctmgr.html

Otherwise, you will need to hard code all the Ctl shortcuts into your app.


--
Bill Dilworth
A proud member of the Microsoft PPT MVP Team
Users helping fellow users.
http://billdilworth.mvps.org
-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
vestprog2@ Please read the PowerPoint FAQ pages.
yahoo. They answer most of our questions.
com www.pptfaq.com
..
 
C

Calin

Thanks for you help, but I already saw that tool. Unfortunatelly it is not
usable in my project. I think I'll go forward by hardcoding the shortcuts,
because I don't think that are changed very often (or I hope so :))

regards, Calin
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top