Page 1 of 1

How Can I Get Powerpoint Current Slidenumber as Variable

Posted: Fri Mar 22, 2019 9:47 am
by pckopat0699
How Can I Get Powerpoint Current Slidenumber as Variable in robotask?

Re: How Can I Get Powerpoint Current Slidenumber as Variable

Posted: Tue Mar 26, 2019 8:02 am
by Oleg
I'm afraid that no. RoboTask has not direct interface for PowerPoint.
Maybe this is possible by using VB Script or JS Script.
But it's necessary to learn the object model of Powerpoint.

Re: How Can I Get Powerpoint Current Slidenumber as Variable

Posted: Tue Mar 26, 2019 3:27 pm
by Rukbunker
Just my 2 cents: what you CAN do is after every change of a slide by a keystroke (F5 or arrow right) increasing a counter variable. (Be ware of animations in your slide!)
The total number of slides by the way is in the META file info of the file.
screen.png
screen.png (9.07 KiB) Viewed 7954 times

Re: How Can I Get Powerpoint Current Slidenumber as Variable

Posted: Tue Mar 26, 2019 3:38 pm
by Oleg
The total number of slides by the way is in the META file info of the file.
Yes of course, but it seems pckopat0699 wants to save the current slide number

Re: How Can I Get Powerpoint Current Slidenumber as Variable

Posted: Tue Mar 26, 2019 3:50 pm
by Rukbunker
I know. Thatshwy I answered
Just my 2 cents: what you CAN do is after every change of a slide by a keystroke (F5 or arrow right) increasing a counter variable. (Be ware of animations in your slide!)
The other remark is just for extra info. To learn, or to give extra idea's.