In this example, slideStatus will contain the return value of true or false. For a Slideshow object named Slideshow 1, use the following syntax:
var slideStatus = Slideshow_1.IsPlaying()