Copies the current slide with all its child objects into the system clipboard
Usage:
pptSlideCopyToClipboard (object me )
Parameters:
None
Returns:
(integer) - The success code
Example:
-- opens PowerPoint as a background process, copies slide 3 into the clipboard.
xtRose = xtra("Rosetta").new( )
xtRose.pptLaunch( )
xtRose.pptOpen( "C:\myPresentation.ppt" )
xtRose.pptGo( 3 )
xtRose.pptSlideCopyToClipboard( )
-- creates a new PowerPoint file from the contents of the previous PowerPoint file
xtRoseNew = xtra("Rosetta").new( )
xtRoseNew.pptLaunch( )
xtRoseNew.pptNewBlank( )
xtRoseNew.pptSlidePasteFromClipboard( )
xtRoseNew.pptSave( "C:\new.ppt" )
xtRoseNew.pptClose( )
-- removes PowerPoint from the background process
xtRose.pptClose( )
xtRose.pptQuit( )
Notes: