SlideShow.GetCurrentSlide

number SlideShow.GetCurrentSlide (

string ObjectName )

Description

Returns the index of the current slide in a slideshow object.

Parameters

ObjectName

(string) The name of the slideshow object.

Returns

(number) The 1-based index of the current slide in the slideshow object. If an error occurs, or there are no slides in the object, -1 is returned. You can use Application.GetLastError to determine whether this action failed, and why.

ResultVariable

When adding an action with the script editor, you can use this field to specify a variable that the return value will be stored in.

See also: Related Actions