Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Re: VBA to Printscreen, then save image

397 views
Skip to first unread message

Chirag

unread,
Mar 12, 2009, 11:23:03 PM3/12/09
to
If you want to capture the slide show as it progresses, there are a number
of products in the market that already do this. Look at Camtasia for
instance.

- Chirag

Shortcut Manager - Assign keyboard shortcuts to menu items and macros
http://officeone.mvps.org/ppsctmgr/ppsctmgr.html

"Alexf" <Al...@discussions.microsoft.com> wrote in message
news:F4E58B31-8908-489B...@microsoft.com...
> Hey guys;
>
> I recently came up with this idea. I searched around for some hours, but
> couldn't find it.
>
> This is what I want to do: Printscreen the running presentation slideshow,
> then save it to desktop.
>
> There seems to be some solutions, but I'm not sure if they work.
>
> See, the sendkeys function doesn't work on printscreen, right?
>
> Thanks in Advance.

Alexf

unread,
Mar 12, 2009, 11:29:02 PM3/12/09
to
Thats not what I meant, sorry for the misunderstanding.

What I need is a VBA Macro to PrintScreen the curent screen and save it on C:\

Michael Koerner

unread,
Mar 13, 2009, 6:34:44 AM3/13/09
to
Why not just save your presentation as image files and you will have the
same results as when you try to do a screen capture

--
Michael Koerner
MS MVP - PowerPoint


"Alexf" <Al...@discussions.microsoft.com> wrote in message

news:4BC249C8-EEAB-4121...@microsoft.com...

David Marcovitz

unread,
Mar 13, 2009, 9:37:19 AM3/13/09
to
I think I understand what you want, but I am not sure it is possible.
The closest I could come up with was:

ActivePresentation.SaveAs "myFile", ppSaveAsJPG

This is missing two key elements (I think):

(1) It saves the entire file as a series of JPG pictures in a folder
named myFile, rather than just the current slide.

(2) If you are trying to capture the state of animations, this probably
won't do it; it probably just shows the animations in the final state.

The alternative is looking at something like Shyam's Capture Show add-in:

http://skp.mvps.org/cshow.htm

--David

--
David Marcovitz
Microsoft PowerPoint MVP
Author of _Powerful PowerPoint for Educators_
http://www.PowerfulPowerPoint.com/

In article <F4E58B31-8908-489B...@microsoft.com>,

John Wilson

unread,
Mar 14, 2009, 9:26:05 AM3/14/09
to
Pretty sure you are right and this or the hidden method SlideRange.Export (as
jpg) will produce the edit view of the slides. As Alexf said you can't use
send keys [prtscr].

It is possible to "print screen" in vba using the api call "keybd_event".

Declare the api
and use

keybd_event &H2C,0,0

You would still have to write code to get the clipboard contents as a jpg
--

john ATSIGN PPTAlchemy.co.uk
Custom vba coding and PPT Makeovers
Free PPT Hints, Tips and Tutorials
http://www.pptalchemy.co.uk/powerpoint_hints_and_tips_tutorials.html

0 new messages