Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #73334 > unrolled thread

Generate Single PowerPoint from two powerpoints using pywin32(python)

Started byJaydeep Patil <patil.jay2009@gmail.com>
First post2014-06-16 23:20 -0700
Last post2014-06-18 13:38 -0700
Articles 4 — 3 participants

Back to article view | Back to comp.lang.python


Contents

  Generate Single PowerPoint from two powerpoints using pywin32(python) Jaydeep Patil <patil.jay2009@gmail.com> - 2014-06-16 23:20 -0700
    Re: Generate Single PowerPoint from two powerpoints using pywin32(python) Jaydeep Patil <patil.jay2009@gmail.com> - 2014-06-17 22:52 -0700
      Re: Generate Single PowerPoint from two powerpoints using pywin32(python) Dennis Lee Bieber <wlfraed@ix.netcom.com> - 2014-06-18 08:54 -0400
    Re: Generate Single PowerPoint from two powerpoints using pywin32(python) Paul McNett <paul@mcnettware.com> - 2014-06-18 13:38 -0700

#73334 — Generate Single PowerPoint from two powerpoints using pywin32(python)

FromJaydeep Patil <patil.jay2009@gmail.com>
Date2014-06-16 23:20 -0700
SubjectGenerate Single PowerPoint from two powerpoints using pywin32(python)
Message-ID<8f45e063-8844-40a1-b1c2-27a0b8803382@googlegroups.com>
Hi,

I have two powerpoints, which consists of images in each slide.
I need to read each powerpoint, copy images from both powerpoint & paste these images into output powerpoint side by side. 

How should i do thism using python?
The repoisition of shapes seems to be difficult.


Regards
Jaydeep

[toc] | [next] | [standalone]


#73350

FromJaydeep Patil <patil.jay2009@gmail.com>
Date2014-06-17 22:52 -0700
Message-ID<03ebc312-b314-4693-8d66-47c6f79ecc69@googlegroups.com>
In reply to#73334
On Tuesday, 17 June 2014 11:50:38 UTC+5:30, Jaydeep Patil  wrote:
> Hi,
> 
> 
> 
> I have two powerpoints, which consists of images in each slide.
> 
> I need to read each powerpoint, copy images from both powerpoint & paste these images into output powerpoint side by side. 
> 
> 
> 
> How should i do thism using python?
> 
> The repoisition of shapes seems to be difficult.
> 
> 
> 
> 
> 
> Regards
> 
> Jaydeep



On Tuesday, 17 June 2014 11:50:38 UTC+5:30, Jaydeep Patil  wrote:
> Hi,
> 
> 
> 
> I have two powerpoints, which consists of images in each slide.
> 
> I need to read each powerpoint, copy images from both powerpoint & paste these images into output powerpoint side by side. 
> 
> 
> 
> How should i do thism using python?
> 
> The repoisition of shapes seems to be difficult.
> 
> 
> 
> 
> 
> Regards
> 
> Jaydeep



On Tuesday, 17 June 2014 11:50:38 UTC+5:30, Jaydeep Patil  wrote:
> Hi,
> 
> 
> 
> I have two powerpoints, which consists of images in each slide.
> 
> I need to read each powerpoint, copy images from both powerpoint & paste these images into output powerpoint side by side. 
> 
> 
> 
> How should i do thism using python?
> 
> The repoisition of shapes seems to be difficult.
> 
> 
> 
> 
> 
> Regards
> 
> Jaydeep



Anybody please help me?


Regards
Jaydeep Patil

[toc] | [prev] | [next] | [standalone]


#73363

FromDennis Lee Bieber <wlfraed@ix.netcom.com>
Date2014-06-18 08:54 -0400
Message-ID<mailman.11115.1403096076.18130.python-list@python.org>
In reply to#73350
On Tue, 17 Jun 2014 22:52:41 -0700 (PDT), Jaydeep Patil
<patil.jay2009@gmail.com> declaimed the following:

>On Tuesday, 17 June 2014 11:50:38 UTC+5:30, Jaydeep Patil  wrote:

	Repeating yourself three times is not going to get any better response
than your original post.


>
>
>
>Anybody please help me?
>

http://msdn.microsoft.com/en-us/library/bb251394%28v=office.12%29.aspx
-- 
	Wulfraed                 Dennis Lee Bieber         AF6VN
    wlfraed@ix.netcom.com    HTTP://wlfraed.home.netcom.com/

[toc] | [prev] | [next] | [standalone]


#73379

FromPaul McNett <paul@mcnettware.com>
Date2014-06-18 13:38 -0700
Message-ID<mailman.11122.1403123901.18130.python-list@python.org>
In reply to#73334
On 6/16/14, 11:20 PM, Jaydeep Patil wrote:
> I have two powerpoints, which consists of images in each slide.
> I need to read each powerpoint, copy images from both powerpoint & paste these images into output powerpoint side by side.
>
> How should i do thism using python?
> The repoisition of shapes seems to be difficult.

This seems like the wrong forum to ask this. Whatever the right 
Powerpoint calls are to accomplish this, it has nothing to do with 
Python. Well, you are making the calls via Python but the content of the 
calls aren't python.

Back in the old days (it's been over a decade since I've worked with 
Microsoft Office using COM automation) when I needed to figure out how 
to programatically manipulate a Powerpoint slide or Excel spreadsheet, 
my general flow was:

1) turn on the macro recorder in Office.
2) do the operation that needs doing, using the Office UI.
3) save the macro.
4) set up the situation again, and this time play back the macro to make 
sure it works.
5) convert the macro code into whatever is needed in the client 
programming language (usually just wrapping the actual macro lines of 
code into strings passed using a pywin32 function)
6) test running the situation with the calling client programming language.

Frankly, I'm not sure COM automation is the current way to interact with 
Microsoft stuff, but surely by querying other forums (Microsoft Office 
automation forums should exist, I'd think) on how to do #1-3 above would 
get you halfway. Then you could ask here about how to use pywin32 (or 
whatever) to communicate with Powerpoint to do the work.

Does that make sense?
Paul

[toc] | [prev] | [standalone]


Back to top | Article view | comp.lang.python


csiph-web