Powerpoint: Difference between revisions

From AutoIt Wiki
Jump to navigation Jump to search
No edit summary
Line 18: Line 18:


=== PowerPoint ===
=== PowerPoint ===
===== Terms =====
* '''SlideMaster''':
* '''HandoutMaster''':
* '''NotesMaster''':
* '''TitleMaster''':
* '''SlideRange''':
* '''ShapeRange''':


===== Concepts =====
===== Concepts =====

Revision as of 11:29, 2 August 2021

This page is still a work in progress.

The PowerPoint UDF offers basic functions to control and manipulate Microsoft PowerPoint.

Concepts

UDF

The PowerPoint UDF is based on the following concept:

  • Use function _PPT_Open as the first step in your script to start up PowerPoint or to connect to a running instance.
  • Some functions allow to process just a single Slide and others allow a range of Slides.
    • The UDF always uses the SlideRange object when working with Slides.
      Use function _PPT_SlideRangeSet to specify the Slides to process, then call a function and pass the range as parameter.
    • For details please check the description of the specific function.
  • Some functions allow to process just a single Shape and others allow a range of Shapes.
    • The UDF always uses the ShapeRange object when working with Shapes.
      Use function _PPT_ShapeRangeSet to specify the Shapes to process, then call a function and pass the range as parameter.
    • For details please check the description of the specific function.
  • Use function _PPT_Close as the last step in your script to shutdown PowerPoint or to release the connection to a running instance.

PowerPoint

Terms
  • SlideMaster:
  • HandoutMaster:
  • NotesMaster:
  • TitleMaster:
  • SlideRange:
  • ShapeRange:
Concepts

You can get an overview of the concepts of PowerPoint on this website.

Object model

The PowerPoint object model is described here.

Example Scripts

For single functions

Every function of the UDF comes with an example script (except internal functions). The example script is named like the function.

Extended Examples

Example scripts which describe more than a single function of the UDF are prefixed with _PPT_Example_.

Function specific pages

The following pages contain information for the functions that can be used for many different item types.

Find an Item

Further information on how to ...: Link