Powerpoint: Difference between revisions

From AutoIt Wiki
Jump to navigation Jump to search
No edit summary
Line 8: Line 8:
The PowerPoint UDF is based on the following concept:
The PowerPoint UDF is based on the following concept:


* Use function _PPT_Open to start up PowerPoint or to connect to a running instance.
* 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.
* Some functions allow to process just a single Slide and others allow a range of Slides.
** For details please check the description of the specific function.
** For details please check the description of the specific function.
** The UDF always uses the SlideRange object when working with Slides. Use function _PPT_SlideRangeSet to specify the Slides to process.
** The UDF always uses the SlideRange object when working with Slides. Use function _PPT_SlideRangeSet to specify the Slides to process.
* Some functions allow to process just a single Shape and others allow a range of Shapes.<br>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.
** For details please check the description of the specific function.
** The UDF always uses the ShapeRange object when working with Shapes. Use function _PPT_ShapeRangeSet to specify the Shapes to process.
** The UDF always uses the ShapeRange object when working with Shapes. Use function _PPT_ShapeRangeSet to specify the Shapes to process.
* Use function _PPT_Close to shutdown PowerPoint or to release the connection to a running instance.
* Use function _PPT_Close as the last step in your script to shutdown PowerPoint or to release the connection to a running instance.


=== PowerPoint ===
=== PowerPoint ===

Revision as of 07:34, 1 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.
    • For details please check the description of the specific function.
    • The UDF always uses the SlideRange object when working with Slides. Use function _PPT_SlideRangeSet to specify the Slides to process.
  • Some functions allow to process just a single Shape and others allow a range of Shapes.
    • For details please check the description of the specific function.
    • The UDF always uses the ShapeRange object when working with Shapes. Use function _PPT_ShapeRangeSet to specify the Shapes to process.
  • 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
  • An event is an activity that lasts 24 hours or longer.
  • An appointment is an activity that does not involve reserving resources or inviting other people.
  • A meeting is an appointment for which you reserve a period of time, invite people to, or reserve resources.

A more detailed description of this terms can be found here.

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